/* =========================================================
   Code Development Ltd — Design System
   Light-mode corporate site with CDL/MaxTAF brand palette
   ========================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  /* Brand Colours */
  --color-charcoal:     #212121;
  --color-teal:         #7AC1BB;
  --color-teal-light:   #BCE0DD;
  --color-teal-dark:    #165D6D;
  --color-plum:         #662B7F;
  --color-plum-light:   #B292C0;
  --color-plum-dark:    #331440;
  --color-orange:       #E25025;
  --color-orange-light: #F1A887;
  --color-blue:         #299ED9;
  --color-blue-light:   #95CFEC;
  --color-dark-green:   #3E6261;

  /* Neutral Palette */
  --color-white:        #ffffff;
  --color-bg:           #ffffff;
  --color-bg-light:     #f8f9fa;
  --color-bg-alt:       #f1f3f5;
  --color-text:         #212121;
  --color-text-muted:   #495057;
  --color-text-light:   #868e96;
  --color-border:       #dee2e6;
  --color-border-light: #e9ecef;

  /* Typography */
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Radius — square corners throughout */
  --radius-sm:  0;
  --radius-md:  0;
  --radius-lg:  0;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);

  /* Transitions */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.18s;
  --dur-med:  0.3s;
  --dur-slow: 0.5s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--dur-fast) var(--ease); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ── Typography ── */
h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--dur-med) var(--ease);
}
.nav--scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 36px; width: auto; }

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--dur-fast) var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--color-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease);
}
.nav__link:hover { color: var(--color-charcoal); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link--active { color: var(--color-charcoal); }
.nav__link--active::after { transform: scaleX(1); }

.nav__cta {
  padding: 0.5rem 1.25rem;
  border-radius: 0;
  background: var(--color-plum);
  color: var(--color-white) !important;
  font-weight: 600;
  transition: background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover {
  background: var(--color-plum-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-charcoal);
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease);
}
.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}
.nav__mobile .nav__link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

/* =========================================================
   HERO — Light theme with SVG geometric pattern
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-light);
  padding-top: 5rem;
  border-bottom: 1px solid var(--color-border-light);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-pattern.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-3xl) 0;
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 1.25rem;
}
.hero__subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.25rem;
  background: var(--color-plum);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 0;
  transition: background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.hero__cta:hover {
  background: var(--color-plum-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(102,43,127,0.25);
}
.hero__cta svg { width: 16px; height: 16px; }

/* =========================================================
   PAGE HERO (inner pages) — Light theme with SVG pattern
   ========================================================= */
.page-hero {
  padding: 10rem 0 4rem;
  background: var(--color-bg-light);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-light);
}
.page-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-pattern-inner.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero__content {
  position: relative;
  z-index: 1;
}
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.75rem;
}
.page-hero__sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: var(--space-2xl) 0;
}
.section--white { background: var(--color-white); }
.section--light { background: var(--color-bg-light); }
.section--alt   { background: var(--color-bg-alt); }
.section--charcoal {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.section__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin-bottom: 0.75rem;
}
.section--charcoal .section__eyebrow { color: var(--color-teal); }

.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section__sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 640px;
}
.section--charcoal .section__sub { color: rgba(255,255,255,0.65); }

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section__header .section__sub {
  margin-inline: auto;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.75rem;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--color-plum);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-plum-dark);
  box-shadow: 0 4px 16px rgba(102,43,127,0.25);
}

.btn--teal {
  background: var(--color-teal);
  color: var(--color-charcoal);
}
.btn--teal:hover {
  background: var(--color-teal-dark);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(122,193,187,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--color-charcoal);
  border: 2px solid var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

.btn--ghost {
  background: transparent;
  color: var(--color-plum);
  border: 2px solid var(--color-plum-light);
}
.btn--ghost:hover {
  background: var(--color-plum);
  color: var(--color-white);
}

/* =========================================================
   PRODUCT CARDS (Homepage)
   ========================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  transition: transform var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card__accent {
  height: 4px;
}
.product-card--maxtaf .product-card__accent { background: var(--color-teal); }
.product-card--interpretos .product-card__accent { background: var(--color-plum); }
.product-card__body {
  padding: 2rem;
}
.product-card__logo {
  height: 32px;
  margin-bottom: 1.25rem;
  width: auto;
}
.product-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-teal-dark);
  transition: color var(--dur-fast) var(--ease), gap var(--dur-fast) var(--ease);
}
.product-card--interpretos .product-card__link { color: var(--color-plum); }
.product-card__link:hover { gap: 0.65rem; }
.product-card__link svg { width: 16px; height: 16px; }

/* =========================================================
   VALUE PROP CARDS
   ========================================================= */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.value-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  color: var(--color-white);
  transition: transform var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.value-card--teal   { background: var(--color-teal-dark); }
.value-card--plum   { background: var(--color-plum); }
.value-card--orange { background: var(--color-orange); }

.value-card__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.value-card__icon svg {
  width: 24px; height: 24px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.value-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* =========================================================
   STATS ROW
   ========================================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  padding: var(--space-xl) 0;
}
.stat__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-teal-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================================
   TRUSTED BY (Client Logos)
   ========================================================= */
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  align-items: center;
  justify-content: center;
}
.trust-badge {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-light);
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.trust-badge:hover {
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-plum-dark) 100%);
  color: var(--color-white);
  text-align: center;
}
.cta-section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.cta-section__text {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.cta-section .btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-plum);
}

/* =========================================================
   TIMELINE (About)
   ========================================================= */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--color-teal-light);
}
.timeline__item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
}
.timeline__item:last-child { margin-bottom: 0; }
.timeline__dot {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-charcoal);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--color-bg-light);
}
.timeline__content {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  flex: 1;
  box-shadow: var(--shadow-sm);
}
.timeline__year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin-bottom: 0.25rem;
}
.timeline__event {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}
.timeline__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* =========================================================
   TEAM CARDS
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-card__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-charcoal);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-teal);
  border: 3px solid var(--color-teal-light);
}
.team-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.2rem;
}
.team-card__role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-plum);
  margin-bottom: 0.75rem;
}
.team-card__bio {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* =========================================================
   CERTIFICATION CARDS
   ========================================================= */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.cert-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  transition: transform var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease);
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cert-card__icon {
  width: 48px; height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-card__icon img {
  height: 48px;
  width: auto;
}
.cert-card__icon svg {
  width: 32px; height: 32px;
  stroke: var(--color-teal-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cert-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.35rem;
}
.cert-card__text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(122,193,187,0.15);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--color-text-light); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { appearance: auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--color-plum);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.form-submit:hover { background: var(--color-plum-dark); }

.contact-info__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 1.5rem;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info__icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg {
  width: 20px; height: 20px;
  stroke: var(--color-teal-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-info__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.15rem;
}
.contact-info__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}
.contact-info__value a {
  color: var(--color-teal-dark);
}
.contact-info__value a:hover { color: var(--color-plum); }

/* =========================================================
   PRIVACY / PROSE CONTENT
   ========================================================= */
.prose {
  max-width: 780px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--color-charcoal);
}
.prose h3 {
  font-size: 1.1rem;
  margin: 2rem 0 0.5rem;
}
.prose p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}
.prose ul, .prose ol {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--color-text-muted);
}
.prose li { margin-bottom: 0.35rem; line-height: 1.7; }
.prose a { color: var(--color-teal-dark); }
.prose a:hover { color: var(--color-plum); text-decoration: underline; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__logo { height: 36px; margin-bottom: 1rem; }
.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  max-width: 280px;
}
.footer__badges {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer__badge {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--dur-fast) var(--ease);
}
.footer__badge:hover { opacity: 1; }
.footer__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-fast) var(--ease);
}
.footer__link:hover { color: var(--color-teal); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer__social { display: flex; gap: 0.75rem; }
.footer__social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.footer__social-link:hover {
  background: rgba(122,193,187,0.15);
  color: var(--color-teal);
  border-color: rgba(122,193,187,0.3);
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  :root {
    --space-xl:  3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }

  .hero__content { padding: var(--space-2xl) 0; }

  .products-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .value-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: span 2; }

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

  .page-hero { padding: 8rem 0 3rem; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > :first-child { grid-column: span 1; }
  .trust-grid { gap: 1rem 1.5rem; }
}
