/* Base and variables */
:root {
  --bg: #050a18;
  --bg-elev: #0f1530;
  --card: #121937;
  --text: #e7ebff;
  --muted: #a8b2d8;
  --brand: #6aa0ff;
  --brand-2: #7ee0ff;
  --accent: #1c2448;
  --success: #36d399;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --glow-deep: rgba(80, 140, 255, 0.15);
  --glow-light: rgba(126, 224, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu,
    Cantarell, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(
      1200px 700px at 80% -10%,
      var(--glow-light),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 10% 0%,
      var(--glow-deep),
      transparent 60%
    ),
    var(--bg);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-title {
  font-size: 30px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.6px;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--brand);
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.primary-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
}

.primary-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  color: #0b1020;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
  border: 0;
  cursor: pointer;
  min-height: 44px;
  transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-sm {
  padding: 8px 12px;
  font-weight: 700;
  min-height: 40px;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 16px;
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
  margin: 5px 0;
  transition: 0.3s ease;
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
  --hero-bg-y: 0px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(
      120deg,
      rgba(5, 10, 24, 0.95),
      rgba(5, 10, 24, 0.82),
      rgba(5, 10, 24, 0.6)
    ),
    url("photoasd.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* cleaned up bottom overlay: no noise texture, smooth blend into page bg */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 120px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(5, 10, 24, 0), #050a18);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(32px, 5.4vw, 56px);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-title-emphasis {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.7;
  max-width: 40rem;
}

.hero-visual {
  position: relative;
}

.blob {
  position: absolute;
  inset: -40px -40px -40px -80px;
  background: radial-gradient(
    420px 320px at 20% 0%,
    var(--glow-light),
    transparent 60%
  );
  filter: blur(20px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(
      320px 220px at 10% 0%,
      rgba(126, 224, 255, 0.18),
      transparent 70%
    ),
    rgba(12, 18, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  width: 100%;
  transform-origin: center;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

.hero-media-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(0.9);
  transform: scale(1.03);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.hero-media-overlay-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      rgba(5, 10, 24, 0.9),
      rgba(16, 26, 64, 0.96)
    );
  border: 1px solid rgba(126, 224, 255, 0.5);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(11, 193, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 260px;
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

.hero-media-overlay-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-overlay-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-overlay-metrics {
  display: grid;
  gap: 6px;
}

.hero-overlay-metric {
  display: grid;
  gap: 2px;
}

.hero-overlay-metric .metric-label {
  font-size: 12px;
  color: var(--muted);
}

.hero-overlay-metric .metric-value {
  font-size: 13px;
  font-weight: 600;
}

.hero-media:hover {
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);
  border-color: rgba(126, 224, 255, 0.75);
}

.hero-media:hover .hero-media-image {
  transform: scale(1.06) translateY(-4px);
  filter: saturate(1.15) contrast(1.1) brightness(0.95);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.hero-meta-item {
  padding: 10px 14px;
  border-radius: 999px;
  background: radial-gradient(
      120px 120px at 0 0,
      var(--glow-light),
      transparent
    ),
    rgba(18, 25, 55, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.hero-meta-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero-meta-value {
  font-size: 13px;
}

.hero-meta-item:hover {
  background:
    radial-gradient(
      140px 140px at 0 0,
      rgba(126, 224, 255, 0.24),
      transparent
    ),
    rgba(22, 30, 66, 0.96);
  border-color: rgba(126, 224, 255, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

/* Hero CTA */
.btn-hero-primary {
  position: relative;
  padding-inline: 26px;
  border-radius: 999px;
  background:
    linear-gradient(
      140deg,
      rgba(5, 10, 24, 0.9),
      rgba(16, 26, 64, 0.98)
    );
  color: var(--text);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(126, 224, 255, 0.4);
  border: 1px solid rgba(126, 224, 255, 0.55);
  overflow: hidden;
}

.btn-hero-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      120% 180% at 0 0,
      rgba(106, 160, 255, 0.38),
      transparent 55%
    ),
    radial-gradient(
      160% 220% at 100% 100%,
      rgba(126, 224, 255, 0.45),
      transparent 60%
    );
  opacity: 0.32;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.btn-hero-primary:hover::before {
  opacity: 0.6;
  transform: translate3d(0, -4px, 0);
}

.btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(126, 224, 255, 0.7),
    0 0 40px rgba(126, 224, 255, 0.6);
}

.btn-hero-primary:active {
  transform: translateY(0) scale(0.99);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(126, 224, 255, 0.5);
}

/* Sectors */
.sectors {
  position: relative;
}

.section-header {
  max-width: 640px;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.sector-card {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)
    );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
  outline: none;
}

.sector-card:hover,
.sector-card:focus-visible {
  transform: translateY(-6px);
  background:
    linear-gradient(
      150deg,
      rgba(122, 209, 255, 0.14),
      rgba(255, 255, 255, 0.03)
    );
  border-color: rgba(122, 209, 255, 0.6);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.55);
}

.sector-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.sector-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.sector-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--brand-2);
  margin-bottom: 10px;
  background:
    radial-gradient(
      120% 120% at 0 0,
      rgba(126, 224, 255, 0.35),
      transparent
    ),
    rgba(18, 25, 55, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sector-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(28, 36, 72, 0.9);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.sector-card-cta::after {
  content: "↗";
  font-size: 11px;
  opacity: 0.7;
}

.sector-card-cta:hover {
  background: rgba(35, 46, 92, 0.98);
  transform: translateY(-1px);
}

/* Cases / Projects */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.case-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.case-image {
  height: 140px;
  background: linear-gradient(
    135deg,
    rgba(106, 160, 255, 0.1),
    rgba(126, 224, 255, 0.05)
  );
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-placeholder {
  font-size: 32px;
  opacity: 0.7;
}

.case-content {
  padding: 20px;
}

.case-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: flex-start;
}

.contact-intro p {
  color: var(--muted);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}

.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
}

.contact-item-full {
  grid-column: 1 / -1;
}

.contact-item .icon {
  font-size: 18px;
  line-height: 1;
}

.contact-item .text {
  color: var(--text);
  line-height: 1.7;
}

.contact-item .label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.map-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-card > div {
  border-radius: 10px;
  overflow: hidden;
}

/* Contact form */
.contact-form {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0d1430;
  color: var(--text);
  outline: none;
  min-height: 44px;
  font-family: inherit;
  font-size: 14px;
}

input::placeholder,
textarea::placeholder {
  color: #7180b6;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(106, 160, 255, 0.2);
}

textarea {
  line-height: 1.6;
  resize: vertical;
}

.contact .submit {
  margin-top: 10px;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

/* Footer */
.site-footer {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 16, 32, 0.6);
  backdrop-filter: blur(8px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Sector modals */
body.modal-open {
  overflow: hidden;
}

.sector-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}

.sector-modal.active {
  display: flex;
}

.sector-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 18, 0.74);
  backdrop-filter: blur(16px);
}

.sector-modal-dialog {
  position: relative;
  width: min(900px, 92vw);
  max-height: min(640px, 90vh);
  border-radius: 20px;
  background:
    radial-gradient(
      140% 140% at 0 0,
      rgba(126, 224, 255, 0.18),
      transparent
    ),
    rgba(12, 18, 40, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.sector-modal.active .sector-modal-dialog {
  opacity: 1;
  transform: translateY(0);
}

.sector-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: rgba(12, 18, 40, 0.82);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sector-modal-close:hover {
  background: rgba(26, 37, 79, 0.98);
  color: var(--text);
  transform: translateY(-1px);
}

.sector-modal-banner {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Banner variations (abstract gradients / overlays) */
.sector-modal-banner--coal {
  background-image: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.8),
      rgba(40, 40, 40, 0.4)
    ),
    radial-gradient(
      circle at 20% 20%,
      rgba(126, 224, 255, 0.25),
      transparent
    );
}

.sector-modal-banner--manufacturing {
  background-image: linear-gradient(
      135deg,
      rgba(19, 29, 71, 0.95),
      rgba(12, 18, 40, 0.9)
    ),
    url("photos/coal.jpg");
     background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.sector-modal-banner--logistics {
  background-image: linear-gradient(
      135deg,
      rgba(7, 12, 30, 0.95),
      rgba(19, 29, 71, 0.9)
    ),
    radial-gradient(
      260px 260px at 0 100%,
      rgba(126, 224, 255, 0.35),
      transparent
    );
}

.sector-modal-banner--energy {
  background-image: linear-gradient(
      135deg,
      rgba(18, 25, 55, 0.98),
      rgba(255, 204, 0, 0.1)
    ),
    radial-gradient(
      260px 260px at 80% 0,
      rgba(250, 255, 180, 0.3),
      transparent
    );
}

.sector-modal-banner--projects {
  background-image: linear-gradient(
      135deg,
      rgba(18, 25, 55, 0.98),
      rgba(122, 209, 255, 0.18)
    ),
    radial-gradient(
      260px 260px at 20% 100%,
      rgba(126, 224, 255, 0.35),
      transparent
    );
}

.sector-modal-body {
  padding: 22px 22px 20px;
  overflow: auto;
  max-height: calc(min(640px, 90vh) - 180px);
}

.sector-modal-lead {
  margin-top: 6px;
  margin-bottom: 18px;
  color: var(--muted);
}

.sector-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}





.sector-modal-thanks {
  margin-top: 28px;
}

.sector-modal-thanks h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.sector-modal-thanks-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(18,25,55,0.9);
  padding: 10px;
}

.sector-modal-thanks-card img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.sector-modal-thanks-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}







.sector-modal-section {
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: rgba(18, 25, 55, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sector-modal-section h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.sector-modal-section p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.sector-modal-section ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Reveal animations (IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .section {
    padding: 72px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    order: -1;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-media-image {
    height: 260px;
  }

  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .primary-nav {
    position: absolute;
    right: 4%;
    top: 60px;
    background: var(--bg-elev);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px;
    width: min(260px, 92vw);
    box-shadow: var(--shadow);
    display: block;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: transform 240ms ease, opacity 240ms ease;
  }

  .primary-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .primary-nav a {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .sector-modal-dialog {
    max-height: 90vh;
  }

  .sector-modal-body {
    max-height: calc(90vh - 160px);
  }
}

@media (max-width: 600px) {
  body {
    line-height: 1.75;
  }

  .header-inner {
    padding: 10px 0;
  }

  .logo {
    font-size: 18px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 84px 0 56px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-media-image {
    height: 220px;
  }

  .hero-media-overlay-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .btn {
    padding: 14px 18px;
    font-size: 16px;
  }

  .btn-lg {
    padding: 16px 22px;
    font-size: 17px;
  }

  .sector-grid {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 16px;
  }

  .sector-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }

  .primary-nav {
    transition: none;
  }

  .reveal {
    transition: none;
  }
}
