/* ========================================
   SANGNOIR RISK MANAGEMENT
   Design System & Stylesheet
   ======================================== */

/* --- Custom Properties --- */
:root {
  --deep-navy: #1B1E34;
  --midnight: #0D0F1A;
  --slate: #2C2F45;
  --steel: #3D4060;
  --silver: #A0A3B5;
  --ice: #E8E9F0;
  --white: #FFFFFF;
  --signal-blue: #0693E3;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-height: 80px;
  --max-width: 1200px;
  --section-pad: 120px 0;
  --transition: 0.3s ease;
  --service-nav-height: 48px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--silver);
  background-color: var(--midnight);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--signal-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--white);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--white);
  font-weight: 400;
  line-height: 1.25;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: 0.015em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p + p { margin-top: 1em; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 40px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.nav--scrolled {
  background-color: rgba(13, 15, 26, 0.95);
  box-shadow: 0 1px 0 rgba(160, 163, 181, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.nav__logo:hover {
  color: var(--white);
}

.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--silver);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--signal-blue);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--midnight) 0%, var(--deep-navy) 100%);
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero__logo {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: 0.015em;
}

.hero__strapline {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--silver);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hero__cta {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid rgba(6, 147, 227, 0.4);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  background: transparent;
}

.hero__cta:hover {
  background: var(--signal-blue);
  border-color: var(--signal-blue);
  color: var(--white);
}

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--midnight) 0%, var(--deep-navy) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160, 163, 181, 0.1), transparent);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
}

/* --- Sections --- */
.section {
  padding: var(--section-pad);
  position: relative;
}

.section--dark {
  background: var(--midnight);
}

.section--navy {
  background: var(--deep-navy);
}

.section--slate {
  background: var(--slate);
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__header h2 {
  margin-bottom: 16px;
}

.section__header p {
  max-width: 600px;
  margin: 0 auto;
}

.section__divider {
  width: 48px;
  height: 1px;
  background: var(--signal-blue);
  margin: 24px auto 0;
}

/* --- Pillar Cards --- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.pillar {
  background: rgba(44, 47, 69, 0.4);
  border: 1px solid rgba(160, 163, 181, 0.06);
  padding: 48px 32px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal-blue), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pillar:hover {
  background: rgba(44, 47, 69, 0.7);
  transform: translateY(-4px);
}

.pillar:hover::before {
  opacity: 1;
}

.pillar__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  stroke: var(--signal-blue);
}

.pillar h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.pillar p {
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.pillar__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal-blue);
  text-decoration: none;
  transition: color var(--transition);
}

.pillar__link:hover {
  color: var(--white);
}

/* --- About Preview (Home) --- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-preview__text h2 {
  margin-bottom: 24px;
}

.about-preview__text p {
  margin-bottom: 16px;
}

.about-preview__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat {
  text-align: center;
  padding: 32px 16px;
  background: rgba(44, 47, 69, 0.3);
  border: 1px solid rgba(160, 163, 181, 0.06);
}

.stat__number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--deep-navy) 0%, var(--midnight) 100%);
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Service Sections (video-backed) --- */
.services-stack {
  position: relative;
}

.service-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(160, 163, 181, 0.06);
  will-change: transform, opacity;
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.02);
}

.service-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(13, 15, 26, 0.82) 0%,
    rgba(27, 30, 52, 0.65) 50%,
    rgba(13, 15, 26, 0.55) 100%
  );
  pointer-events: none;
}

.service-section .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.service-section__content {
  max-width: 640px;
}

.service-section__content h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 8px;
}

.service-section__content .service-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--signal-blue);
  margin-bottom: 24px;
  opacity: 0.9;
}

.service-section__content p {
  margin-bottom: 12px;
}

.service-section__content ul {
  margin-top: 20px;
}

.service-section__content ul li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 0.95rem;
}

.service-section__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 1px;
  background: var(--signal-blue);
}

/* --- Service Sub-Navigation --- */
.service-nav {
  position: relative;
  width: 100%;
  z-index: 999;
  background: rgba(13, 15, 26, 0.92);
  border-bottom: 1px solid rgba(160, 163, 181, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-nav.is-sticky {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  box-shadow: 0 1px 0 rgba(160, 163, 181, 0.08);
}

.service-nav__track {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  height: var(--service-nav-height);
  position: relative;
}

.service-nav__link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  padding: 14px 0;
  transition: color 0.3s ease;
}

.service-nav__link:hover,
.service-nav__link.is-active {
  color: var(--white);
}

.service-nav__indicator {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--signal-blue);
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-nav-spacer {
  height: var(--service-nav-height);
  display: none;
}

.service-nav-spacer.is-active {
  display: block;
}

/* --- Who We Are --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(44, 47, 69, 0.3);
  border: 1px solid rgba(160, 163, 181, 0.06);
  transition: all 0.4s ease;
}

.value-card:hover {
  background: rgba(44, 47, 69, 0.6);
}

.value-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--white);
}

.value-card p {
  font-size: 0.88rem;
}

.leadership {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.leadership__photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--slate) 0%, var(--steel) 100%);
  border: 1px solid rgba(160, 163, 181, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.leadership__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(160, 163, 181, 0.02) 10px,
    rgba(160, 163, 181, 0.02) 11px
  );
}

.leadership__photo svg {
  width: 48px;
  height: 48px;
  stroke: var(--silver);
  opacity: 0.3;
  position: relative;
  z-index: 1;
}

.leadership__info h3 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.leadership__info .leadership__role {
  font-size: 0.85rem;
  color: var(--signal-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.leadership__info p {
  margin-bottom: 12px;
}

.clientele {
  margin-top: 48px;
}

.clientele__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.clientele__tag {
  padding: 10px 20px;
  background: rgba(44, 47, 69, 0.4);
  border: 1px solid rgba(160, 163, 181, 0.08);
  font-size: 0.85rem;
  color: var(--silver);
  letter-spacing: 0.03em;
}

/* --- Partners --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.partner-card {
  background: rgba(44, 47, 69, 0.3);
  border: 1px solid rgba(160, 163, 181, 0.06);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
}

.partner-card:hover {
  background: rgba(44, 47, 69, 0.6);
}

.partner-card__logo {
  width: 120px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(160, 163, 181, 0.06);
  border: 1px dashed rgba(160, 163, 181, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.partner-card h4 {
  margin-bottom: 12px;
}

.partner-card p {
  font-size: 0.88rem;
}

.partner-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partners-note {
  text-align: center;
  margin-top: 64px;
  padding: 40px;
  border: 1px dashed rgba(160, 163, 181, 0.1);
}

.partners-note p {
  font-size: 0.92rem;
  color: var(--silver);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  background: rgba(44, 47, 69, 0.3);
  border: 1px solid rgba(160, 163, 181, 0.06);
  padding: 48px;
}

.contact-form h3 {
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(13, 15, 26, 0.6);
  border: 1px solid rgba(160, 163, 181, 0.12);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color var(--transition);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--signal-blue);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A0A3B5' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--deep-navy);
  color: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  display: inline-block;
  padding: 14px 48px;
  background: transparent;
  border: 1px solid rgba(6, 147, 227, 0.4);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.form-submit:hover {
  background: var(--signal-blue);
  border-color: var(--signal-blue);
}

.contact-info {
  padding-top: 16px;
}

.contact-info h3 {
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-detail__icon {
  width: 20px;
  height: 20px;
  stroke: var(--signal-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 4px;
}

.contact-detail__value {
  color: var(--white);
  font-size: 1rem;
}

.contact-detail__value a {
  color: var(--white);
}

.contact-detail__value a:hover {
  color: var(--signal-blue);
}

.contact-response {
  margin-top: 48px;
  padding: 24px;
  border-left: 2px solid var(--signal-blue);
  background: rgba(44, 47, 69, 0.2);
}

.contact-response p {
  font-size: 0.92rem;
  color: var(--silver);
}

/* --- Footer --- */
.footer {
  background: var(--midnight);
  border-top: 1px solid rgba(160, 163, 181, 0.06);
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer__brand .nav__logo {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer__brand p {
  font-size: 0.88rem;
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--silver);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__newsletter p {
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.footer__newsletter-form {
  display: flex;
  gap: 0;
}

.footer__newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(44, 47, 69, 0.4);
  border: 1px solid rgba(160, 163, 181, 0.1);
  border-right: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  border-radius: 0;
}

.footer__newsletter-form input:focus {
  border-color: var(--signal-blue);
}

.footer__newsletter-form button {
  padding: 10px 20px;
  background: var(--signal-blue);
  border: 1px solid var(--signal-blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
  border-radius: 0;
}

.footer__newsletter-form button:hover {
  background: transparent;
}

.footer__bottom {
  border-top: 1px solid rgba(160, 163, 181, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 0.78rem;
  color: var(--steel);
  letter-spacing: 0.05em;
}

.footer__legal a {
  font-size: 0.78rem;
  color: var(--steel);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--silver);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(27, 30, 52, 0.97);
  border-top: 1px solid rgba(160, 163, 181, 0.08);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--silver);
  flex: 1;
}

.cookie-banner p a {
  color: var(--signal-blue);
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  border-radius: 0;
}

.cookie-banner__btn--accept {
  background: var(--signal-blue);
  color: var(--white);
}

.cookie-banner__btn--accept:hover {
  background: var(--white);
  color: var(--midnight);
}

.cookie-banner__btn--decline {
  background: transparent;
  border: 1px solid rgba(160, 163, 181, 0.2);
  color: var(--silver);
}

.cookie-banner__btn--decline:hover {
  border-color: var(--silver);
  color: var(--white);
}

/* --- Privacy Policy --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 48px 0 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 1px;
  background: var(--signal-blue);
}

/* --- Lenis Smooth Scroll --- */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* --- Motion Design --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .service-section {
    height: auto;
    min-height: 70vh;
  }
  .service-nav {
    position: sticky;
    top: var(--nav-height);
  }
  .service-nav__indicator {
    transition: none;
  }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .pillars {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-nav__track {
    gap: 32px;
  }

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

  .leadership {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .leadership__photo {
    max-width: 280px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px 0;
  }

  .service-section {
    height: auto;
    min-height: auto;
  }

  .service-section .container {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .service-nav__track {
    gap: 20px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .service-nav__track::-webkit-scrollbar {
    display: none;
  }

  .service-nav__link {
    font-size: 0.72rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .service-section__overlay {
    background: linear-gradient(
      180deg,
      rgba(13, 15, 26, 0.88) 0%,
      rgba(27, 30, 52, 0.78) 100%
    );
  }

  .nav {
    padding: 0 20px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13, 15, 26, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__links a {
    font-size: 1rem;
  }

  .page-hero {
    padding: 140px 0 80px;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cookie-banner {
    flex-direction: column;
    padding: 20px 24px;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 64px 0;
    --nav-height: 64px;
  }

  .hero__logo {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
  }

  .about-preview__stats {
    grid-template-columns: 1fr;
  }
}
