/* IBC / DAS service-page layer.
   The approved homepage stylesheet remains the shared visual-system source. */

.service-page main {
  overflow: hidden;
}

.service-page .utility-links a,
.service-page .breadcrumbs a,
.service-page .text-link,
.service-page .service-cta__actions > a:last-child,
.service-page .site-footer a {
  min-height: 44px;
}

.service-page .text-link,
.service-page .site-footer a {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs {
  color: #60778a;
  background: #f7fafc;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.breadcrumbs ol {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #9aabba;
}

.breadcrumbs a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--navy-2);
  font-weight: 650;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 22%, rgba(24, 184, 235, 0.18), transparent 30%),
    linear-gradient(120deg, #061b30 0%, #07375f 58%, #0a517d 100%);
}

.service-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--cyan) 0 18%, var(--blue) 18% 68%, transparent 68%);
}

.service-hero .hero-grid {
  opacity: 0.5;
}

.service-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(54px, 7vw, 104px);
  padding-block: 86px 94px;
}

.service-hero__content h1 {
  max-width: 760px;
  margin: 15px 0 24px;
  color: var(--white);
  font-size: clamp(46px, 5.35vw, 72px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.service-hero__lead {
  max-width: 680px;
  margin: 0;
  color: #d9e9f5;
  font-size: clamp(18px, 1.65vw, 21px);
  line-height: 1.65;
}

.service-hero__reach {
  margin: 18px 0 0;
  color: #9edcf2;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.service-hero .button-row {
  margin-top: 32px;
}

.service-hero__visual {
  position: relative;
  padding: 24px 0 36px 24px;
}

.service-hero__image {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #dce9f1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.service-hero__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 56%, rgba(5, 27, 48, 0.45));
  pointer-events: none;
}

.service-hero__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.service-hero__image .signal-rings {
  top: 17%;
  right: 11%;
}

.service-hero__stat {
  position: absolute;
  right: -26px;
  bottom: 0;
  min-width: 288px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.service-hero__stat svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: var(--cyan-pale);
  border-radius: 50%;
}

.service-hero__stat span,
.service-hero__stat strong {
  display: block;
}

.service-hero__stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-hero__stat strong {
  margin-top: 2px;
  font-size: 17px;
}

.review-strip {
  color: #61420a;
  background: #fff5d9;
  border-block: 1px solid #f1d48b;
}

.review-strip__inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.review-strip strong {
  flex: 0 0 auto;
  padding: 5px 10px;
  color: #fff;
  background: #9a6500;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-strip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.two-column-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 7vw, 100px);
  align-items: start;
}

.two-column-intro .section-heading {
  position: sticky;
  top: 34px;
}

.two-column-intro .section-heading h2 {
  max-width: 470px;
}

.two-column-intro .section-heading p:last-child {
  max-width: 520px;
}

.factor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.factor-card {
  min-height: 246px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid #e0e9ef;
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.factor-card:hover {
  transform: translateY(-4px);
  border-color: #b5d9ea;
  box-shadow: var(--shadow-sm);
}

.factor-card > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.factor-card h3 {
  margin: 34px 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.factor-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.solution-section {
  background: var(--surface);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 46px;
}

.solution-panel {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.solution-panel h3 {
  max-width: 500px;
  margin: 26px 0 14px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.18;
}

.solution-panel > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.solution-panel--dark {
  color: var(--white);
  background: linear-gradient(145deg, #062d50, #0a4877);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.solution-panel--dark > p {
  color: #cfdfeb;
}

.content-required {
  margin-top: auto;
  padding: 17px 18px;
  color: #61420a;
  background: #fff7e2;
  border: 1px solid #efcf7b;
  border-left: 4px solid #be7d00;
  border-radius: 9px;
}

.content-required strong {
  display: block;
  margin-bottom: 4px;
  color: #704b04;
  font-size: 12px;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.content-required p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.content-required--dark {
  color: #ffe7a4;
  background: rgba(255, 199, 71, 0.09);
  border-color: rgba(255, 219, 133, 0.35);
  border-left-color: #ffcc59;
}

.content-required--dark strong {
  color: #ffdc86;
}

.content-required--wide {
  max-width: 930px;
  margin: 36px auto 0;
}

.comparison-note {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 32px;
  margin-top: 26px;
  padding: 25px 28px;
  background: #e8f5fb;
  border: 1px solid #c5e4f2;
  border-radius: var(--radius);
}

.comparison-note > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
}

.comparison-note > div > span {
  grid-row: 1 / span 2;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.comparison-note strong {
  align-self: end;
  font-size: 15px;
}

.comparison-note p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.delivery-process {
  background: var(--white);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.delivery-card {
  position: relative;
  min-height: 350px;
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid #dfe9f0;
  border-radius: var(--radius);
}

.delivery-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: linear-gradient(var(--cyan), var(--blue));
  border-radius: var(--radius) 0 0 var(--radius);
}

.delivery-card__number {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #a8bac7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.delivery-card > svg {
  width: 60px;
  height: 60px;
  padding: 14px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: var(--cyan-pale);
  border-radius: 50%;
}

.delivery-card h3 {
  margin: 72px 0 12px;
  font-size: 23px;
  line-height: 1.25;
}

.delivery-card p {
  margin: 0;
  color: var(--muted);
}

.environments {
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(3, 28, 49, 0.98), rgba(5, 57, 93, 0.95)),
    url("../images/project-quay.jpg") center / cover;
}

.environments__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.environments__content h2 {
  max-width: 560px;
  margin: 14px 0 18px;
  color: var(--white);
  font-size: clamp(36px, 4.4vw, 57px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.environments__content > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 28px;
  color: #cee0ed;
  font-size: 17px;
}

.environment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: rgba(255, 255, 255, 0.15);
  list-style: none;
}

.environment-list li {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  color: #eef7fc;
  background: rgba(4, 42, 70, 0.96);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.environment-list span {
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.environments > .shell:last-child {
  margin-top: 36px;
}

.das-projects {
  background: var(--surface);
}

.das-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.evidence-card {
  overflow: hidden;
  min-height: 480px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.evidence-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.evidence-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.evidence-card a:hover img {
  transform: scale(1.025);
}

.evidence-card a > div,
.evidence-card__notes {
  flex: 1;
  padding: 26px;
}

.evidence-card span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-card h3 {
  margin: 9px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.evidence-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.evidence-card--notes {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #0b507e);
  border-color: transparent;
}

.evidence-card__notes {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.evidence-card--notes span {
  color: var(--cyan);
}

.evidence-card--notes h3 {
  color: var(--white);
}

.evidence-card--notes ul {
  margin: 16px 0 24px;
  padding-left: 20px;
  color: #d2e2ed;
}

.evidence-card--notes .text-link {
  color: var(--white);
}

.faq-section {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 34px;
}

.faq-intro h2 {
  margin: 14px 0 18px;
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.faq-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.faq-intro .text-link {
  margin-top: 18px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 20px 54px 20px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 750;
  line-height: 1.35;
  list-style: none;
}

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

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: translateY(-50%);
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-list details p {
  max-width: 760px;
  margin: -2px 54px 25px 0;
  color: var(--muted);
  font-size: 16px;
}

.faq-list > .content-required {
  margin-top: 24px;
}

.service-cta {
  padding: 0 0 92px;
  background: linear-gradient(180deg, var(--white), var(--surface));
}

.service-cta__inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 60px;
  align-items: center;
  padding: clamp(42px, 6vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 25%, rgba(24, 184, 235, 0.23), transparent 29%),
    linear-gradient(125deg, #06243f, #0a4776);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.service-cta__inner::after {
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  content: "";
  border: 52px solid rgba(24, 184, 235, 0.08);
  border-radius: 50%;
}

.service-cta h2 {
  max-width: 780px;
  margin: 13px 0 14px;
  color: var(--white);
  font-size: clamp(34px, 4.1vw, 55px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.service-cta p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: #d1e2ee;
  font-size: 17px;
}

.service-cta__actions {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  justify-items: stretch;
}

.service-cta__actions > a:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.service-cta__actions > a:last-child svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-cta__actions small,
.service-cta__actions strong {
  display: block;
}

.service-cta__actions small {
  color: #a8cadf;
  font-size: 11px;
  text-transform: uppercase;
}

.related-links {
  padding: 38px 0 46px;
  color: var(--white);
  background: #071d31;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.related-links h2 {
  margin: 0 0 18px;
  color: #9bb2c4;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-links ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-links a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #e2edf4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.related-links a:hover {
  color: var(--cyan);
}

.related-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1120px) {
  .service-hero__inner {
    grid-template-columns: 1fr 0.82fr;
    gap: 48px;
  }

  .service-hero__content h1 {
    font-size: clamp(43px, 5.8vw, 64px);
  }

  .service-hero__image,
  .service-hero__image img {
    height: 470px;
    min-height: 470px;
  }

  .service-hero__stat {
    right: -10px;
  }

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

  .comparison-note > .text-link {
    grid-column: 1 / -1;
  }

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

  .evidence-card--notes {
    grid-column: 1 / -1;
    min-height: 340px;
  }
}

@media (max-width: 900px) {
  .service-hero {
    min-height: auto;
  }

  .service-hero__inner,
  .two-column-intro,
  .environments__inner,
  .faq-layout,
  .service-cta__inner {
    grid-template-columns: 1fr;
  }

  .service-hero__inner {
    padding-block: 68px 84px;
  }

  .service-hero__visual {
    max-width: 680px;
    padding-left: 0;
  }

  .service-hero__stat {
    right: 22px;
  }

  .two-column-intro .section-heading,
  .faq-intro {
    position: static;
  }

  .solution-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .solution-panel {
    min-height: 430px;
  }

  .delivery-card {
    min-height: 270px;
  }

  .delivery-card h3 {
    margin-top: 52px;
  }

  .environment-list {
    max-width: 720px;
  }

  .service-cta__actions {
    justify-items: start;
  }

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

@media (max-width: 640px) {
  .breadcrumbs .shell,
  .service-page .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .breadcrumbs ol {
    overflow-x: auto;
    white-space: nowrap;
  }

  .service-hero__inner {
    gap: 42px;
    padding-block: 54px 72px;
  }

  .service-hero__content h1 {
    margin-top: 12px;
    font-size: clamp(39px, 12vw, 52px);
  }

  .service-hero__lead {
    font-size: 17px;
  }

  .service-hero .button-row,
  .service-hero .button-row .button {
    width: 100%;
  }

  .service-hero__visual {
    padding-bottom: 64px;
  }

  .service-hero__image,
  .service-hero__image img {
    height: 360px;
    min-height: 360px;
  }

  .service-hero__stat {
    right: 14px;
    bottom: 12px;
    left: 14px;
    min-width: 0;
  }

  .review-strip__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 14px;
  }

  .factor-grid,
  .environment-list,
  .das-project-grid,
  .related-links ul {
    grid-template-columns: 1fr;
  }

  .factor-card {
    min-height: 218px;
  }

  .solution-panel {
    min-height: 0;
    padding: 30px 24px;
  }

  .solution-panel .content-required {
    margin-top: 34px;
  }

  .comparison-note {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .comparison-note > .text-link {
    grid-column: auto;
  }

  .delivery-card {
    padding: 28px 24px;
  }

  .environment-list li {
    min-height: 104px;
  }

  .evidence-card,
  .evidence-card--notes {
    min-height: 0;
  }

  .evidence-card img {
    height: 220px;
  }

  .faq-list summary {
    min-height: 76px;
    padding-right: 44px;
  }

  .faq-list details p {
    margin-right: 36px;
  }

  .service-cta {
    padding-bottom: 64px;
  }

  .service-cta__inner {
    gap: 34px;
    padding: 34px 24px;
    border-radius: var(--radius);
  }

  .service-cta__actions,
  .service-cta__actions .button {
    width: 100%;
  }

  .related-links li:last-child a {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .factor-card,
  .evidence-card img,
  .faq-list summary::after {
    transition: none;
  }

  .factor-card:hover,
  .evidence-card a:hover img {
    transform: none;
  }
}

@media print {
  .review-strip,
  .content-required,
  .nav-toggle {
    display: none !important;
  }
}
