/* ==========================================================================
   Propkals — Engineering Services
   ========================================================================== */

.eng-banner {
  position: relative;
  color: #fff;
  min-height: min(74vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #061525;
}

.eng-banner__media {
  position: absolute;
  inset: 0;
}

.eng-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transform: scale(1.05);
  animation: eng-ken 22s ease-in-out infinite alternate;
}

.eng-banner__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 21, 37, 0.28) 0%, rgba(6, 21, 37, 0.88) 100%),
    linear-gradient(100deg, rgba(6, 21, 37, 0.82) 0%, rgba(6, 21, 37, 0.28) 58%, transparent 100%);
}

.eng-banner__frame {
  position: absolute;
  inset: 1.35rem 1.35rem auto auto;
  width: min(26vw, 260px);
  height: min(40vh, 300px);
  border: 1px solid rgba(196, 163, 90, 0.45);
  pointer-events: none;
}

.eng-banner__content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 2.75rem;
  max-width: 780px;
}

.eng-banner__crumbs .breadcrumb {
  margin-bottom: 1.15rem;
}

.eng-banner__crumbs .breadcrumb,
.eng-banner__crumbs .breadcrumb a,
.eng-banner__crumbs .breadcrumb span {
  color: rgba(255, 255, 255, 0.72);
}

.eng-banner__crumbs .breadcrumb a:hover {
  color: var(--gold-soft);
}

.eng-banner__crumbs .breadcrumb li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.38);
}

.eng-banner__eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.eng-banner__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.6vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
}

.eng-banner__lead {
  margin: 0 0 1.45rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.65;
}

.eng-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.eng-banner__ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.eng-banner__ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.eng-banner__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.eng-banner__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 163, 90, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.eng-banner__pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

@keyframes eng-ken {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

/* Intro */
.eng-intro__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eng-intro__copy h2 {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  color: var(--navy);
}

.eng-intro__body {
  color: var(--ink-muted);
  line-height: 1.7;
}

.eng-intro__body p:first-child {
  margin-top: 0;
}

.eng-intro__body ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.eng-intro__points {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.eng-intro__points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-weight: 500;
}

.eng-intro__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

.eng-intro__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--navy);
}

.eng-intro__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.eng-intro__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(6, 21, 37, 0.78);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 163, 90, 0.28);
}

.eng-intro__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.eng-intro__caption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .eng-intro__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

/* Disciplines */
.eng-disciplines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.eng-discipline {
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eng-discipline:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 163, 90, 0.4);
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.1);
}

.eng-discipline__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  border-radius: 10px;
  background: linear-gradient(145deg, #0b1f3a, #16345a);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.eng-discipline h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}

.eng-discipline p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Showcase */
.eng-showcase__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.15rem;
}

.eng-showcase__card {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  background: var(--navy);
}

.eng-showcase__card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.eng-showcase__card:hover img {
  transform: scale(1.04);
}

.eng-showcase__card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.35rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(6, 21, 37, 0.88));
  color: #fff;
}

.eng-showcase__card h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.eng-showcase__card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.eng-showcase__card--wide {
  min-height: 360px;
}

.eng-showcase__card--wide img {
  min-height: 360px;
}

/* Process */
.eng-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.eng-process__item {
  position: relative;
  padding: 1.4rem 1.2rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.eng-process__step {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.eng-process__item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
}

.eng-process__item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Included / benefits */
.eng-split {
  display: grid;
  gap: 1.5rem;
}

.eng-split h2 {
  margin: 0.3rem 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
}

.eng-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.eng-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.08);
  color: var(--ink);
  font-weight: 500;
}

.eng-checklist li::before {
  content: "";
  flex: 0 0 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 4px rgba(11, 31, 58, 0.08);
}

.eng-checklist--gold li::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 163, 90, 0.16);
}

@media (min-width: 800px) {
  .eng-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Related services */
.eng-related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.eng-related__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eng-related__card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 163, 90, 0.4);
  box-shadow: 0 18px 36px rgba(11, 31, 58, 0.12);
}

.eng-related__media {
  aspect-ratio: 4 / 3;
  background: #e8edf4;
  overflow: hidden;
}

.eng-related__media img,
.eng-related__media .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.eng-related__card:hover .eng-related__media img {
  transform: scale(1.05);
}

.eng-related__body {
  padding: 1.05rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.eng-related__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}

.eng-related__body p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
}

.eng-related__cta {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Responsive */
@media (max-width: 1100px) {
  .eng-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eng-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .eng-disciplines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eng-showcase__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .eng-banner {
    min-height: min(68vh, 540px);
  }

  .eng-banner__frame {
    display: none;
  }

  .eng-banner__content {
    padding-top: 4.5rem;
  }

  .eng-banner__media img {
    animation: none;
    transform: scale(1.05);
  }

  .eng-disciplines,
  .eng-process,
  .eng-related {
    grid-template-columns: 1fr;
  }

  .eng-intro__media img {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eng-banner__media img,
  .eng-showcase__card img,
  .eng-related__media img,
  .eng-discipline,
  .eng-related__card {
    animation: none !important;
    transition: none !important;
  }
}
