/* Inner page layouts */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 5.5rem)) 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--color-bg-soft);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.55;
  pointer-events: none;
}

.page-hero--dark {
  background: #05070a;
  color: var(--color-white);
  min-height: clamp(280px, 42vh, 420px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

.page-hero--dark::before {
  display: none;
}

.page-hero--dark .page-hero__title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  color: var(--color-white);
}

.page-hero--dark .page-hero__lead,
.page-hero--cinema .page-hero__lead {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero--dark .eyebrow::before,
.page-hero--cinema .eyebrow::before {
  background: var(--color-accent);
}

.page-hero--dark .btn--ghost,
.page-hero--cinema .btn--ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.42);
}

.page-hero--dark .btn--ghost:hover,
.page-hero--cinema .btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.page-hero--dark .btn--primary,
.page-hero--cinema .btn--primary {
  background: var(--color-white);
  color: var(--color-black);
}

.page-hero--cinema {
  min-height: clamp(420px, 62vh, 620px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: #05070a;
  color: var(--color-white);
}

.page-hero--cinema::before {
  display: none;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img,
.page-hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.35) 0%, rgba(5, 7, 10, 0.82) 72%, rgba(5, 7, 10, 0.94) 100%);
}

.page-hero--cinema .page-hero__inner {
  max-width: 56rem;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.section-head .section-title {
  margin: 0.75rem 0 0.85rem;
}

.section-head .section-copy {
  margin: 0;
}

.page-hero--compact {
  padding: calc(var(--header-h) + 1.75rem) 0 2rem;
  min-height: auto;
  background: var(--color-bg-soft);
}

.page-hero--compact::before {
  opacity: 0.35;
}

.page-hero--compact .page-hero__inner {
  max-width: 48rem;
}

.page-hero--compact .page-hero__title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin: 0.65rem 0 0.75rem;
  line-height: 1.08;
}

.page-hero--compact .page-hero__lead {
  max-width: 40rem;
  font-size: 1.02rem;
}

.page-hero--compact .page-hero__actions {
  display: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: none;
  width: min(100% - (var(--gutter) * 2), var(--container));
  padding-left: 0;
  text-align: left;
}

.page-hero__title {
  margin: 0.85rem 0 1rem;
  font-size: var(--font-size-display);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero__lead {
  max-width: 42rem;
  font-size: 1.08rem;
  color: var(--color-muted);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.page-section {
  padding: var(--section-y) 0;
  background: var(--color-white);
}

.page-section--soft {
  background: var(--color-bg-soft);
}

.page-section--dark {
  background: #05070a;
  color: var(--color-white);
}

.page-section--dark .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.page-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.page-split--reverse .page-split__media {
  order: 2;
}

.page-split__media {
  overflow: hidden;
  border-radius: var(--radius-media);
}

.page-split__media img,
.page-split__media picture,
.page-split__media video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-media);
}

.page-split__content .section-title {
  margin: 0.75rem 0 1rem;
}

.page-split__content p + p {
  margin-top: 1rem;
  color: var(--color-muted);
}

/* About — people & guarantees */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.people-card {
  padding: 1.5rem 1.35rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  border-top: 3px solid var(--color-accent);
}

.people-card h3 {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.people-card p {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.guarantee-card {
  padding: 1.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.guarantee-card__num {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
}

.guarantee-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.guarantee-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* Services — pillars & sectors */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.pillar-card {
  padding: 1.6rem 1.45rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.pillar-card__num {
  color: var(--color-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 0.55rem;
}

.pillar-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pillar-card__intro {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.pillar-card__list {
  display: grid;
  gap: 0.4rem;
}

.pillar-card__list li {
  position: relative;
  padding-left: 1rem;
  color: var(--color-faint);
  font-size: 0.86rem;
}

.pillar-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sector-card {
  padding: 1.45rem 1.3rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.sector-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.sector-card__stat {
  color: var(--color-accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.sector-card h3 {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.sector-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Insights — featured */
.featured-insight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.featured-insight__media {
  overflow: hidden;
  border-radius: 18px;
}

.featured-insight__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.featured-insight__tag {
  color: var(--color-accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.featured-insight__body .section-title {
  margin-bottom: 0.85rem;
}

/* Tools — tech list */
.tech-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.tech-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.tech-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Contact — reasons */
.contact-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-reason {
  padding: 1.35rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  border-left: 3px solid var(--color-accent);
}

.contact-reason h3 {
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-reason p {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.contact-info__card--accent {
  border-color: var(--color-accent-dim);
  background: var(--color-accent-dim);
}

.contact-info__card--accent .btn {
  margin-top: 0.85rem;
}

.contact-page-form .enquiry .eyebrow {
  margin-bottom: 0.35rem;
}

/* About — values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  padding: 1.6rem 1.4rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.value-card__num {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
}

.value-card h3 {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-card p {
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* About — story block */
.story-block {
  max-width: 52rem;
  margin-top: 2.5rem;
}

.story-block p + p {
  margin-top: 1.1rem;
  color: var(--color-muted);
}

.story-block__quote {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  border-left: 3px solid var(--color-accent);
  background: var(--color-accent-dim);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text);
}

/* Services — detailed cards */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-detail {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-detail:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.service-detail__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.service-detail__media video,
.service-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail__body {
  padding: 1.5rem 1.4rem 1.6rem;
}

.service-detail__num {
  color: var(--color-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
}

.service-detail h3 {
  margin-bottom: 0.65rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-detail p {
  color: var(--color-muted);
  font-size: 0.94rem;
  margin-bottom: 0.9rem;
}

.service-detail ul {
  display: grid;
  gap: 0.35rem;
}

.service-detail li {
  position: relative;
  padding-left: 1rem;
  color: var(--color-faint);
  font-size: 0.86rem;
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.service-more {
  margin-top: 2.5rem;
  padding: 1.6rem;
  background: var(--color-bg-soft);
  border-radius: 16px;
}

.service-more h3 {
  margin-bottom: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-more__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.service-more__tags span {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* Insights — article grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

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

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.insight-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.insight-card:hover .insight-card__media img {
  transform: scale(1.04);
}

.insight-card__body {
  padding: 1.3rem 1.25rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-card__tag {
  color: var(--color-accent);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.insight-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.insight-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
  flex: 1;
}

.insight-card__link {
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
}

.featured-insight--link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.featured-insight--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.insight-article {
  max-width: 46rem;
}

.insight-article__media {
  margin-bottom: 2rem;
  border-radius: var(--radius-media);
  overflow: hidden;
}

.insight-article__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-media);
}

.insight-article__body p {
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.insight-article__body p + p {
  margin-top: 1.15rem;
}

.insight-article__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* Tools — resource cards */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.tool-card {
  padding: 1.6rem 1.4rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  transition: transform var(--transition), border-color var(--transition);
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.tool-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--color-accent-dim);
  color: var(--color-accent-strong);
  font-size: 1.1rem;
  font-weight: 800;
}

.tool-card h3 {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tool-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.tool-card__meta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-faint);
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.2rem;
}

.contact-info__card {
  padding: 1.4rem 1.3rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.contact-info__card h3 {
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.contact-info__card p,
.contact-info__card a {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.contact-info__card a:hover {
  color: var(--color-accent-strong);
}

.contact-page-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.contact-page-form .enquiry {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--color-text);
  color-scheme: light;
}

.contact-page-form .enquiry h3 {
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.contact-page-form .enquiry > p {
  color: var(--color-muted);
}

.contact-page-form .form-field label {
  color: var(--color-faint);
}

.contact-page-form .form-field input,
.contact-page-form .form-field select,
.contact-page-form .form-field textarea {
  color: var(--color-text);
  border-bottom-color: var(--color-border-strong);
}

.contact-page-form .form-check {
  color: var(--color-muted);
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat-item__value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}

.stat-item__label {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-faint);
}

.page-cta {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #05070a;
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}

.page-cta--cinema .page-cta__inner {
  position: relative;
  z-index: 2;
}

.page-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 7, 10, 0.78);
}

.page-cta .section-title {
  margin-bottom: 0.75rem;
}

.page-cta p {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-cta .btn--ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.page-cta .btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.page-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-cta .btn--ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.page-cta .btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.page-cta .btn--primary {
  background: var(--color-white);
  color: var(--color-black);
}

.nav__link.is-active {
  color: var(--color-black);
}

.nav__link.is-active::after {
  width: 100%;
}

/* Team */
.team {
  padding: var(--section-y) 0;
  background: var(--color-bg-soft);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  padding: 1.5rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.team-card__avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a1a, #3a3a3a);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.team-card h3 {
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
}

.team-card__role {
  margin-bottom: 0.65rem;
  color: var(--color-accent-strong);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-card__bio {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Testimonials — shared across About, Services, Tools */
.testimonials {
  padding: var(--section-y) 0;
  background: var(--color-white);
  color: var(--color-black);
}

.testimonials--soft {
  background: var(--color-bg-soft);
}

.testimonials .section-title {
  color: var(--color-black);
}

.testimonials .section-copy {
  color: var(--color-muted);
}

.testimonials__viewport {
  overflow: hidden;
  --testimonials-visible: 3;
}

.testimonials__track {
  display: flex;
  gap: 1.25rem;
  transition: transform 520ms var(--ease);
  will-change: transform;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 calc((100% - (1.25rem * (var(--testimonials-visible) - 1))) / var(--testimonials-visible));
  min-width: 0;
  min-height: 280px;
  padding: 2rem 1.8rem;
  background: var(--color-accent-dim);
  border: 1px solid var(--color-line);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.04);
}

.testimonial-card__quote {
  color: var(--color-accent-strong);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-card__text {
  margin-bottom: 1.4rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--color-black);
}

.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
  flex-shrink: 0;
  background: var(--color-tab-active);
}

.testimonial-card__person {
  display: grid;
  gap: 0.12rem;
}

.testimonial-card__meta strong {
  color: var(--color-black);
  font-size: 0.98rem;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.18);
  transition: background var(--transition), transform var(--transition);
}

.testimonials__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.15);
}

@media (max-width: 1023px) {
  .testimonials__viewport {
    --testimonials-visible: 2;
  }
}

@media (max-width: 720px) {
  .testimonials__viewport {
    --testimonials-visible: 1;
  }
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 0.2rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.95rem 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* Contact page */
.contact-page {
  padding: var(--section-y) 0;
  background: var(--color-white);
}

.contact-page__head {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.contact-page__head .section-title {
  margin: 0.75rem 0 0.85rem;
}

.contact-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.contact-page__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.contact-page__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.55rem 1.35rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  flex: 0 0 auto;
}

.contact-page__card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(201, 164, 106, 0.12);
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-page__card h3 {
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.contact-page__card p,
.contact-page__card a {
  color: var(--color-text);
  font-size: 1.12rem;
  line-height: 1.45;
  font-weight: 500;
}

.contact-page__card a:hover {
  color: var(--color-accent);
}

.contact-page__map {
  flex: 1 1 auto;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.contact-page__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

.contact-page__form-wrap {
  background: #05070a;
  border-radius: 22px;
  padding: clamp(1rem, 2.4vw, 1.45rem);
  height: 100%;
}

.enquiry--page {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 1.2rem 1.15rem 1.05rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--color-white);
  color-scheme: dark;
}

.enquiry--page h3 {
  color: var(--color-white);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.enquiry--page > p {
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
}

.enquiry--page > p,
.enquiry--page .form-field label,
.enquiry--page .form-check {
  color: rgba(255, 255, 255, 0.78);
}

.enquiry--page .form-grid {
  gap: 0.7rem 0.85rem;
}

.enquiry--page .form-field input,
.enquiry--page .form-field select,
.enquiry--page .form-field textarea {
  color: var(--color-white);
  border-bottom-color: rgba(255, 255, 255, 0.32);
  padding: 0.5rem 0;
}

.enquiry--page .form-field textarea {
  min-height: 72px;
}

.enquiry--page .form-field option {
  background: #111111;
  color: var(--color-white);
}

/* Single insight layout */
.insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.7fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.insight-article__body p {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.insight-article__body p + p {
  margin-top: 1.1rem;
}

.insight-article__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.insight-sidebar {
  display: grid;
  gap: 1.1rem;
}

.insight-widget {
  padding: 1.25rem 1.2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.insight-widget h3 {
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.insight-widget__search {
  display: grid;
  gap: 0.65rem;
}

.insight-widget__search input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-soft);
}

.insight-widget__list {
  display: grid;
  gap: 0.7rem;
}

.insight-widget__list a {
  display: block;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color var(--transition);
}

.insight-widget__list a:hover {
  color: var(--color-accent);
}

.insight-widget__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.insight-widget__tags a {
  display: inline-flex;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.8rem;
}

.insight-widget--cta {
  background: #05070a;
  color: var(--color-white);
  border-color: transparent;
}

.insight-widget--cta h3 {
  color: var(--color-accent);
}

.insight-widget--cta p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.insight-article__body h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-article__body h3 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1rem;
}

.cms-richtext p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.cms-richtext h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cms-richtext h3,
.cms-richtext h4,
.cms-richtext h5,
.cms-richtext h6 {
  margin: 1.4rem 0 0.5rem;
}

.cms-richtext ul,
.cms-richtext ol {
  margin: 0 0 1rem 1.2rem;
}

.cms-richtext blockquote {
  margin: 1.2rem 0;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--color-accent);
}

.cms-richtext table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.cms-richtext th,
.cms-richtext td {
  border: 1px solid var(--color-border);
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.sv-service .cms-richtext p {
  color: inherit;
}

.insight-myth {
  margin: 1.15rem 0;
  padding: 1.15rem 1.2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 12px;
}

.insight-myth h3 {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.insight-myth p {
  margin: 0;
}

.insight-table-wrap {
  overflow-x: auto;
  margin: 1.4rem 0 1.8rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.insight-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.insight-table th,
.insight-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.insight-table th {
  background: var(--color-bg-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
}

.insight-table tr:last-child td {
  border-bottom: 0;
}

.assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.assessment-card {
  padding: 1.45rem 1.3rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.assessment-card h3 {
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assessment-card li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.assessment-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.assessment-cta {
  margin-top: 2.4rem;
  padding: 1.8rem 1.6rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.assessment-cta h3 {
  margin-bottom: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.assessment-cta p {
  max-width: 46rem;
  margin-bottom: 1.1rem;
  color: var(--color-muted);
}

.service-detail,
#schedule-health,
#planning-scheduling,
#4d-planning,
#project-controls,
#evm,
#pmaas,
#forensic-delay,
#planning-management,
#project-scheduling,
#dashboards {
  scroll-margin-top: 6rem;
}

@media (max-width: 1023px) {
  .page-split,
  .contact-layout,
  .contact-page__layout,
  .featured-insight,
  .insight-layout {
    grid-template-columns: 1fr;
  }

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

  .page-split--reverse .page-split__media {
    order: 0;
  }

  .people-grid,
  .values-grid,
  .stats-strip,
  .contact-reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guarantee-grid,
  .pillar-grid,
  .sector-grid,
  .service-detail-grid,
  .insights-grid,
  .insights-grid--two,
  .tools-grid,
  .assessment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .people-grid,
  .values-grid,
  .stats-strip,
  .team-grid,
  .contact-reasons,
  .guarantee-grid {
    grid-template-columns: 1fr;
  }
}
