/* ENADD Logistics — design system */
:root {
  --enadd-accent: #e05a2b;
  --enadd-accent-hover: #c94c22;
  --enadd-brand: #1e657f;
  --enadd-brand-dark: #0f3d4f;
  --enadd-ink: #14252e;
  --enadd-muted: #5a6d76;
  --enadd-line: rgba(30, 101, 127, 0.14);
  --enadd-surface: #edf3f6;
  --enadd-surface-deep: #e2ebf0;
  --enadd-white: #ffffff;
  --font-sans: "Figtree", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --radius: 0.35rem;
  --radius-lg: 0.65rem;
  --shadow-soft: 0 1.25rem 2.5rem rgba(15, 61, 79, 0.08);
  --nav-h: 4.5rem;
  --container: 72rem;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  color: var(--enadd-ink);
  background: var(--enadd-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.scroll-anchor {
  scroll-margin-top: 6.5rem;
}

/* —— Brand utilities —— */
.text-brand {
  color: var(--enadd-brand) !important;
}

.text-accent {
  color: var(--enadd-accent) !important;
}

.bg-brand {
  background-color: var(--enadd-brand) !important;
}

.link-brand {
  color: var(--enadd-brand);
  text-decoration: none;
  font-weight: 600;
}

.link-brand:hover {
  color: var(--enadd-brand-dark);
  text-decoration: underline;
}

.btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--enadd-accent);
  --bs-btn-border-color: var(--enadd-accent);
  --bs-btn-hover-bg: var(--enadd-accent-hover);
  --bs-btn-hover-border-color: var(--enadd-accent-hover);
  --bs-btn-focus-shadow-rgb: 224, 90, 43;
  --bs-btn-active-bg: #b5441c;
  --bs-btn-active-border-color: #b5441c;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  padding-inline: 1.35rem;
}

.btn-outline-light,
.btn-outline-secondary {
  border-radius: var(--radius);
  font-weight: 600;
}

.btn-ghost-light {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.65rem 1.35rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* —— Navigation —— */
.navbar-enadd {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  min-height: var(--nav-h);
}

.navbar-enadd.navbar-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--enadd-line);
  box-shadow: 0 0.5rem 1.5rem rgba(15, 61, 79, 0.06) !important;
}

.navbar-enadd .navbar-brand {
  color: var(--enadd-brand);
}

.navbar-enadd .brand-logo {
  display: block;
  height: auto;
  max-height: 44px;
  max-width: min(200px, 68vw);
  width: auto;
  object-fit: contain;
}

.navbar-enadd .navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem !important;
  border-radius: var(--radius);
  color: rgba(20, 37, 46, 0.78) !important;
  transition: color 0.15s ease, background 0.15s ease;
}

.navbar-enadd .navbar-nav .nav-link:hover,
.navbar-enadd .navbar-nav .nav-link:focus {
  color: var(--enadd-brand) !important;
  background-color: rgba(30, 101, 127, 0.07);
}

.navbar-enadd .navbar-nav .nav-link.active {
  color: var(--enadd-brand-dark) !important;
  font-weight: 700;
}

.navbar-enadd .navbar-toggler {
  border-color: rgba(30, 101, 127, 0.22);
}

.navbar-enadd .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(30, 101, 127, 0.15);
}

/* —— Hero (full-bleed) —— */
.hero {
  --hero-nav-offset: clamp(4.25rem, 12vw, 5.5rem);
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: var(--hero-nav-offset);
  padding-bottom: clamp(2rem, 6vh, 3.5rem);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  background: var(--enadd-brand-dark);
  overflow: hidden;
  color: #fff;
}

.hero--page {
  min-height: min(72vh, 38rem);
  min-height: min(72svh, 38rem);
  justify-content: flex-end;
}

.hero-media {
  position: absolute;
  /* Oversized so pointer parallax never reveals edges */
  inset: -12%;
  z-index: 0;
}

.hero-media img,
.hero-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  animation: heroKen 18s ease-out forwards;
}

/* Fixed full-bleed veil — sits above the photo, does not move with parallax */
.hero-media__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(10, 36, 48, 0.88) 0%,
      rgba(15, 61, 79, 0.72) 42%,
      rgba(15, 61, 79, 0.5) 70%,
      rgba(15, 61, 79, 0.38) 100%
    ),
    linear-gradient(to top, rgba(10, 36, 48, 0.6) 0%, transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  max-width: var(--container);
  padding-bottom: clamp(1rem, 3vh, 2rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 6.5vw, 4.75rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: #fff;
  text-wrap: balance;
}

.hero-brand span {
  display: block;
  font-size: 0.28em;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.55rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin: 0 0 1rem;
  color: #fff;
  text-wrap: balance;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-parallax {
  will-change: transform;
  transition: transform 0.35s ease-out;
}

@keyframes heroKen {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

.hero-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-reveal--delay-1 {
  animation-delay: 0.12s;
}
.hero-reveal--delay-2 {
  animation-delay: 0.24s;
}
.hero-reveal--delay-3 {
  animation-delay: 0.36s;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Sections —— */
.section-surface {
  background-color: var(--enadd-surface);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--enadd-accent);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--enadd-brand-dark);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.section-copy {
  color: var(--enadd-muted);
  max-width: 40rem;
  margin-bottom: 0;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.85) !important;
}

.letter-spacing {
  letter-spacing: 0.08em;
}

/* —— Profile / values (no cards) —— */
.value-row {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--enadd-line);
}

.value-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--enadd-line);
}

@media (min-width: 768px) {
  .value-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: none;
  }

  .value-item {
    padding: 0 1.75rem;
    border-bottom: none;
    border-left: 1px solid var(--enadd-line);
  }

  .value-item:first-child {
    padding-left: 0;
    border-left: none;
  }

  .value-item:last-child {
    padding-right: 0;
  }
}

.value-item__index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--enadd-accent);
  margin-bottom: 0.65rem;
}

.value-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--enadd-brand-dark);
  margin-bottom: 0.5rem;
}

.value-item p {
  color: var(--enadd-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* —— Legacy feature tiles (about page etc.) —— */
.feature-tile {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  transition: none;
}

.feature-tile:hover {
  transform: none;
  box-shadow: none;
}

.icon-circle {
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--enadd-accent);
  background: none;
  margin-bottom: 0.5rem;
  justify-content: flex-start;
}

.feature-grid {
  display: grid;
  gap: 1.75rem 2rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-grid .feature-tile {
  padding-top: 0.25rem !important;
}

/* —— Capabilities / metrics —— */
.capability-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(224, 90, 43, 0.16), transparent 50%),
    linear-gradient(145deg, var(--enadd-brand-dark) 0%, var(--enadd-brand) 55%, #2a7a98 100%);
  color: #fff;
}

.metric-strip {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .metric-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.metric {
  text-align: left;
}

@media (min-width: 768px) {
  .metric {
    padding: 0 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .metric:first-child {
    padding-left: 0;
    border-left: none;
  }
}

.metric__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  display: block;
  margin-bottom: 0.35rem;
}

.metric__value.text-accent,
.metric .stat-number {
  color: #ffb089 !important;
}

.metric__label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 14ch;
}

.metric-strip--light .metric {
  border-left-color: var(--enadd-line);
}

.metric-strip--light .metric__value {
  color: var(--enadd-brand-dark);
}

.metric-strip--light .metric__value.text-accent,
.metric-strip--light .metric .stat-number.text-accent {
  color: var(--enadd-accent) !important;
}

.metric-strip--light .metric__label {
  color: var(--enadd-muted);
  max-width: none;
}

.capability-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}

.capability-photos figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
}

.capability-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.capability-photos figure:hover img {
  transform: scale(1.04);
}

.stat-pill {
  backdrop-filter: none;
}

.stat-pill.stat-pill--capability {
  min-height: auto;
  display: block;
  text-align: left;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.stat-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-display);
}

.management-glow {
  display: none;
}

/* —— Service modules —— */
.service-card {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  transition: none;
}

.service-card:hover {
  border-color: transparent !important;
  box-shadow: none !important;
}

.service-browse-card__media,
#serviceCardGrid .service-browse-card__media,
.service-browse-cards .service-browse-card__media {
  flex: 0 0 auto;
  border: none;
  background: var(--enadd-surface-deep);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

#serviceCardGrid .service-browse-card__img,
.service-browse-cards .service-browse-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-browse-card__img {
  transform: scale(1.04);
}

.service-browse-card__body {
  padding-top: 1rem;
}

.service-browse-card__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--enadd-brand-dark);
  margin-bottom: 0.35rem;
}

.catalogue-panel {
  border-top: 1px solid var(--enadd-line);
  padding-top: 2.5rem;
  margin-top: 1rem;
}

.catalogue-card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.service-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--enadd-muted);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 1px;
  background: var(--enadd-accent);
}

/* Service filters — tab style, not pills */
.service-filters .service-filter-btn {
  border-radius: var(--radius);
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--enadd-muted);
  background: transparent;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.service-filters .service-filter-btn:hover {
  transform: none;
  color: var(--enadd-brand);
  border-bottom-color: rgba(30, 101, 127, 0.35);
}

.service-filters .service-filter-btn.active {
  background: transparent;
  border-bottom-color: var(--enadd-accent);
  color: var(--enadd-brand-dark);
  box-shadow: none;
}

.service-col {
  transition: opacity 0.35s ease, transform 0.35s ease;
  scroll-margin-top: 6.5rem;
}

.service-col.is-filtered-out {
  display: none !important;
}

#serviceCardGrid .service-col.service-col--last-centered {
  margin-inline: auto;
}

/* —— Gallery —— */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .gallery-grid {
    gap: 1rem;
  }
}

.media-card {
  margin: 0;
  border-radius: var(--radius-lg);
  border: none;
  background: transparent;
  overflow: hidden;
  box-shadow: none;
  position: relative;
}

.media-card__media {
  height: clamp(160px, 20vw, 240px);
  background: var(--enadd-surface-deep);
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.media-card__media::after {
  content: none;
}

.media-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 2.25rem 0.9rem 0.75rem;
  color: #fff;
  border: none;
  background: linear-gradient(to top, rgba(10, 36, 48, 0.75), transparent);
}

.media-card:hover,
.media-card:focus-within {
  transform: none;
  box-shadow: none;
}

.media-card:hover .media-card__media img,
.media-card:focus-within .media-card__media img {
  transform: scale(1.05);
  filter: none;
}

/* —— CTA band —— */
.cta-band {
  background: var(--enadd-brand-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 80% at 90% 50%,
    rgba(224, 90, 43, 0.22),
    transparent 60%
  );
  pointer-events: none;
}

/* —— Contact —— */
.form-control {
  border-radius: var(--radius);
  border-color: rgba(30, 101, 127, 0.22);
  padding: 0.7rem 0.9rem;
}

.form-control:focus {
  border-color: var(--enadd-brand);
  box-shadow: 0 0 0 0.2rem rgba(30, 101, 127, 0.18);
}

.required-asterisk {
  color: #c0392b;
  font-weight: 700;
  margin-left: 0.15rem;
}

.enquiry-panel {
  background: var(--enadd-white);
  border: 1px solid var(--enadd-line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.enquiry-panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--enadd-brand-dark);
  margin-bottom: 0.35rem;
}

@media (min-width: 992px) {
  .enquiry-panel {
    padding: 2.25rem;
  }
}

.contact-block p {
  line-height: 1.6;
}

.contact-dept {
  padding: 1rem 0;
  border-bottom: 1px solid var(--enadd-line);
}

.contact-dept:last-of-type {
  border-bottom: none;
}

.contact-dept__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--enadd-accent);
  margin-bottom: 0.35rem;
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: min(480px, 65vh);
  background: var(--enadd-surface-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-illustration {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
  min-height: 200px;
  border: none;
  background: var(--enadd-surface-deep);
}

.contact-illustration__img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

#contact .contact-tel-link,
#contact .contact-tel-link:hover,
#contact .contact-tel-link:focus {
  text-decoration: none;
}

#contact .contact-tel-link:hover,
#contact .contact-tel-link:focus {
  opacity: 0.92;
}

.ops-aside {
  border-left: 3px solid var(--enadd-accent);
  padding-left: 1.25rem;
}

.ops-aside img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* —— About ops media —— */
.ops-media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ops-media-pair img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

/* —— Footer —— */
.site-footer {
  background: var(--enadd-brand-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.site-footer__tag {
  font-size: 0.9rem;
  max-width: 22rem;
  margin-bottom: 0;
}

.site-footer__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.85rem;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li + li {
  margin-top: 0.45rem;
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* —— Motion / interaction —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  --reveal-delay: 0.08s;
}
.reveal-delay-2 {
  --reveal-delay: 0.16s;
}
.reveal-delay-3 {
  --reveal-delay: 0.24s;
}

.tilt-card {
  transform: none !important;
}

.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1030;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--enadd-line);
  background: #fff;
  color: var(--enadd-brand);
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s,
    border-color 0.2s ease, color 0.2s ease;
}

.btn-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-to-top:hover {
  border-color: var(--enadd-accent);
  color: var(--enadd-accent);
}

/* Soft image hover (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .img-alive {
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .img-alive:hover {
    transform: scale(1.02);
    filter: none;
  }

  .hero-media .img-alive:hover,
  .brand-logo.img-alive:hover {
    transform: none;
  }
}

/* —— Responsive refinements (phone / tablet / iPad) —— */
@media (max-width: 1199.98px) {
  .hero-title {
    max-width: 34ch;
  }
}

@media (max-width: 991.98px) {
  .navbar-enadd {
    backdrop-filter: blur(10px);
  }

  .navbar-enadd .navbar-brand {
    padding-block: 0.15rem !important;
  }

  .navbar-enadd .brand-logo {
    max-height: 40px;
    max-width: min(180px, 62vw);
  }

  .navbar-enadd .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.9rem;
    border: 1px solid var(--enadd-line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .navbar-enadd .navbar-nav .nav-link {
    padding-inline: 0.65rem !important;
  }

  .hero {
    min-height: 88svh;
    min-height: 88dvh;
    padding-top: clamp(4.4rem, 12vw, 5rem);
    padding-bottom: 1.75rem;
  }

  .hero--page {
    min-height: 62svh;
    min-height: 62dvh;
  }

  .hero-brand {
    font-size: clamp(2rem, 9vw, 3.05rem);
    margin-bottom: 0.85rem;
  }

  .hero-brand span {
    letter-spacing: 0.16em;
    margin-top: 0.45rem;
  }

  .hero-title {
    font-size: clamp(1.2rem, 4.7vw, 1.65rem);
    max-width: 30ch;
  }

  .hero-lead {
    font-size: 1rem;
    max-width: 34rem;
    margin-bottom: 1.35rem;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .hero-actions .btn,
  .hero-actions .btn-ghost-light {
    min-width: min(230px, 100%);
    text-align: center;
  }

  .section-title {
    font-size: clamp(1.45rem, 4.5vw, 2rem);
  }

  .metric-strip {
    gap: 1.2rem;
  }

  .metric {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .metric:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .metric-strip--light .metric {
    border-bottom-color: var(--enadd-line);
  }

  .metric__label {
    max-width: 100%;
  }

  .service-filters {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
  }

  .service-filters .service-filter-btn {
    flex: 0 0 auto;
  }

  .service-browse-card__body {
    padding-top: 0.8rem;
  }

  .site-footer {
    padding: 2.8rem 0 1.7rem;
  }

  .site-footer__bottom {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-inner,
  .section-surface .container,
  .bg-white .container,
  .capability-band .container,
  .cta-band .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-media {
    inset: -16%;
  }

  .hero {
    min-height: 82svh;
    min-height: 82dvh;
    padding-top: 4.45rem;
    padding-bottom: 1.4rem;
  }

  .hero--page {
    min-height: 56svh;
    min-height: 56dvh;
  }

  .hero-title {
    max-width: 24ch;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1.1rem;
  }

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

  .hero-actions .btn,
  .hero-actions .btn-ghost-light {
    width: 100%;
  }

  .section-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .value-item {
    padding: 1.15rem 0;
  }

  .capability-photos,
  .gallery-grid,
  .ops-media-pair {
    grid-template-columns: 1fr;
  }

  .map-embed {
    aspect-ratio: 16 / 11;
  }

  .enquiry-panel {
    padding: 1.2rem;
  }

  .enquiry-panel__title {
    font-size: 1.2rem;
  }

  .site-footer__tag {
    max-width: none;
  }

  .site-footer .col-6 {
    width: 50%;
  }

  .btn-to-top {
    right: 0.8rem;
    bottom: 0.8rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-enadd .navbar-collapse {
    padding: 0.8rem;
  }

  .hero-brand {
    font-size: clamp(1.8rem, 11vw, 2.45rem);
  }

  .hero-title {
    font-size: clamp(1.08rem, 5.7vw, 1.35rem);
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: clamp(1.25rem, 6.4vw, 1.65rem);
  }

  .service-list li {
    padding-left: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-media__img {
    animation: none !important;
    transform: none !important;
  }

  .media-card__media img,
  .capability-photos img,
  .service-browse-card__img,
  .img-alive {
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }

  .hero-reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .hero-parallax {
    transition: none !important;
  }
}
