/* ============================================================
   pharmtrace — Design System
   Restrained. Precise. Different.
   Ink #1b2d38 · Teal #1c6b8a · Biosciences blue-green
   ============================================================ */

/* ── Local fonts ───────────────────────────────────────────── */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/opensans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/opensans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/raleway-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/raleway-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ─────────────────────────────────────────────────────────── */

:root {
  --ink:          #1b2d38;
  --ink-mid:      #3d5a6a;
  --ink-light:    #6b8896;
  --ink-faint:    #a8bec8;
  --accent:       #1c6b8a;
  --accent-pale:  #c2e2f2;
  --warm:         #a04a20;   /* used sparingly */
  --white:        #ffffff;
  --off-white:    #e0f0f7;
  --bg-teal:      #c8e5f2;
  --border:       #aed0e2;
  --border-light: #c6dfe9;

  --font-head: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --section-v:    120px;
  --gutter:       40px;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --tr:           all 0.4s var(--ease);
}

/* === Reset ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink-mid);
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === Container ========================================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 800px; }

/* === Typography ======================================== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
}
h1 { font-size: clamp(38px, 5.5vw, 70px); font-weight: 900; letter-spacing: -1px; }
h2 { font-size: clamp(26px, 3.2vw, 46px); font-weight: 800; letter-spacing: -0.5px; }
h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }

.label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--ink-light);
  margin-bottom: 18px;
}
.label--light { color: rgba(255,255,255,0.4); }

.lead {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink-mid);
}

/* === Reveal animation ================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible         { opacity: 1; transform: none; }
.reveal[data-d="1"]     { transition-delay: 0.1s; }
.reveal[data-d="2"]     { transition-delay: 0.18s; }
.reveal[data-d="3"]     { transition-delay: 0.26s; }
.reveal[data-d="4"]     { transition-delay: 0.34s; }

/* === Link arrow ======================================== */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.35s var(--ease);
}
.link-arrow:hover { gap: 15px; }
.link-arrow::after {
  content: '→';
  font-size: 14px;
  font-weight: 400;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: padding 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.site-header.scrolled {
  padding: 15px 0;
  background: #1e3f54;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link { display: flex; align-items: center; line-height: 0; }
.logo-img {
  height: 34px;
  width: auto;
  opacity: 0.90;
  transition: opacity 0.3s ease;
}
.logo-img:hover { opacity: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 20px;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20px; right: 20px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 102;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.85);
  border-radius: 1px;
  transition: var(--tr);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.72) saturate(0.90);
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 12, 20, 0.02) 0%,
    rgba(4, 12, 20, 0.12) 40%,
    rgba(4, 12, 20, 0.46) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 96px;
}

.hero-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 30px;
}

.hero h1 {
  color: #fff;
  max-width: 760px;
  margin-bottom: 30px;
}

.hero-sub {
  font-size: 16.5px;
  color: rgba(255,255,255,0.58);
  max-width: 520px;
  line-height: 1.8;
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-scroll-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.28));
  animation: scrollline 2.4s ease infinite;
}
@keyframes scrollline {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   STATEMENT / EDITORIAL
   ============================================================ */
.statement {
  padding: 110px 0;
  background-image:
    linear-gradient(rgba(224,240,247,0.96), rgba(224,240,247,0.96)),
    url('../Material/consulting_web.jpg');
  background-size: auto, cover;
  background-position: center, center center;
}
.statement blockquote {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.2px;
  max-width: 840px;
}
.statement blockquote strong { font-weight: 800; }
.statement-rule {
  width: 36px;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
  margin-top: 44px;
}

/* ============================================================
   SERVICES — SPLIT LAYOUT
   ============================================================ */
.services-split { }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.service-block:nth-child(even) > .service-block-img { order: 2; }
.service-block:nth-child(even) > .service-block-text { order: 1; }

.service-block-img {
  position: relative;
  overflow: hidden;
}
.service-block-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
  filter: brightness(0.92);
}
.service-block:hover .service-block-img img { transform: scale(1.04); }
/* Subtle teal overlay on hover */
.service-block-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 107, 138, 0);
  transition: background 0.5s ease;
  pointer-events: none;
}
.service-block:hover .service-block-img::after {
  background: rgba(28, 107, 138, 0.12);
}

.service-block-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 84px 76px;
}
.service-block:nth-child(1) .service-block-text { background: var(--white); }
.service-block:nth-child(2) .service-block-text { background: var(--off-white); }
.service-block:nth-child(3) .service-block-text { background: var(--white); }

.service-num {
  font-family: var(--font-head);
  font-size: 88px;
  font-weight: 900;
  color: var(--border-light);
  line-height: 1;
  margin-bottom: -20px;
  user-select: none;
  transition: color 0.4s ease;
  letter-spacing: -3px;
}
.service-block:hover .service-num { color: var(--accent-pale); }

.service-block-text h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  margin-bottom: 18px;
}

.service-block-text p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.78;
  margin-bottom: 14px;
}

.service-items {
  margin: 22px 0 32px;
  display: flex;
  flex-direction: column;
}
.service-items li {
  font-size: 13.5px;
  color: var(--ink-light);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-items li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.55;
}
.service-items li:first-child { border-top: 1px solid var(--border-light); }

/* ============================================================
   EXPERIENCE BAND
   ============================================================ */
.experience-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  background: var(--white);
}
.experience-band-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.exp-item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 4px 24px;
  position: relative;
}
.exp-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 14px;
  background: var(--border);
}

/* ============================================================
   PLATFORM / ERICA
   ============================================================ */
.platform-section {
  padding: var(--section-v) 0;
  background-image:
    linear-gradient(rgba(200,229,242,0.96), rgba(200,229,242,0.96)),
    url('../Material/core_lab_web-1.jpg');
  background-size: auto, cover;
  background-position: center, center center;
}
.platform-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 88px;
  align-items: center;
}
.platform-img-wrap { position: relative; }
.platform-img-wrap img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 20px 70px rgba(27,45,56,0.15);
}
.platform-text h2 { margin-bottom: 20px; }
.platform-text p {
  font-size: 15.5px;
  color: var(--ink-mid);
  margin-bottom: 15px;
}
.compliance-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink-mid);
}
.compliance-item:first-child { border-top: 1px solid var(--border); }
.compliance-item-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.compliance-item strong { color: var(--ink); }

/* ============================================================
   ANNIVERSARY
   ============================================================ */
.anniversary {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  text-align: center;
}
.anniversary-bg {
  position: absolute;
  inset: 0;
}
.anniversary-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(10%) brightness(0.58) saturate(1.3);
}
.anniversary-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 32, 0.30);
}
.anniversary-content { position: relative; z-index: 1; }

.anniversary-number {
  font-family: var(--font-head);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 900;
  color: rgba(255,255,255,0.18);
  line-height: 1;
  letter-spacing: -8px;
  margin-bottom: -40px;
  user-select: none;
}
.anniversary-tagline {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.8vw, 38px);
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  line-height: 1.3;
  margin-bottom: 22px;
}
.anniversary-tagline strong {
  font-weight: 800;
  color: #fff;
}
.anniversary-dates {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}
.anniversary-rule {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.30);
  margin: 32px auto;
}

/* ============================================================
   OFFICES
   ============================================================ */
.offices-section {
  padding: var(--section-v) 0;
  background: var(--white);
}
.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 80px;
  align-items: start;
  margin-top: 64px;
}
.offices-divider {
  background: var(--border);
  height: 180px;
  margin-top: 8px;
}
.office-flag { display: none; }
.office h3 { font-size: 21px; margin-bottom: 4px; }
.office-country {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.office address {
  font-style: normal;
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.9;
  margin-bottom: 18px;
}
.office-contact { display: flex; flex-direction: column; gap: 8px; }
.office-contact a {
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}
.office-contact a:hover { gap: 12px; }

.network-note {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.network-note p {
  font-size: 14px;
  color: var(--ink-light);
  max-width: 640px;
  line-height: 1.75;
}
.network-note strong { color: var(--ink-mid); font-weight: 600; }
.network-note a {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  margin-left: 6px;
  transition: color 0.3s;
}
.network-note a:hover { color: var(--ink); }

/* Textured teal background — reusable */
.teal-textured {
  background-image:
    linear-gradient(rgba(224,240,247,0.96), rgba(224,240,247,0.96)),
    url('../Material/consulting_web.jpg');
  background-size: auto, cover;
  background-position: center, center center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #1e3f54;
  background-image:
    linear-gradient(rgba(30,63,84,0.94), rgba(30,63,84,0.94)),
    url('../Material/full_service_web.jpg');
  background-size: auto, cover;
  background-position: center, center 25%;
  border-top: 3px solid var(--accent);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0;
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand {
  padding-right: 64px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.footer-col {
  padding-left: 48px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.footer-col:last-child { border-right: none; }
.footer-brand .logo-img {
  height: 30px;
  opacity: 0.88;
  margin-bottom: 22px;
}
.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 300px;
  margin-bottom: 24px;
}
.footer-contact-links { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.72);
  transition: color 0.3s;
}
.footer-contact-links a:hover { color: #fff; }

.footer-col h5 {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  opacity: 0.75;
  margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li { font-size: 13.5px; color: rgba(255,255,255,0.68); line-height: 1.5; }
.footer-col li a { transition: color 0.3s; }
.footer-col li a:hover { color: #fff; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.50);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  transition: color 0.3s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.82); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 480px;
  padding: 148px 0 72px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.60) saturate(0.75);
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,16,28,0.38) 0%, rgba(8,20,32,0.18) 100%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.page-hero .label--light { margin-bottom: 18px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 54px); margin-bottom: 22px; }
.page-hero .lead { color: rgba(255,255,255,0.55); font-size: 16px; max-width: 500px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  padding: var(--section-v) 0;
  background: var(--white);
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}
.about-text h2 { margin-bottom: 22px; }
.about-text p { color: var(--ink-mid); margin-bottom: 18px; font-size: 15.5px; }
.ta-strip {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--ink-light);
  line-height: 1.75;
}
.ta-strip strong { color: var(--ink-mid); font-weight: 600; }
.ta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.ta-pill {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-light);
  background: var(--bg-teal);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 4px 12px;
}

.values-side { display: flex; flex-direction: column; gap: 0; }
.value-entry {
  padding: 26px 0;
  border-bottom: 1px solid var(--border-light);
}
.value-entry:first-child { padding-top: 0; border-top: 1px solid var(--border-light); }
.value-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.65;
  margin-bottom: 8px;
}
.value-entry h4 { color: var(--ink); margin-bottom: 7px; font-size: 15.5px; }
.value-entry p { font-size: 14px; color: var(--ink-light); line-height: 1.7; }

/* Timeline */
.timeline-section {
  padding: var(--section-v) 0;
  background-image:
    linear-gradient(rgba(224,240,247,0.96), rgba(224,240,247,0.96)),
    url('../Material/full_service_web.jpg');
  background-size: auto, cover;
  background-position: center, center center;
}
.timeline {
  max-width: 680px;
  position: relative;
  padding-left: 40px;
  margin-top: 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--border);
}
.tl-item {
  position: relative;
  margin-bottom: 42px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -37px; top: 4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--off-white);
  box-shadow: 0 0 0 1px var(--border);
}
.tl-item.highlight .tl-dot {
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.tl-year {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.tl-item h4 { color: var(--ink); margin-bottom: 7px; font-size: 16px; }
.tl-item p { font-size: 14px; color: var(--ink-light); line-height: 1.68; }

/* Quality system */
.quality-section { padding: var(--section-v) 0; background: var(--white); }
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 60px;
  overflow: hidden;
}
.quality-entry {
  background: var(--white);
  padding: 36px 28px;
  transition: background 0.35s ease;
}
.quality-entry:hover { background: var(--bg-teal); }
.quality-entry-n {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.quality-entry h3 { font-size: 16px; margin-bottom: 10px; }
.quality-entry p { font-size: 13.5px; color: var(--ink-light); line-height: 1.68; }

/* ============================================================
   SERVICES DETAIL PAGE
   ============================================================ */
.service-detail-section { padding: var(--section-v) 0; }
.service-detail-section:nth-child(even) {
  background-image:
    linear-gradient(rgba(224,240,247,0.96), rgba(224,240,247,0.96)),
    url('../Material/iStock-160382211-Edit.jpg');
  background-size: auto, cover;
  background-position: center, center center;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}

.service-detail-text h2 { margin-bottom: 18px; }
.service-detail-text .lead { margin-bottom: 20px; }
.service-detail-text p { font-size: 15px; color: var(--ink-mid); margin-bottom: 14px; }

.service-detail-list { margin-top: 30px; }
.service-detail-list h5 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 14px;
}
.service-detail-list ul { display: flex; flex-direction: column; }
.service-detail-list li {
  font-size: 14px;
  color: var(--ink-mid);
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.service-detail-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

.service-visual-box {
  background: var(--ink);
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.service-visual-box .label--light { margin-bottom: 8px; }
.service-visual-box h3 { color: #fff; margin-bottom: 0; font-size: 20px; }
.svc-highlight {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.svc-highlight:last-child { border-bottom: none; }
.svc-highlight h5 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  margin-bottom: 5px;
}
.svc-highlight p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.42);
  line-height: 1.6;
  margin: 0;
}

.service-img-block {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.service-img-block img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-img-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27,45,56,0.08);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: var(--section-v) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact-form-wrap h2 { margin-bottom: 12px; }
.contact-form-wrap > .lead { margin-bottom: 48px; }

.form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 9px; }
.form-group label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--ink-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: none; min-height: 110px; }
.form-submit { margin-top: 10px; }
.form-submit button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 40px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: var(--tr);
}
.form-submit button::after { content: '→'; font-weight: 400; font-size: 14px; }
.form-submit button:hover { background: var(--accent); border-color: var(--accent); }
.form-note {
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.7;
  margin-top: 18px;
}
.form-feedback {
  font-size: 13.5px;
  line-height: 1.6;
  padding: 12px 16px;
  border-radius: 2px;
  display: none;
}
.form-feedback.success {
  display: block;
  background: var(--accent-pale);
  color: var(--accent);
  border-left: 3px solid var(--accent);
}
.form-feedback.error {
  display: block;
  background: #fbeaea;
  color: #a03030;
  border-left: 3px solid #c04040;
}

.contact-info { display: flex; flex-direction: column; }
.contact-info-block {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-block:first-child { padding-top: 0; }
.contact-info-block .label { margin-bottom: 10px; }
.contact-info-block h3 { font-size: 18px; margin-bottom: 4px; }
.contact-info-block address {
  font-style: normal;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.9;
  margin-bottom: 12px;
}
.contact-info-block a {
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  transition: gap 0.3s ease;
}
.contact-info-block a:hover { gap: 12px; }
.contact-info-block a::before { content: '→'; font-weight: 400; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-v: 88px; --gutter: 32px; }

  .service-block { grid-template-columns: 1fr; min-height: auto; }
  .service-block-img { aspect-ratio: 3/2; }
  .service-block:nth-child(even) > .service-block-img { order: 1; }
  .service-block:nth-child(even) > .service-block-text { order: 2; }
  .service-block-text { padding: 60px 52px; }

  .platform-inner { grid-template-columns: 1fr; gap: 52px; }
  .offices-grid { grid-template-columns: 1fr; gap: 52px; }
  .offices-divider { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { padding-right: 32px; }
  .footer-col { padding-left: 32px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 56px; }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 64px; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-visual-box { position: static; }
}

@media (max-width: 768px) {
  :root { --section-v: 72px; --gutter: 24px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: #1e3f54;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 14px; padding: 14px 32px; }
  .nav-toggle { display: flex; }

  .service-block-text { padding: 48px 32px; }
  .service-num { font-size: 64px; }
  .statement blockquote { font-size: 20px; }
  .anniversary-number { font-size: 68px; }
  .quality-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; }
  .footer-brand { padding-right: 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 40px; }
  .footer-col { padding-left: 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 40px; }
  .footer-col:last-child { border-bottom: none; padding-bottom: 0; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .hero-scroll { display: none; }
  .page-hero { height: 380px; padding: 110px 0 56px; }
  .network-note { gap: 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 15px; }
  .offices-grid { gap: 40px; }
}
