/* =========================================
   CELSIO GROUP — Global Stylesheet
   ========================================= */

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

/* ── CSS Variables ── */
:root {
--c-bg:       #fafafa;
--c-surface:  #ffffff;
--c-surface2: #f2f2f2;
--c-border:   rgba(0,0,0,0.1);
--c-text:     #212121;
--c-muted:    #404040;
  --c-orange:    #c99400;
  --c-orange-dark: #8b5a00;
  --c-teal:      #1863DC;
  --c-blue:      #1863DC;
  --c-white:     #ffffff;

  --font-head:   'Inter', sans-serif;
  --font-body:   'DM Sans', sans-serif;

  --nav-h:       72px;
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:   0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 100px 0; }
section.tight { padding: 60px 0; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--c-text); margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-orange);
}

/* Skip navigation link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  top: 0;
}
.label.teal  { color: var(--c-teal); }
.label.blue  { color: var(--c-blue); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left var(--transition);
  z-index: -1;
}

.btn:hover::before { left: 0; }

.btn-primary {
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 4px 12px rgba(24, 99, 220, 0.3);
}
.btn-primary:hover {
  background: var(--c-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 99, 220, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid rgba(0,0,0,0.25);
}
.btn-outline:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
  background: rgba(24, 99, 220, 0.07);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

/* ── NAV ── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  background: var(--c-bg);
  backdrop-filter: blur(4px);
}
#site-nav.scrolled {
  background: var(--c-bg);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}
.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-logo span { color: var(--c-orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-muted);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--c-text);
  background: rgba(0,0,0,0.06);
}
.nav-links > li > a.cta-link {
  background: var(--c-orange);
  color: #fff !important;
  padding: 8px 18px;
  box-shadow: 0 4px 12px rgba(24, 99, 220, 0.25);
  transition: var(--transition);
}
.nav-links > li > a.cta-link:hover {
  background: var(--c-orange-dark);
  box-shadow: 0 6px 16px rgba(24, 99, 220, 0.35);
  transform: translateY(-1px);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: var(--shadow-md);
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li > a:focus-within ~ .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--c-muted);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-dropdown a:hover { color: var(--c-text); background: rgba(0,0,0,0.05); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO VIDEO ── */
.hero-video {
  position: relative;
  width: 100vw;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 85vh;
  min-height: 320px;
  margin-top: var(--nav-h);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.home-h1-wrap {
  padding-top: 100px;
  padding-bottom: 0;
}
.home-h1-wrap h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin: 0;
}
.hero-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 50%,
    rgba(0,0,0,0.55) 100%
  );
}
.hero-video__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 24px 24px;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.9);
}
.hero-video__mute {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-video__mute:hover {
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.9);
  transform: scale(1.08);
}
.hero-video__mute svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}
/* show muted icon by default; swap on .unmuted */
.hero-video__mute .icon-unmuted { display: none; }
.hero-video__mute.unmuted .icon-muted   { display: none; }
.hero-video__mute.unmuted .icon-unmuted { display: block; }

/* ── SECTION HEADERS ── */
.section-header { margin-bottom: 64px; }
.section-header .label { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p { color: var(--c-muted); max-width: 600px; font-size: 1.05rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ── CARDS ── */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: rgba(24,99,220,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* ── SERVICE CARDS ── */
.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-orange);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(24,99,220,0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(24,99,220,0.12);
  line-height: 1;
}
.service-card h3 { color: var(--c-text); }
.service-card p { color: var(--c-muted); font-size: 0.95rem; flex: 1; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-orange);
  transition: gap var(--transition);
}
.service-link:hover { gap: 12px; }

/* ── TESTIMONIALS ── */
.testimonials-carousel {
  width: 100%;
  overflow: hidden;
  padding-bottom: 12px;
  margin-bottom: -12px;
}
.testimonials-carousel__track {
  display: flex;
  will-change: transform;
  padding-bottom: 4px;
}
.testimonials-carousel__item {
  flex: 0 0 33.333%;
  padding: 0 10px 8px;
  box-sizing: border-box;
  display: flex;
}
.testimonials-carousel__item .testimonial-card {
  height: 100%;
  flex: 1;
}
@media (max-width: 768px) {
  .testimonials-carousel__item { flex: 0 0 100%; padding: 0; }
}
.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
/* accent-orange → primary brand blue */
.testimonial-card.accent-orange { border-top: 3px solid #dca818; }
/* accent-blue → darker blue */
.testimonial-card.accent-blue   { border-top: 3px solid #0f4aa8; }
/* accent-teal → lighter blue */
.testimonial-card.accent-teal   { border-top: 3px solid #4a90e2; }

.quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.5;
  color: #1863DC;
  opacity: 0.4;
}
.testimonial-card.accent-blue  .quote-mark { color: #0f4aa8; }
.testimonial-card.accent-teal  .quote-mark { color: #4a90e2; }

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.75;
  flex: 1;
}
.testimonial-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-text);
}
.testimonial-org { font-size: 0.82rem; color: var(--c-muted); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(24,99,220,0.1) 0%, rgba(74,144,226,0.07) 100%);
  border: 1px solid rgba(24,99,220,0.2);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(24,99,220,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 16px; position: relative; z-index: 1; }
.cta-banner p { color: var(--c-muted); max-width: 500px; margin: 0 auto 36px; position: relative; z-index: 1; }

/* ── TEAM CARDS ── */
.team-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.team-avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-orange), var(--c-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
}
.team-avatar--photo {
  background: none;
}
.team-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-info h3 { margin-bottom: 16px; }
.team-info p  { font-size: 0.95rem; color: var(--c-muted); }
.team-info p + p { margin-top: 12px; }

/* ── INSIGHTS ── */
.insight-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.insight-card:hover {
  border-color: rgba(24,99,220,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.insight-card h3 { font-size: 1.1rem; }
.insight-card p  { font-size: 0.92rem; color: var(--c-muted); flex: 1; }
.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-teal);
  transition: gap var(--transition);
}
.insight-link:hover { gap: 12px; }

/* ── VALUES ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-item {
  padding: 32px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.value-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(24,99,220,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.value-item h4 { margin-bottom: 10px; }
.value-item p  { font-size: 0.92rem; color: var(--c-muted); }

/* ── METHODOLOGY STEPS ── */
.steps-list { display: flex; flex-direction: column; gap: 1px; }
.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.step-item:hover {
  border-color: rgba(24,99,220,0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.step-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(24,99,220,0.2);
  line-height: 1;
  text-align: center;
}
.step-body h3 { margin-bottom: 16px; }
.step-body p  { color: var(--c-muted); font-size: 0.97rem; margin-bottom: 16px; }
.step-body ul {
  list-style: disc;
  padding-left: 1.4em;
  margin-bottom: 16px;
  color: var(--c-muted);
  font-size: 0.97rem;
  line-height: 1.75;
}
.step-body ul li { margin-bottom: 6px; }

/* ── PAGE HERO ── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 80% 50%, rgba(24,99,220,0.07) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; }
.page-hero .label { margin-bottom: 20px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { font-size: 1.1rem; color: var(--c-muted); }

/* ── DIVIDER ── */
hr.section-divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 0;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 36px; }
.contact-detail { display: flex; flex-direction: column; gap: 6px; }
.contact-detail .label { margin-bottom: 4px; }
.contact-detail a {
  font-size: 1.15rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-text);
  transition: color var(--transition);
}
.contact-detail a:hover { color: var(--c-orange); }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--c-muted); letter-spacing: 0.04em; }
.form-group input,
.form-group textarea {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--c-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }
.form-group input:focus,
.form-group textarea:focus {
  outline: 3px solid var(--c-orange);
  outline-offset: 2px;
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(24, 99, 220, 0.1);
}

/* Enhanced focus visibility for all interactive elements (WCAG AAA) */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline-width: 3px;
  outline-offset: 2px;
}

.btn:focus {
  outline: 3px solid var(--c-orange);
  outline-offset: 2px;
}

.nav-links > li > a:focus {
  outline: 3px solid var(--c-orange);
  outline-offset: 2px;
}

.hero-video__mute:focus {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Form error states */
.form-group input.error,
.form-group textarea.error {
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}
.form-error {
  font-size: 0.82rem;
  color: #d32f2f;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 6px;
  min-height: 0;
}
.form-error:not(:empty)::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  background: #d32f2f;
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
  margin-top: 1px;
}
.form-group label span[aria-label="required"] {
  color: #d32f2f;
  font-weight: 700;
}

/* ── FOOTER ── */
#site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 64px 0 32px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p { color: var(--c-muted); font-size: 0.9rem; margin-top: 16px; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.9rem; color: var(--c-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--c-text); }
.footer-col--right { text-align: right; }
.footer-col--right ul { align-items: flex-end; }
.footer-read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.8rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-orange);
  transition: color var(--transition);
}
.footer-read-more:hover { color: var(--c-orange-dark); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  transition: var(--transition);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover {
  color: var(--c-orange);
  border-color: var(--c-orange);
  background: rgba(24,99,220,0.06);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
  font-size: 0.85rem;
  color: var(--c-muted);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.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; }

/* ── MATURITY CARDS ── */
.maturity-card {
  display: flex;
  flex-direction: column;
  /* stretch to fill the grid cell and space content vertically */
  height: 100%;
  justify-content: space-between;
  /* centre all text and inline elements horizontally */
  align-items: center;
  text-align: center;
}
.maturity-level {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 8px;
}
.maturity-today {
  font-size: 0.88rem;
  color: var(--c-text);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px;
  /* no flexible growth – keep natural height so the divider/achieve text stay at bottom
     when the card expands due to its row's tallest sibling */
}
.maturity-divider {
  border-top: 1px solid var(--c-border);
  margin-bottom: 12px;
}

/* ── PILL BADGE ── */
.pill {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(24,99,220,0.1);
  border: 1px solid rgba(24,99,220,0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-orange);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(24, 99, 220, 0.1);
  transition: var(--transition);
}
.pill:hover {
  box-shadow: 0 4px 16px rgba(24, 99, 220, 0.2);
  transform: translateY(-1px);
}

/* ── WHO WE WORK WITH ── */
.wwww-intro {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: center;
}
.wwww-intro__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.wwww-stat {
  padding: 28px 32px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
}
.wwww-stat:last-child { border-bottom: none; }
.wwww-stat__num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-orange);
  line-height: 1;
  margin-bottom: 6px;
}
.wwww-stat__label {
  font-size: 0.85rem;
  color: var(--c-muted);
  font-family: var(--font-head);
  font-weight: 500;
}
/* ── PARTNER CARDS ── */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.partner-card {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--c-surface);
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.partner-card__front {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.partner-card__front img {
  max-height: 70px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: opacity(1);
  transition: filter var(--transition);
}
.partner-card:hover .partner-card__front img {
  filter: opacity(1);
}
.partner-card__name-fallback {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-muted);
  text-align: center;
}
.partner-card__back {
  position: absolute;
  inset: 0;
  background: var(--c-teal);
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.partner-card:hover .partner-card__back {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.partner-card__back-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.partner-card__back-desc {
  font-size: 1rem;
  line-height: 1.25;
  flex: 1;
  margin: 0 0 12px;
  color: rgba(255,255,255,0.9);
}
.partner-card__back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.partner-card__back-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.partner-card:hover .partner-card__back-link svg {
  transform: translateX(3px);
}

/* ── CLIENT LOGO CAROUSEL ── */
.clients-carousel {
  overflow: hidden;
  width: 100%;
  background: #ffffff;
  padding: 32px 0;
}
.clients-track {
  display: flex;
  will-change: transform;
}
.client-slide {
  flex: 0 0 33.333%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  height: 140px;
}
.client-slide img {
  max-height: 110px;
  max-width: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}
.client-slide img[alt="Etain"] {
  max-height: 60px;
}
.client-slide__name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-muted);
  text-align: center;
}
@media (max-width: 768px) {
  .wwww-intro { grid-template-columns: 1fr; gap: 40px; }
  .wwww-intro__stats { flex-direction: row; }
  .wwww-stat { border-bottom: none; border-right: 1px solid var(--c-border); flex: 1; padding: 20px; }
  .wwww-stat:last-child { border-right: none; }
  .wwww-stat__num { font-size: 1.6rem; }
  .client-slide { flex: 0 0 50%; } /* 2 visible on mobile */
}

/* ── INSIGHT FILTERS ── */
.insights-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-pill {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-muted);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
}
.filter-pill:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
}
.filter-pill.active {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #fff;
  box-shadow: 0 2px 8px rgba(24, 99, 220, 0.25);
}

/* ── INSIGHT CARDS (enhanced) ── */
.insight-card {
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}
.insight-card:not(:has(.insight-thumb)) {
  padding: 36px;
}
.insight-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}
.insight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.insight-card:hover .insight-thumb img {
  transform: scale(1.04);
}
.insight-card:has(.insight-thumb) .insight-meta,
.insight-card:has(.insight-thumb) h3,
.insight-card:has(.insight-thumb) p,
.insight-card:has(.insight-thumb) .insight-link {
  padding-left: 28px;
  padding-right: 28px;
}
.insight-card:has(.insight-thumb) .insight-meta { padding-top: 24px; }
.insight-card:has(.insight-thumb) .insight-link  { padding-bottom: 24px; }
.insight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.insight-date {
  font-size: 0.78rem;
  color: var(--c-muted);
  font-family: var(--font-head);
}
.insight-category {
  font-size: 0.72rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-orange);
  background: rgba(24,99,220,0.08);
  border: 1px solid rgba(24,99,220,0.2);
  padding: 3px 10px;
  border-radius: 50px;
}

/* ── ARTICLE OVERLAY ── */
.article-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: stretch;
  pointer-events: none;
}
.article-overlay.open { pointer-events: all; }

.article-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(2px);
}
.article-overlay.open .article-backdrop { opacity: 1; }

.article-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(680px, 100vw);
  background: var(--c-surface);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.article-overlay.open .article-panel { transform: translateX(0); }

.article-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.article-panel-header .insight-meta { margin-bottom: 0; }

.article-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-surface2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  transition: var(--transition);
  flex-shrink: 0;
}
.article-close:hover {
  background: var(--c-border);
  color: var(--c-text);
}
.article-close svg { width: 16px; height: 16px; }

.article-hero-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
  display: block;
}

.article-panel-footer {
  flex-shrink: 0;
  padding: 20px 32px;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface2);
}
.article-panel-footer p {
  font-size: 0.88rem;
  color: var(--c-muted);
  margin: 0;
}
.article-panel-footer a {
  color: var(--c-orange);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-panel-footer a:hover { color: var(--c-orange-dark); }

.article-pdf-download {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.article-pdf-download svg {
  flex-shrink: 0;
  color: var(--c-orange);
}
.article-pdf-download-text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--c-muted);
  margin: 0;
}
.article-pdf-download-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--c-text);
  margin-bottom: 2px;
}
.article-pdf-download .btn {
  flex-shrink: 0;
  font-size: 0.82rem;
  padding: 7px 14px;
}

/* PDF Gate Modal */
.pdf-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pdf-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.55);
  backdrop-filter: blur(2px);
}
.pdf-gate-modal {
  position: relative;
  z-index: 1;
  background: var(--c-surface);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  padding: 40px 36px 32px;
  width: 100%;
  max-width: 460px;
}
.pdf-gate-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-muted);
  padding: 4px;
  line-height: 0;
  border-radius: 6px;
  transition: color 0.15s;
}
.pdf-gate-close:hover { color: var(--c-text); }
.pdf-gate-close svg { width: 20px; height: 20px; }
.pdf-gate-thankyou {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 10px;
}
.pdf-gate-report-name {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text);
  padding: 14px 16px;
  background: var(--c-surface2);
  border-left: 4px solid var(--c-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 18px;
}
.pdf-gate-subtitle {
  font-size: 0.88rem;
  color: var(--c-muted);
  margin-bottom: 24px;
}
.form-optional {
  font-size: 0.78rem;
  color: var(--c-muted);
  font-weight: 400;
}
.pdf-gate-send-error {
  font-size: 0.83rem;
  color: var(--c-error, #c0392b);
  margin-top: 10px;
  text-align: center;
}

.article-body {
  padding: 40px 32px;
  overflow-y: auto;
  flex: 1;
}
.article-body h2 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  margin-bottom: 28px;
  line-height: 1.25;
}
.article-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--c-muted);
  margin-bottom: 1.4em;
}
.article-body p:last-child { margin-bottom: 0; }
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 2em 0 0.6em;
}
.article-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  margin: 1.6em 0 0.5em;
}
.article-body ul,
.article-body ol {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
  color: var(--c-muted);
  font-size: 1rem;
  line-height: 1.85;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.4em; }
.article-body blockquote {
  border-left: 3px solid var(--c-orange);
  margin: 1.6em 0;
  padding: 12px 20px;
  background: rgba(24,99,220,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  color: var(--c-text);
  line-height: 1.7;
  font-style: italic;
}
.article-body strong { color: var(--c-text); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body a { color: var(--c-orange); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--c-orange-dark); }
.article-body hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 2em 0;
}

/* ── TWO COLUMN GRID ── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── FORM CARD ── */
.card--form { padding: 48px; }
@media (max-width: 768px) {
  .card--form { padding: 24px; }
}

/* ── IMAGE BAND ── */
.image-band {
  width: 100%;
  height: 360px;
  overflow: hidden;
  flex-shrink: 0;
}
.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ── MOBILE ── */
@media (max-width: 1024px) {
  .card-grid.cols-3,
  .testimonials-grid,
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1.5fr 1fr; gap: 28px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .container { padding: 0 20px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    height: 50dvh;
    z-index: 1100;
    background: var(--c-bg);
    padding: 32px 24px;
    gap: 8px;
    overflow-y: auto;
  }
  .nav-links.open > li > a { font-size: 1.1rem; padding: 12px 16px; }
  .nav-dropdown { position: static; opacity: 1; pointer-events: all; transform: none; background: transparent; border: none; box-shadow: none; padding-left: 16px; z-index: auto; }

  .hero h1 { font-size: 2.5rem; }

  .card-grid.cols-3,
  .card-grid.cols-2,
  .testimonials-grid,
  .values-grid,
  .footer-grid { grid-template-columns: 1fr; }

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

  .footer-col--right { text-align: left; }
  .footer-col--right ul { align-items: flex-start; }
  .footer-social { justify-content: flex-start; }

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

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

  .cta-banner { padding: 48px 28px; }

  .step-item { grid-template-columns: 1fr; gap: 16px; }
  .step-num { font-size: 2rem; text-align: left; }

  .article-panel-header { padding: 16px 20px; }
  .article-body { padding: 28px 20px; }

  /* Hero video — full 16:9 width visible, buttons stacked */
  .hero-video { min-height: unset; }
  .hero-video__actions { flex-direction: column; align-items: center; gap: 12px; padding-bottom: 18px; }

  /* H1 below video — breathing room */
  .home-h1-wrap { padding-top: 60px; padding-bottom: 0; }

  /* Cards — reduce padding on mobile */
  .card { padding: 24px; }
  .service-card { padding: 28px 24px; }
  .service-num { font-size: 2rem; }

  /* Article close — larger touch target */
  .article-close { width: 44px; height: 44px; }

  /* Image band — reduce height on mobile */
  .image-band { height: 200px; }

  /* Two-col grid — stack on mobile */
  .two-col-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Hide secondary video button on mobile */
  .hero-video__secondary { display: none !important; }
}
