/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
  --dark: #1C2B2B;
  --primary: #2D6867;
  --primary-light: #3D8480;
  --secondary: #7A7060;
  --secondary-dark: #5A5248;
  --tertiary: #C4A882;
  --tertiary-light: #D4BC9A;
  --accent: #2D6867;
  --accent-light: #3D8480;
  --bg: #FFFFFF;
  --bg-alt: #F4EFE6;
  --text: #2E2B26;
  --muted: #8A8070;
  --border: #E2D9CC;

  --nav-h: 72px;
  --max-w: 1160px;
  --gap: 2rem;

  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4 {
  font-family: var(--font-h);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.05rem; font-family: var(--font-b); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
}

.accent-text { color: var(--accent); }
.muted { color: var(--muted); }

/* ===========================
   LAYOUT
   =========================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-header {
  max-width: 640px;
  margin-bottom: 4rem;
}

.section-header.centered {
  margin: 0 auto 4rem;
  text-align: center;
}

.section-title {
  margin-bottom: 1rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-b);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: #2a2a2a; }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover { background: var(--dark); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-outline-white:hover { background: #fff; color: var(--dark); }

.btn-accent {
  background: var(--tertiary);
  color: #fff;
}
.btn-accent:hover { background: var(--tertiary-light); }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.nav-logo-text span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--dark);
}

.nav-arrow {
  font-size: 0.55rem;
  transition: transform var(--transition);
  opacity: 0.5;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 230px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s ease;
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.dropdown a:last-child { border-bottom: none; }

.dropdown a:hover {
  background: var(--bg-alt);
  color: var(--dark);
  padding-left: 1.6rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.nav-cta { margin-left: 0.75rem; }

/* ===========================
   HERO (HOMEPAGE)
   =========================== */
.home-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: #00B4B0;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.2;
  width: 100%;
  height: 100%;
  mix-blend-mode: luminosity;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,100,100,0.45) 0%, rgba(0,180,176,0.15) 100%);
}

.home-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}

.home-hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 820px;
  line-height: 1.15;
}

.home-hero h1 em {
  font-style: italic;
  color: var(--tertiary);
}

.home-hero .lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

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

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Image fully visible — the gradient does the readability work */
.page-hero .hero-bg {
  opacity: 1;
  mix-blend-mode: normal;
}

/*
  Bottom-to-top gradient:
  — Dark at the bottom (text zone) for legibility
  — Fades to near-transparent at the top so the image breathes
*/
.page-hero .hero-overlay,
.page-hero.hero-gradient .hero-overlay {
  display: block;
  background: linear-gradient(
    to top,
    rgba(10, 20, 20, 0.92) 0%,
    rgba(10, 20, 20, 0.55) 38%,
    rgba(10, 20, 20, 0.10) 70%,
    rgba(10, 20, 20, 0.00) 100%
  );
}

/* Container anchored at the bottom of the hero */
.page-hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 4.5rem;
  padding-top: 2rem;
}

/* Clean text block — no frosted glass, just a left accent line */
.page-hero-content {
  max-width: 680px;
  border: none;
  border-left: 3px solid var(--primary);
  padding: 0.5rem 0 0.5rem 2rem;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.page-hero .section-label {
  color: var(--tertiary);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.75);
}

/* ===========================
   SOLUTIONS CARDS (HOME)
   =========================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
}

.solution-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  background: var(--dark);
}

.solution-card:hover .card-number,
.solution-card:hover .card-title,
.solution-card:hover .card-desc,
.solution-card:hover .card-link {
  color: #fff;
}

.solution-card:hover .card-link {
  color: var(--accent);
}

.card-number {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition: color var(--transition);
}

.card-title {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color var(--transition);
}

.card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  transition: color var(--transition);
}

.card-link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}

.card-link:hover { gap: 0.75rem; }

/* ===========================
   ABOUT SECTION (HOME)
   =========================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 7rem;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-item {}

.stat-number {
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.about-image {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.about-img-frame {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  right: 1.5rem;
  top: 1.5rem;
  border: 1.5px solid var(--accent);
  z-index: -1;
  pointer-events: none;
}

/* ===========================
   TEAM GRID (HOME)
   =========================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.team-member-card {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2.5rem;
  align-items: stretch;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.team-member-img-wrap {
  position: relative;
}

.team-member-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-member-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  border: 1.5px dashed var(--border);
}

.team-member-name {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.team-member-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-member-body .btn {
  margin-top: auto;
}

.team-member-body .section-label {
  margin-bottom: 0.4rem;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .team-member-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
  }
  .team-member-img,
  .team-member-img-placeholder {
    aspect-ratio: 4/3;
  }
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.quote-mark {
  font-family: var(--font-h);
  font-size: 3.5rem;
  color: var(--accent);
  line-height: 0.6;
  margin-bottom: 1.25rem;
  display: block;
  opacity: 0.35;
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.author-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
}

.author-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--dark);
  margin-bottom: 0.1rem;
}

.author-role {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ===========================
   METHODS CARDS
   =========================== */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.method-card {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.method-card:hover {
  box-shadow: var(--shadow);
}

.method-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.method-card-body {
  padding: 2rem;
}

.method-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.method-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: #1A3535;
  padding: 6rem 0;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
  margin: 0 auto 2.75rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   INNER PAGE CONTENT
   =========================== */
.content-intro {
  max-width: 720px;
  margin-bottom: 4rem;
}

.content-intro p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
}

.content-block {
  display: grid;
  gap: 2rem;
}

/* Numbered items */
.numbered-items {
  list-style: none;
  counter-reset: items;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.numbered-item {
  counter-increment: items;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.numbered-item:first-child {
  border-top: 1px solid var(--border);
}

.item-number {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
  opacity: 0.6;
}

.item-title {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.item-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-item {
  padding: 1.75rem;
  background: var(--bg-alt);
  border-left: 2.5px solid var(--accent);
}

.feature-item h4 {
  font-family: var(--font-b);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* Two-col content layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.two-col-narrow {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 6rem;
  align-items: start;
}

/* Accent block */
.accent-block {
  background: var(--dark);
  padding: 3rem;
  color: #fff;
}

.accent-block h3 { color: #fff; margin-bottom: 1rem; }
.accent-block p { color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }

/* Quote block */
.quote-block {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--bg-alt);
}

.quote-block p {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark);
  margin: 0;
}

.quote-block cite {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
  font-style: normal;
}

/* Steps */
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.step-content strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.step-content span {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.contact-info-item:first-child {
  border-top: 1px solid var(--border);
}

.contact-icon {
  font-size: 1rem;
  width: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--accent);
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
}

.contact-value a {
  transition: color var(--transition);
}

.contact-value a:hover { color: var(--accent); }

/* Form */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color var(--transition);
  outline: none;
  border-radius: 0;
  appearance: none;
}

input:focus, textarea:focus {
  border-color: var(--dark);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

/* ===========================
   ABOUT PAGE
   =========================== */
.about-full-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
  letter-spacing: 0.03em;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.timeline-item:first-child {
  border-top: 1px solid var(--border);
}

.timeline-year {
  font-family: var(--font-h);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 0.25rem;
}

.timeline-content strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.timeline-content span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===========================
   4COLORS COMPASS
   =========================== */
.compass-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.compass-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.compass-item:nth-child(2n) { border-right: none; }
.compass-item:nth-last-child(-n+2) { border-bottom: none; }

.compass-direction {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.compass-north { color: #E74C3C; }
.compass-west { color: #3498DB; }
.compass-east { color: #F39C12; }
.compass-south { color: #2ECC71; }

.compass-item h4 {
  font-family: var(--font-h);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.compass-item p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* Profiles grid */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.profile-item {
  padding: 1.75rem;
  background: var(--bg-alt);
  text-align: center;
}

.profile-item h4 {
  font-family: var(--font-h);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.profile-item p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #1A3535;
  color: #fff;
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-logo-text {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer-logo-text span { color: var(--accent); }

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-contact-icon {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.footer-contact-text a {
  transition: color var(--transition);
}

.footer-contact-text a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ===========================
   ANIMATIONS
   =========================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-full-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

@media (max-width: 900px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col-narrow {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link { padding: 0.875rem 1.5rem; font-size: 0.8rem; }

  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--accent);
    margin-left: 2rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    transition: none;
  }

  .nav-item.open .dropdown { display: block; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .home-hero { min-height: auto; padding: calc(var(--nav-h) + 3rem) 0 4rem; }
  .page-hero { min-height: 50vh; }
  .page-hero .container { padding-bottom: 3rem; }
  .page-hero-content { padding-left: 1.25rem; }
  .solutions-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 3rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .methods-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .section { padding: 4rem 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .compass-grid { grid-template-columns: 1fr; }
  .compass-item:nth-child(2n) { border-right: 1px solid var(--border); }
  .compass-item { border-right: 1px solid var(--border); }
  .profiles-grid { grid-template-columns: 1fr; }
  .about-full-split { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ===========================
   IMAGE-TEXT SPLIT SECTIONS
   =========================== */
.img-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.img-text-section .section-img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  display: block;
}

/*
  Content column alignment: the outer edge follows the page's container grid
  so text always aligns with the rest of the page, regardless of screen width.
  Inner edge (touching the image) has generous breathing room.
*/
.img-text-section .section-content-wrap {
  display: flex;
  align-items: center;
  background: var(--bg);
  /* Normal layout: image LEFT, content RIGHT
     → right (outer edge) aligns with container, left (inner) = 5rem gap from image */
  padding: 5rem max(2.5rem, calc((100vw - var(--max-w)) / 2 + 2rem)) 5rem 5rem;
}

/* Reverse: content LEFT, image RIGHT
   → left (outer edge) aligns with container, right (inner) = 5rem gap from image */
.img-text-section.reverse .section-content-wrap {
  padding: 5rem 5rem 5rem max(2.5rem, calc((100vw - var(--max-w)) / 2 + 2rem));
}

.img-text-section.bg-alt .section-content-wrap {
  background: var(--bg-alt);
}

.img-text-section .section-content {
  width: 100%;
  max-width: 480px;
}

.img-text-section.reverse .section-img {
  order: 1;
}

/* ===========================
   VISUAL PILLARS — full-bleed 4-col
   (used standalone, outside any container)
   =========================== */
.visual-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.visual-pillar {
  padding: 3.5rem 2.5rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  transition: filter 0.25s ease;
}

.visual-pillar:hover { filter: brightness(1.1); }

.visual-pillar:nth-child(1) { background: #2D6867; }
.visual-pillar:nth-child(2) { background: #3D4F4E; }
.visual-pillar:nth-child(3) { background: #1C2B2B; }
.visual-pillar:nth-child(4) { background: #C4A882; }

.visual-pillar-num {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}

.visual-pillar h3 {
  color: #fff;
  font-family: var(--font-b);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.visual-pillar p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0;
}

/* ===========================
   VISUAL QUOTE WITH BG IMAGE
   =========================== */
.visual-quote {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-quote-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(28,43,43,0.82) 0%, rgba(45,104,103,0.45) 100%);
}

.visual-quote-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1060px;
  padding: 5rem max(2rem, calc((100vw - var(--max-w)) / 2 + 1.5rem));
}

.visual-quote-content blockquote {
  font-family: var(--font-h);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-style: italic;
  color: #fff;
  margin-bottom: 1.75rem;
  line-height: 1.45;
}

.visual-quote-content cite {
  display: block;
  font-size: 0.75rem;
  font-style: normal;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===========================
   HANDS PROVOCATEUR (Change Mgmt)
   =========================== */

/*
  Layout : grille 2 colonnes (40% question / 60% mains)
  séparées par un trait vertical.
  Les mains s'alignent toujours au même point de départ —
  l'espace vide qui grandit sur les lignes 2 et 3
  EST le message visuel.
*/
.hands-visual {
  /* No outer border — clean and open */
}

.hands-row {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
}

.hands-question {
  padding: 2.75rem 2.5rem 2.75rem 0;
  font-family: var(--font-h);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin: 0;
  /* No border-right, no display:flex — keeps inline spacing intact */
}

.hands-row:last-child .hands-question {
  color: var(--accent);
}

.hands-icons {
  padding: 2.75rem 0 2.75rem 2.5rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* ===========================
   RESPONSIVE (NEW COMPONENTS)
   =========================== */
@media (max-width: 900px) {
  .visual-pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .img-text-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .img-text-section .section-img {
    min-height: 300px;
    height: 300px;
  }
  /* Reset to simple padding on mobile — calc gives 0 or negative */
  .img-text-section .section-content-wrap,
  .img-text-section.reverse .section-content-wrap {
    padding: 3.5rem 1.5rem;
  }
  .img-text-section.reverse .section-img { order: 0; }
  .visual-quote-content { padding: 4rem 1.5rem; }
  .hands-row { grid-template-columns: 1fr; }
  .hands-question { padding: 1.75rem 1rem 0.75rem 1rem; }
  .hands-icons { padding: 0.5rem 1rem 1.75rem 1rem; }
}

@media (max-width: 480px) {
  .visual-pillars { grid-template-columns: 1fr; }
}
