/* =====================================================
   International Science Writer – styles.css
   2026 Redesign | Mobile-first | WCAG 2.2 AA
   Palette: Deep Slate Navy + Warm Teal + Soft Cream
   ===================================================== */

/* ── DESIGN TOKENS ── */
:root {
  /* Colours */
  --navy:          #0f1f38;     /* primary dark */
  --navy-mid:      #1a3356;     /* nav bg scrolled */
  --teal:          #0d7c6e;     /* accent – CTA buttons */
  --teal-dark:     #095f54;     /* hover state */
  --teal-light:    #d1ece9;     /* light tint bg */
  --cream:         #f7f4ef;     /* warm off-white bg */
  --cream-dark:    #ede9e1;     /* alt section bg */
  --sand:          #c9b99a;     /* decorative accent */
  --white:         #ffffff;
  --text-body:     #2c3540;
  --text-muted:    #5a6473;
  --text-light:    #8695a4;
  --border:        #ddd8d0;

  /* Shortcuts for visualizer vars */
  --accent:        var(--teal);
  --accent-light:  var(--teal-light);

  /* Typography */
  --font-display:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:     'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:     'DM Mono', ui-monospace, monospace;

  /* Scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.5rem;
  --text-5xl:   3.25rem;
  --text-6xl:   4.25rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radii */
  --radius-sm:  4px;
  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(15,31,56,0.08);
  --shadow:     0 4px 16px rgba(15,31,56,0.10);
  --shadow-md:  0 8px 32px rgba(15,31,56,0.12);
  --shadow-lg:  0 16px 48px rgba(15,31,56,0.14);

  /* Layout */
  --max-w: 1200px;
  --header-h: 76px;

  /* Transitions */
  --trans: 0.25s ease;
  --trans-slow: 0.4s ease;
}

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-body);
  background: var(--cream);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; transition: color var(--trans); }
a:hover { color: var(--teal-dark); }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
ul, ol { list-style: none; }
address { font-style: normal; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); font-weight: 600; }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); font-weight: 600; }
p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
blockquote { font-style: italic; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── UTILITIES ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-6); }
@media (max-width: 600px) { .container { padding: 0 var(--space-4); } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-pad { padding: var(--space-20) 0; }
@media (max-width: 768px) { .section-pad { padding: var(--space-12) 0; } }

/* ── SECTION LABELS ── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-3);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}
.section-header h2 { margin-bottom: var(--space-4); }
.section-intro { font-size: var(--text-lg); color: var(--text-muted); }

/* ── BUTTONS ── */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background var(--trans), color var(--trans), transform var(--trans), box-shadow var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.5rem; font-size: var(--text-base); }
.btn-submit { width: 100%; justify-content: center; border-radius: var(--radius); }

/* ── SCROLL REVEAL ── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-up { transform: translateY(32px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; }
.cookie-actions { display: flex; gap: var(--space-3); flex-shrink: 0; }
.btn-cookie-accept, .btn-cookie-reject {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 2px solid;
  transition: background var(--trans), color var(--trans);
}
.btn-cookie-accept { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn-cookie-accept:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-cookie-reject { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-cookie-reject:hover { background: rgba(255,255,255,0.1); }
.btn-cookie-accept:focus-visible, .btn-cookie-reject:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(247,244,239,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,185,154,0.3);
  transition: background var(--trans), box-shadow var(--trans), height var(--trans);
}
.site-header.scrolled {
  background: rgba(15,31,56,0.97);
  box-shadow: var(--shadow-md);
  height: 64px;
}
.site-header.scrolled .logo-mark,
.site-header.scrolled .logo-text { color: var(--white); }
.site-header.scrolled .main-nav a { color: rgba(255,255,255,0.85); }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active { color: var(--white); }
.site-header.scrolled .nav-toggle span { background: var(--white); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.04em;
  line-height: 1;
}
.logo-text {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Nav */
.main-nav ul { display: flex; gap: var(--space-1); align-items: center; }
.main-nav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--trans), background var(--trans);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--teal); background: var(--teal-light); }
.main-nav .nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  margin-left: var(--space-2);
  font-weight: 600;
}
.main-nav .nav-cta:hover { background: var(--teal-dark); }
.site-header.scrolled .main-nav .nav-cta { background: var(--teal); color: var(--white) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    padding: var(--space-6);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    z-index: 850;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; width: 100%; gap: var(--space-1); }
  .main-nav a { font-size: var(--text-lg); padding: var(--space-3) var(--space-4); width: 100%; }
  .main-nav .nav-cta { margin-left: 0; margin-top: var(--space-4); text-align: center; }
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + var(--space-20)) 0 var(--space-20);
  background: var(--cream);
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 600px;
  height: 600px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, var(--teal-light) 0%, rgba(209,236,233,0) 70%);
  pointer-events: none;
  animation: morph 14s ease-in-out infinite alternate;
}
.hero-bg-dots {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--sand) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.18;
  pointer-events: none;
}
@keyframes morph {
  0%   { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33%  { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
  66%  { border-radius: 55% 45% 65% 35% / 40% 60% 50% 55%; }
  100% { border-radius: 40% 60% 50% 50% / 55% 45% 60% 40%; }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.hero-content h1 { margin-bottom: var(--space-6); }
.hero-sub {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}
.hero-body { color: var(--text-muted); margin-bottom: var(--space-8); }
.hero-img-wrap { position: relative; }
.hero-img-wrap img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; }
.hero-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-light), var(--cream-dark));
  z-index: -1;
  pointer-events: none;
}
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(0.6); opacity: 0.3; }
}

@media (max-width: 900px) {
  .hero { padding: calc(var(--header-h) + var(--space-12)) 0 var(--space-12); }
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero-image { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-bg-shape { width: 300px; height: 300px; top: 5%; right: -5%; }
  .hero-scroll-hint { display: none; }
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--navy);
  padding: var(--space-12) 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.stat {
  text-align: center;
  flex: 1 1 140px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-plus { font-size: 0.65em; color: var(--teal-light); }
.stat-label { display: block; font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
@media (max-width: 600px) { .stat-divider { display: none; } .stat { flex: 1 1 45%; } }

/* ── SERVICES OVERVIEW ── */
.services-overview { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
@media (max-width: 700px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-body);
  transition: transform var(--trans), box-shadow var(--trans);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: var(--text-body); }
.service-icon img { width: 100%; height: 220px; object-fit: cover; display: block; }
.service-body { padding: var(--space-6); flex: 1; }
.service-body h3 { margin-bottom: var(--space-3); font-size: var(--text-xl); }
.service-body p { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.card-link { font-size: var(--text-sm); font-weight: 600; color: var(--teal); }
.services-cta { text-align: center; margin-top: var(--space-10); }

/* ── WHY CHOOSE US ── */
.why-us { background: var(--cream-dark); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.why-image { position: relative; }
.why-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-md); width: 100%; }
.why-img-blob {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 200px;
  height: 200px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: var(--teal-light);
  z-index: -1;
  pointer-events: none;
}
.why-content .section-label { display: block; }
.why-content h2 { margin-bottom: var(--space-8); }
.why-list { display: flex; flex-direction: column; gap: var(--space-5); margin-bottom: var(--space-8); }
.why-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.why-icon { font-size: 1rem; color: var(--teal); margin-top: 0.2rem; flex-shrink: 0; }
.why-list strong { display: block; font-size: var(--text-base); color: var(--navy); margin-bottom: var(--space-1); }
.why-list p { color: var(--text-muted); font-size: var(--text-sm); margin: 0; }

@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .why-image { max-width: 520px; margin: 0 auto; }
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.testimonials .section-label { color: var(--teal-light); }
.testimonials h2 { color: var(--white); }
.testimonials-bg-shape {
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: rgba(13,124,110,0.1);
  pointer-events: none;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
@media (max-width: 700px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--teal);
  margin-bottom: var(--space-4);
  display: block;
  opacity: 0.7;
}
.testimonial-card p { color: rgba(255,255,255,0.85); font-size: var(--text-base); line-height: 1.7; margin-bottom: var(--space-6); }
.testimonial-card footer cite { font-style: normal; }
.testimonial-card footer strong { display: block; color: var(--white); font-weight: 600; margin-bottom: var(--space-1); }
.testimonial-card footer span { font-size: var(--text-sm); color: rgba(255,255,255,0.5); }

/* ── CLIENTS STRIP ── */
.clients-strip { background: var(--white); }
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-6) var(--space-8);
}
.logos-grid img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter var(--trans), transform var(--trans);
}
.logos-grid img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); }
.clients-cta { text-align: center; margin-top: var(--space-10); }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-band-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-band h2 { color: var(--white); margin-bottom: var(--space-4); }
.cta-band p { color: rgba(255,255,255,0.8); font-size: var(--text-lg); margin-bottom: var(--space-8); }
.cta-band .btn-primary {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}
.cta-band .btn-primary:hover { background: var(--cream); border-color: var(--cream); color: var(--teal-dark); transform: translateY(-3px); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  padding: var(--space-16) 0 0;
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: var(--space-8); } }
.footer-brand p { font-size: var(--text-sm); color: rgba(255,255,255,0.55); margin-top: var(--space-4); line-height: 1.6; }
.footer-brand .logo-mark { color: var(--teal-light); }
.footer-brand .logo-text { color: rgba(255,255,255,0.8); }
.footer-nav h3, .footer-contact h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-4);
}
.footer-nav ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--trans);
}
.footer-nav a:hover { color: var(--white); }
.footer-contact address { font-size: var(--text-sm); line-height: 1.8; margin-bottom: var(--space-3); color: rgba(255,255,255,0.7); }
.footer-contact a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: var(--text-sm); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-6) 0;
}
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.35); margin: 0; line-height: 1.6; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + var(--space-16)) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 80% at 80% -20%, rgba(13,124,110,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at -10% 110%, rgba(13,124,110,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.breadcrumb { display: flex; gap: var(--space-2); font-size: var(--text-sm); color: rgba(255,255,255,0.45); margin-bottom: var(--space-4); }
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-light); }
.page-hero .section-label { color: var(--teal-light); }
.page-hero h1 { color: var(--white); margin-top: var(--space-2); margin-bottom: var(--space-5); }
.page-hero-intro { color: rgba(255,255,255,0.7); font-size: var(--text-lg); max-width: 640px; }

/* ── SERVICES DETAIL PAGES ── */
.services-section { background: var(--white); }
.services-section--alt { background: var(--cream); }
.services-section-header { max-width: 680px; margin-bottom: var(--space-10); }
.services-section-header h2 { margin-top: var(--space-2); }
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}
.service-detail-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--trans), box-shadow var(--trans);
}
.services-section--alt .service-detail-card { background: var(--white); }
.service-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sdc-img img { width: 100%; height: 200px; object-fit: cover; }
.sdc-body { padding: var(--space-6); }
.sdc-body h3 { margin-bottom: var(--space-3); font-size: var(--text-xl); color: var(--navy); }
.sdc-body p { color: var(--text-muted); font-size: var(--text-sm); margin: 0; }

/* ── PROCESS ── */
.process-section { background: var(--navy); }
.process-section .section-header h2 { color: var(--white); }
.process-section .section-label { color: var(--teal-light); }
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(13,124,110,0.3);
}
.process-step {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  padding: var(--space-6) 0;
  position: relative;
  z-index: 1;
}
.step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h3 { color: var(--white); margin-bottom: var(--space-2); font-size: var(--text-xl); }
.step-body p { color: rgba(255,255,255,0.65); font-size: var(--text-sm); margin: 0; }

/* ── CASE STUDIES ── */
.cases-grid { display: flex; flex-direction: column; gap: var(--space-8); }
.case-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans);
}
.case-card:hover { box-shadow: var(--shadow-md); }
.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-8);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--space-3);
}
.case-header img { height: 44px; width: auto; object-fit: contain; }
.case-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
}
.case-body { padding: var(--space-8); }
.case-body h2 { font-size: var(--text-2xl); margin-bottom: var(--space-6); color: var(--navy); }
.case-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 700px) { .case-row { grid-template-columns: 1fr; } }
.case-col h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.case-col p { color: var(--text-body); font-size: var(--text-sm); margin: 0; line-height: 1.6; }
.case-outcome { background: var(--teal-light); border-radius: var(--radius); padding: var(--space-4); }
.case-outcome h3 { color: var(--teal-dark); }
.case-outcome p { color: var(--navy); }
.case-note { text-align: center; margin-top: var(--space-8); color: var(--text-muted); font-size: var(--text-sm); }
.case-note a { color: var(--teal); }

/* ── CLIENTS PAGE ── */
.clients-showcase { background: var(--white); }
.clients-logos-large {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-6);
}
.client-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow var(--trans), transform var(--trans);
}
.client-logo-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.client-logo-item img { height: 48px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(40%); transition: filter var(--trans); }
.client-logo-item:hover img { filter: none; }
.client-logo-item span { font-size: var(--text-xs); color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

.clients-list-section { background: var(--cream); }
.clients-list-inner { max-width: 800px; margin: 0 auto; }
.clients-alpha-grid { text-align: center; }
.clients-alpha-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-3);
  text-align: left;
  margin-bottom: var(--space-8);
}
.clients-alpha-list li {
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--navy);
}
.client-service { font-weight: 400; color: var(--text-muted); font-size: var(--text-xs); display: block; margin-top: 2px; }
.clients-more { color: var(--text-muted); font-style: italic; font-size: var(--text-sm); }

/* ── TEAM PAGE ── */
.team-section { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-8);
}
.team-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--trans);
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-card--featured { border-color: var(--teal); }
.team-card-img {
  height: 140px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-initials {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}
.team-card-body { padding: var(--space-8); }
.team-role-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-2);
}
.team-card h2 { font-size: var(--text-2xl); margin-bottom: var(--space-1); }
.team-credentials { font-size: var(--text-sm); color: var(--teal); font-weight: 500; margin-bottom: var(--space-4); }
.team-card p { color: var(--text-muted); font-size: var(--text-sm); }
.team-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.team-expertise span {
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}
.team-partners { background: var(--cream-dark); position: relative; overflow: hidden; }
.team-partners-bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: var(--teal-light);
  opacity: 0.5;
  pointer-events: none;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.partner-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.partner-icon { margin-bottom: var(--space-4); }
.partner-card h3 { margin-bottom: var(--space-3); font-size: var(--text-xl); }
.partner-card p { color: var(--text-muted); font-size: var(--text-sm); margin: 0; }
.credentials-strip { background: var(--navy); padding: var(--space-12) 0; }
.credentials-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-8);
  text-align: center;
}
.cred-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}
.cred-label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}

/* ── CONTACT PAGE ── */
.contact-section { background: var(--cream); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-16);
  align-items: flex-start;
}
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; gap: var(--space-10); } }
.contact-info-block {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-8);
}
.contact-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.contact-info-block h3 { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: var(--space-2); }
.contact-info-block address, .contact-info-block p { font-size: var(--text-sm); color: var(--text-body); margin: 0; line-height: 1.8; }
.contact-info-block a { color: var(--teal); text-decoration: none; }
.contact-info-block a:hover { color: var(--teal-dark); text-decoration: underline; }
.contact-reassurance {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--teal-light);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  color: var(--teal-dark);
  margin-top: var(--space-4);
}
.contact-reassurance svg { flex-shrink: 0; margin-top: 3px; color: var(--teal); }
.contact-reassurance p { font-size: var(--text-sm); font-weight: 500; margin: 0; }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form-wrap h2 { margin-bottom: var(--space-2); font-size: var(--text-2xl); }
.form-intro { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-6); }
.form-group { margin-bottom: var(--space-5); }
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-2);
}
.required { color: var(--teal); margin-left: 2px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-body);
  background: var(--cream);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,124,110,0.12);
  background: var(--white);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--teal-light);
  border-radius: var(--radius);
  padding: var(--space-6);
  color: var(--teal-dark);
  font-weight: 500;
}
.form-success svg { flex-shrink: 0; margin-top: 2px; color: var(--teal); }
.form-success p { margin: 0; }
