@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* =========================
   PFC GLOBAL STYLES
   ========================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-panel: #f1f3f5;

  --text: #12161c;
  --text-muted: #626b76;
  --heading: #0d1117;

  --line: #dde2e7;
  --line-strong: #c9d0d7;

  --silver: #bcc3cb;
  --silver-dark: #8e98a3;

  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.09);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;

  --container: min(1280px, calc(100% - 64px));
  --transition: 0.28s ease;
}

/* =========================
   CUSTOM FONT
   ========================= */


/* =========================
   RESET
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
}

section {
  padding: 110px 0;
}

/* =========================
   GLOBAL ELEMENTS
   ========================= */

.container {
  width: var(--container);
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

section {
  padding: 140px 0;
  position: relative;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #192332;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #192332;
}

.section-heading {
  width: 100%;
  text-align: center;
  margin-bottom: 80px;
}

.services-title-h1 {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;

  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #192332;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 700;
  color: var(--heading);
  transition: transform var(--transition), color var(--transition);
}

.text-link:hover {
  color: var(--silver-dark);
  transform: translateX(3px);
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #192332 0%, #192332 100%);
  color: #ffffff;
  border-color: #b9c0c8;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--heading);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--silver-dark);
  background: var(--bg-soft);
}

/* =========================
   SCROLL TO TOP BUTTON
========================= */

.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: rgba(9, 30, 49, 0.92);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 999;

  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.18),
    0 18px 40px rgba(15, 23, 42, 0.12);

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

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

.scroll-top:hover {
  background: #192332;
  transform: translateY(-3px);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.22),
    0 24px 50px rgba(15, 23, 42, 0.16);
}

.scroll-top:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .scroll-top {
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}

html, body, main.about-page {
  overflow: visible !important;
  transform: none !important;
}

/* =========================
   ABOUT PAGE
   ========================= */

.about-kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}

/* Shared wider containers for about sections */
.about-intro-vertical .container,
.about-metrics .container,
.about-timeline-section .container,
.about-presence .container,
.about-principles .container,
.about-services-bridge .container,
.about-vision-section .container {
  width: min(1440px, calc(100% - 72px));
  margin: 0 auto;
}

/* Hero */
.about-hero-minimal {
  padding: 170px 0 100px;
  background: #f3f4f6;
}

.about-hero-minimal__inner {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.about-hero-minimal__title {
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #192332;
}

.about-hero-minimal__text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.04rem;
  line-height: 1.9;
  color: #667083;
}

/* =========================
   INTRO OVERVIEW
   ========================= */

.about-intro-overview.service-page-overview {
  padding-top: 170px;
  padding-bottom: 100px;
}

.about-intro-overview .service-page-overview__bg-shape {
  opacity: 0.18;
  background-position: right -4% center;
  background-size: 900px auto;
  animation: aboutShapeFloat 14s ease-in-out infinite;
}

.about-intro-overview .service-page-overview__content h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
}

.about-intro-overview .service-page-overview__content p:not(.eyebrow) {
  font-weight: 500;
  line-height: 2;
}

/* Statement band */
.about-statement-band__kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}

.about-statement-band__points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.about-statement-band__points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
}

.about-statement-band__points span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
}

/* Metrics */
.about-metrics {
  padding: 0 0 120px;
  background: #f3f4f6;
}

.about-metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.about-metric {
  padding: 52px 34px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(8, 42, 94, 0.06);
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(8, 42, 94, 0.04);
}

.about-metric__number {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #192332;
  font-weight: 700;
}

.about-metric__label {
  display: block;
  font-size: 0.98rem;
  color: #667083;
}

/* Timeline */
.about-timeline-section {
  padding: 100px 0 100px;
  position: relative;
  overflow: hidden;
  background: #192332;
}

.about-timeline-section__video {
  display: none;
}

.about-timeline-section__overlay {
  display: none;
}

.about-timeline-section .container {
  position: relative;
  z-index: 2;
}

.about-timeline-section__heading {
  text-align: center;
  margin: 0 0 80px;
}

.about-timeline-section__heading h2 {
  max-width: 920px;
  margin: 0 auto 24px;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #fff;
}

@media (max-width: 800px) {
  .about-timeline-section__video {
    display: none;
  }

  .about-timeline-section__overlay {
    display: none;
  }

  .about-timeline-section {
    background: #192332;
  }
}

@media (max-width: 768px) {
  .about-timeline-section {
    padding: 72px 0;
  }

  .about-timeline-section__heading {
    margin-bottom: 48px;
  }
}

@media (max-width: 640px) {
  .about-timeline-section {
    padding: 60px 0;
  }

  .about-timeline-section__heading {
    margin-bottom: 36px;
  }

  .about-timeline-section__heading h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

/* ============================
   TIMELINE — HORIZONTAL (desktop)
   ============================ */

.tl-h { display: block; }
.tl-v { display: none; }

.tl-h {
  padding: 0 0 60px;
}

.tl-h__track {
  position: relative;
  padding: 32px 0 0;
}

.tl-h__rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.tl-h__nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.tl-h__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.tl-h__dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.tl-h__node:hover .tl-h__dot,
.tl-h__node.is-active .tl-h__dot {
  background: #ffffff;
  border-color: #ffffff;
  transform: scale(1.3);
}

.tl-h__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.tl-h__node.is-active .tl-h__label {
  color: #ffffff;
}

.tl-h__panels {
  position: relative;
  height: 240px;
  margin-top: 52px;
}

.tl-h__pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.35s cubic-bezier(.16, 1, .3, 1), transform 0.35s cubic-bezier(.16, 1, .3, 1);
}

.tl-h__pane.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tl-h__pane-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.tl-h__pane h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.1;
}

.tl-h__pane p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  margin: 0;
}

@keyframes tl-pane-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================
   TIMELINE — VERTICAL (mobile)
   ============================ */

@media (max-width: 800px) {
  .tl-h { display: none; }
  .tl-v { display: block; }

  .tl-v {
    position: relative;
  }

  .tl-v__line {
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    transform: translateX(-50%);
  }

  .tl-v__item {
    position: relative;
  }

  .tl-v__trigger {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    align-items: center;
    column-gap: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px 0;
    width: 100%;
    text-align: left;
  }

  .tl-v__dot-col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .tl-v__dot {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: background 0.25s, border-color 0.25s;
  }

  .tl-v__item.is-open .tl-v__dot {
    background: #ffffff;
    border-color: #ffffff;
  }

  .tl-v__year {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.9);
  }

  .tl-v__arrow {
    color: rgba(255, 255, 255, 0.45);
    transition: transform 0.3s ease, color 0.25s;
    flex-shrink: 0;
  }

  .tl-v__item.is-open .tl-v__arrow {
    transform: rotate(180deg);
    color: #ffffff;
  }

  .tl-v__body {
    display: none;
    padding: 0 0 22px 34px;
  }

  .tl-v__item.is-open .tl-v__body {
    display: block;
    animation: tl-pane-in 0.3s ease;
  }

  .tl-v__body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.2;
  }

  .tl-v__body p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
  }
}

/* =========================
   MISSION / VISION / VALUES
   ========================= */

.purpose-approach {
  padding: 120px 0;
  background: #ffffff;
}

.purpose-approach__header {
  margin-bottom: 64px;
}

.purpose-approach__title {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #192332;
  margin: 0;
}

.purpose-approach__divider {
  padding-top: 72px;
  margin-top: 72px;
  border-top: 1px solid rgba(0, 33, 72, 0.1);
  margin-bottom: 40px;
}

.purpose-approach__sub-heading {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #192332;
  margin: 0;
}

.mvv-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mvv-card {
  padding: 40px 36px;
  background: #ffffff;
  border: 1px solid rgba(0, 33, 72, 0.08);
  border-top: 3px solid #192332;
  border-radius: 16px;
}

.mvv-card__number {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8e98a3;
  line-height: 1;
  margin-bottom: 20px;
}

.mvv-card__title {
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #192332;
  margin: 0 0 16px;
}

.mvv-card__text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.85;
  color: #626b76;
  margin: 0;
}

@media (max-width: 768px) {
  .mvv-section {
    padding: 80px 0;
  }

  .mvv-section__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .mvv-section {
    padding: 64px 0;
  }
}


/* =========================
   HOW WE WORK (cards — used inside .purpose-approach)
   ========================= */

.how-we-work__header {
  max-width: 600px;
  margin-bottom: 64px;
}

.how-we-work__title {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #192332;
  margin: 0 0 20px;
}

.how-we-work__text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #626b76;
  margin: 0;
}

.how-we-work__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.how-we-work__card {
  padding: 40px 36px;
  background: #ffffff;
  border-radius: 16px;
}

.how-we-work__card-num {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8e98a3;
  line-height: 1;
  margin-bottom: 20px;
}

.how-we-work__card-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #192332;
  margin: 0 0 12px;
}

.how-we-work__card-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  color: #626b76;
  margin: 0;
}

@media (max-width: 640px) {
  .purpose-approach {
    padding: 64px 0;
  }

  .how-we-work__cards {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ISO SECTION
   ========================= */

.iso-section {
  padding: 120px 0;
  background: #192332;
}

.iso-section .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.iso-header {
  margin-bottom: 72px;
}

.iso-header h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #f8fbff;
  margin: 0;
}

.iso-rows {
  margin-bottom: 72px;
}

.iso-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0 64px;
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

.iso-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.iso-row__code {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  padding-top: 4px;
  line-height: 1.4;
}

.iso-row__content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 10px;
}

.iso-row__content p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.iso-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.iso-standards span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 700px) {
  .iso-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .iso-section {
    padding: 64px 0;
  }

  .iso-header {
    margin-bottom: 48px;
  }
}
/* =========================
   SERVICES PREVIEW
   ========================= */

.services-preview {
  position: relative;
  padding: 160px 0 130px;
  background: #ffffff;
  overflow: hidden;
}

.services-preview__inner {
  position: relative;
  z-index: 2;
}

.services-preview .container {
  width: min(1500px, calc(100% - 80px));
}

.services-preview__bg-shape {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.2;
  background-repeat: no-repeat;
  background-position: right 8% center;
  background-size: 880px auto;
  background-image: url("data:image/svg+xml,%3Csvg width='920' height='620' viewBox='0 0 920 620' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23bcc3cb' stroke-width='1.3'%3E%3Cpath d='M300 110L480 210L480 410L300 510L120 410L120 210L300 110Z'/%3E%3Cpath d='M480 210L660 110L840 210L840 410L660 510L480 410'/%3E%3Cpath d='M300 110L300 310L480 410'/%3E%3Cpath d='M660 110L480 210L300 110'/%3E%3Cpath d='M840 210L660 310L660 510'/%3E%3Cpath d='M300 510L480 410L660 510'/%3E%3C/g%3E%3C/svg%3E");
  animation: servicesShapeFloat 15s ease-in-out infinite;
}

@keyframes servicesShapeFloat {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(8px) translateY(-6px);
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
}

.services-title-h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #192332;
}

.service-card {
  grid-column: span 4;
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(218, 225, 232, 0.75);
  backdrop-filter: blur(2px);
  background: #dfe5eb;
  box-shadow:
  0 4px 12px rgba(15,23,42,0.05),
  0 20px 45px rgba(15,23,42,0.08),
  0 40px 90px rgba(15,23,42,0.05),
  inset 0 1px 0 rgba(255,255,255,0.35);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(47,111,237,0.28);

  box-shadow:
    0 10px 30px rgba(15,23,42,0.08),
    0 30px 70px rgba(15,23,42,0.12),
    0 60px 120px rgba(15,23,42,0.08),
    0 0 0 1px rgba(47,111,237,0.05),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

/* premium sweep */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255,255,255,0.14) 40%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.9s cubic-bezier(.16,1,.3,1);
}

.service-card:hover::before {
  transform: translateX(120%);
}

/* thin premium top line */
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.15) 18%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0.15) 82%,
    transparent 100%
  );
  opacity: 0.9;
}

/* background image now always visible */
.service-card__bg-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition:
    transform 0.8s cubic-bezier(.16,1,.3,1),
    filter 0.45s ease;
}

.service-card__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.9s cubic-bezier(.16,1,.3,1);
}

/* permanent overlay for readability */
.service-card__bg-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(8,12,20,0.85) 0%,
    rgba(8,12,20,0.45) 40%,
    rgba(8,12,20,0.15) 70%,
    transparent 100%
  );
}

.service-card:hover .service-card__bg-image::after {
  background:
    linear-gradient(
      to top,
      rgba(10, 16, 28, 0.9) 0%,
      rgba(10, 16, 28, 0.72) 38%,
      rgba(10, 16, 28, 0.34) 66%,
      rgba(10, 16, 28, 0.16) 100%
    );
}

.service-card:hover .service-card__bg-image img {
  transform: scale(1.06);
}

/* content */
.service-body {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 34px;
  color: #ffffff;
}

/* title always visible */
.service-title {
  margin: 0;
  max-width: 80%;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow:
    0 4px 14px rgba(0,0,0,0.25),
    0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.35s ease;
}

/* description hidden by default */
.service-description {
  max-width: 92%;
  margin-top: 14px;
  line-height: 1.68;
  color: rgba(255,255,255,0.88);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    color 0.35s ease;
}

.service-description,
.service-body .text-link {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    max-height 0.3s ease,
    margin 0.3s ease;
}

/* link hidden by default */
.service-body .text-link {
  margin-top: 18px;
  position: relative;
  z-index: 4;
  color: #ffffff;
  font-weight: 600;
  opacity: 0;
  transform: translateY(14px);
  transition:
    color 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* hover behavior */
.service-card:hover .service-title {
  transform: translateY(-2px);
  text-shadow:
    0 0 14px rgba(47,111,237,0.22),
    0 10px 28px rgba(0,0,0,0.22);
}

.service-card:hover .service-description,
.service-card:hover .text-link {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .text-link {
  opacity: 1;
  max-height: 40px;
  margin-top: 18px;
  transform: translateY(0);
}

.service-card:hover .service-description {
  opacity: 1;
  max-height: 120px;
  margin-top: 14px;
  transform: translateY(0);
}

/* Optional: slightly dim idle cards when grid is hovered */
.services-grid:hover .service-card:not(:hover) {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1180px) {
  .services-preview {
    padding: 100px 0;
  }

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

  .service-card {
    grid-column: auto;
    min-height: 380px;
  }

  .services-preview__bg-shape {
    background-size: 700px auto;
    opacity: 0.14;
  }
}

@media (max-width: 640px) {
  .services-preview {
    padding: 88px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 320px;
  }

  .service-body {
    padding: 24px 22px 26px;
  }

  .service-description {
    max-width: 100%;
  }

  @media (max-width: 1180px) {
  .services-note {
    grid-column: auto;
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .services-note__inner {
    padding: 24px 22px 26px;
  }

  .services-note__title,
  .services-note__text {
    max-width: 100%;
  }
}
}

.services-note {
  grid-column: span 4;
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;

  background:
    radial-gradient(circle at top right, rgba(47,111,237,0.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);

  border: 1px solid rgba(218, 225, 232, 0.95);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.04),
    0 24px 50px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.95);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.services-note:hover {
  transform: translateY(-6px);
  border-color: rgba(47,111,237,0.18);
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.06),
    0 30px 65px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.services-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(47,111,237,0.10) 18%,
    rgba(47,111,237,0.28) 50%,
    rgba(47,111,237,0.10) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.services-note__inner {
  position: relative;
  z-index: 2;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  padding: 40px;
}

.services-note__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #192332;
}

.services-note__title {
  margin: 0 0 18px;
  max-width: 12ch;
  font-size: clamp(1.9rem, 2.2vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #192332;
  font-weight: 500;
}

.services-note__text {
  margin: 0;
  max-width: 30ch;
  font-size: 1rem;
  line-height: 1.75;
  color: #192332;
}

.services-note__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-weight: 700;
  color: #192332;
  transition: transform 0.28s ease, color 0.28s ease;
}

.services-note__link:hover {
  transform: translateX(3px);
  color: #192332;
}
/* =========================
   SERVICE CARD CURSOR LIGHT
   ========================= */

.service-card {
  --mx: 50%;
  --my: 50%;
}

.service-card::selection {
  background: rgba(255,255,255,0.2);
}

.service-card::before,
.service-card::after {
  pointer-events: none;
}

/* cursor-follow light */
.service-card .service-card__cursor-light {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;

  background:
    radial-gradient(
      320px circle at var(--mx) var(--my),
      rgba(255,255,255,0.16) 0%,
      rgba(255,255,255,0.08) 22%,
      rgba(47,111,237,0.08) 38%,
      rgba(47,111,237,0.03) 52%,
      transparent 72%
    );
}

.service-card:hover .service-card__cursor-light {
  opacity: 1;
}

/* =========================
   SERVICES REVEAL
========================= */

.services-preview .section-heading,
.services-preview .service-card,
.services-preview .services-note {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}

.services-preview.is-visible .section-heading,
.services-preview.is-visible .service-card,
.services-preview.is-visible .services-note {
  opacity: 1;
  transform: translateY(0);
}

/* staggered delays */
.services-preview.is-visible .service-card:nth-of-type(1) { transition-delay: 0.08s; }
.services-preview.is-visible .service-card:nth-of-type(2) { transition-delay: 0.16s; }
.services-preview.is-visible .service-card:nth-of-type(3) { transition-delay: 0.24s; }
.services-preview.is-visible .service-card:nth-of-type(4) { transition-delay: 0.32s; }
.services-preview.is-visible .service-card:nth-of-type(5) { transition-delay: 0.40s; }
.services-preview.is-visible .services-note             { transition-delay: 0.48s; }

/* title first */
.services-preview.is-visible .section-heading {
  transition-delay: 0s;
}

/* =========================
   REVEAL ANIMATIONS
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

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

/* How We Work stagger */
.how-we-work__intro.reveal.is-visible { transition-delay: 0s; }
.how-we-work__card.reveal.is-visible:nth-child(1) { transition-delay: 0s;    }
.how-we-work__card.reveal.is-visible:nth-child(2) { transition-delay: 0.10s; }
.how-we-work__card.reveal.is-visible:nth-child(3) { transition-delay: 0.20s; }
.how-we-work__card.reveal.is-visible:nth-child(4) { transition-delay: 0.30s; }

/* ISO section stagger */
.iso-header.reveal.is-visible              { transition-delay: 0s;    }
.iso-card.reveal.is-visible:nth-child(1)   { transition-delay: 0s;    }
.iso-card.reveal.is-visible:nth-child(2)   { transition-delay: 0.12s; }
.iso-card.reveal.is-visible:nth-child(3)   { transition-delay: 0.24s; }
.iso-standards.reveal.is-visible           { transition-delay: 0.36s; }


