/* ============================================================
   CASTLE ADVISORS GROUP
   Design: wolverineworldwide.com exact replica
   Font: Inter — Google Fonts
   Palette: Black / White / Gray
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font: inherit; padding: 0; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* === TOKENS === */
:root {
  --black:       #000000;
  --white:       #ffffff;
  --text:        #1a1a1a;
  --muted:       #767676;
  --border:      #e8e8e8;
  --bg-off:      #f5f5f5;
  --bg-dark:     #111111;
  --ph:          #d4d4d4;    /* image placeholder light */
  --ph-dark:     #1f1f1f;    /* image placeholder dark */
  --max-w:       1280px;
  --nav-h:       64px;
  --pad:         40px;
  --sy:          96px;       /* section vertical padding */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}
h1, h2, h3, h4, h5 { line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
p { line-height: 1.7; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 9px 20px;
  letter-spacing: 0.04em;
}
.announcement-bar a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.announcement-bar a:hover { opacity: 0.7; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}

/* Logo */
.nav-logo { color: var(--black); white-space: nowrap; }
.nav-logo-main { font-size: 0.88rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.nav-logo-sub { display: block; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Links */
.nav-links { display: flex; align-items: center; }
.nav-item { position: static; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  padding: 0 14px;
  height: var(--nav-h);
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.nav-link:hover { color: var(--black); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-chevron { font-size: 0.58rem; line-height: 1; transition: transform 0.2s; }
.nav-item.open .nav-chevron { transform: rotate(180deg); }

/* Mobile toggle — WWW uses text "Menu +" style */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   DROPDOWN PANELS
   ============================================================ */
.dropdown-panel {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 400;
}
.dropdown-panel.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

/* Who We Serve dropdown — image cards + view-all link */
.dp-serve-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 36px 0;
}
.dp-view-all {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 6px;
  transition: color 0.2s;
}
.dp-view-all:hover { color: var(--black); }
.dp-cards { display: flex; gap: 20px; flex: 1; }
a.dp-card, button.dp-card {
  flex: 1;
  display: block;
  text-align: left;
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  transition: opacity 0.2s;
}
a.dp-card:hover, button.dp-card:hover { opacity: 0.75; }
.dp-card-img {
  aspect-ratio: 3 / 2;
  background: var(--ph);
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}
.dp-card-img img { position: absolute; inset: 0; }
.dp-card-name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.dp-card-sub { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

/* Events dropdown — text list */
.dp-events-inner { padding: 36px 0; }
.dp-event-list { display: flex; flex-direction: column; max-width: 480px; }
button.dp-event-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
  background: none;
  font: inherit;
  color: inherit;
  transition: opacity 0.2s;
}
button.dp-event-item:first-child { border-top: none; padding-top: 0; }
button.dp-event-item:hover { opacity: 0.75; }
.dp-event-name { font-size: 1rem; font-weight: 700; color: var(--text); }
.dp-event-sub { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
button.dp-event-item:hover .dp-event-name { text-decoration: underline; text-underline-offset: 3px; }

/* Overlay behind dropdown */
.nav-overlay {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 300;
}
.nav-overlay.visible { opacity: 1; visibility: visible; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-black  { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-black:hover { background: #222; border-color: #222; }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-sm  { padding: 9px 18px; font-size: 0.78rem; }
.btn-lg  { padding: 16px 36px; font-size: 0.9375rem; }

/* Text CTA link (WWW "Learn More About Us →" style) */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(0,0,0,0.3);
  transition: text-decoration-color 0.2s, gap 0.2s var(--ease);
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}
.link-cta:hover { text-decoration-color: var(--black); gap: 13px; }
.link-cta-white { color: var(--white); text-decoration-color: rgba(255,255,255,0.35); }
.link-cta-white:hover { text-decoration-color: var(--white); }
.btn-group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   HERO — full viewport, dark image, text bottom-left
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--ph-dark);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--ph-dark); }
.hero-bg img { position: absolute; inset: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; color: var(--white); }
.hero-headline {
  font-size: clamp(3.2rem, 7.5vw, 7.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 0.97;
  letter-spacing: -0.035em;
  margin-bottom: 36px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.4);
  transition: text-decoration-color 0.2s, gap 0.2s var(--ease);
  cursor: pointer;
  background: none;
  border: none;
}
.hero-cta:hover { text-decoration-color: var(--white); gap: 14px; }

/* ============================================================
   CLIENT SEGMENTS GRID (Brand Portfolio equiv.)
   ============================================================ */
.segments-section { padding: var(--sy) 0; background: var(--white); }
.segments-heading { padding: 0 var(--pad); max-width: var(--max-w); margin: 0 auto 48px; }
.segments-heading h2 { font-size: clamp(2rem, 4.5vw, 4rem); max-width: 560px; }
.segments-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.segment-card { display: block; overflow: hidden; cursor: pointer; color: inherit; }
.segment-card-img { aspect-ratio: 4 / 5; background: var(--ph); overflow: hidden; position: relative; }
.segment-card-img img { position: absolute; inset: 0; transition: transform 0.6s var(--ease); }
.segment-card:hover .segment-card-img img { transform: scale(1.04); }
.segment-card-body {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.segment-card-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.segment-card-age { font-size: 0.75rem; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.segment-card-link {
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--black);
  transition: gap 0.2s var(--ease);
}
.segment-card:hover .segment-card-link { gap: 10px; }

/* ============================================================
   FEATURE SECTION (split: image + text)
   ============================================================ */
.feature-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.feature-img { background: var(--ph); position: relative; overflow: hidden; min-height: 400px; }
.feature-img img { position: absolute; inset: 0; }
.feature-body {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.feature-eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.feature-body h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 20px; max-width: 380px; }
.feature-body p { font-size: 0.9375rem; line-height: 1.75; color: var(--muted); margin-bottom: 36px; max-width: 380px; }
.feature-section.flip { direction: rtl; }
.feature-section.flip > * { direction: ltr; }
.feature-section.flip .feature-body { background: var(--bg-off); }

/* ============================================================
   CULTURE (full-width dark image)
   ============================================================ */
.culture-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--ph-dark);
}
.culture-bg { position: absolute; inset: 0; background: var(--ph-dark); }
.culture-bg img { position: absolute; inset: 0; }
.culture-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1; }
.culture-content { position: relative; z-index: 2; color: var(--white); max-width: 680px; }
.culture-content h2 { font-size: clamp(2rem, 4vw, 3.5rem); color: var(--white); margin-bottom: 20px; }
.culture-content p { font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 520px; }

/* ============================================================
   STATS (Market Snapshot equiv.)
   ============================================================ */
.stats-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 52px var(--pad); border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-label-top { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.stat-num { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--black); line-height: 1; margin-bottom: 4px; }
.stat-desc { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }

/* ============================================================
   EVENTS / NEWS CARDS (Latest News equiv.)
   ============================================================ */
.events-section { padding: var(--sy) 0; background: var(--white); }
.events-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; }
.events-header h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.event-card { background: var(--white); cursor: pointer; display: block; text-align: left; width: 100%; color: inherit; font: inherit; border: none; }
.event-card-img { aspect-ratio: 3 / 2; background: var(--ph); overflow: hidden; position: relative; }
.event-card-img img { position: absolute; inset: 0; transition: transform 0.5s var(--ease); }
.event-card:hover .event-card-img img { transform: scale(1.04); }
.event-card-body { padding: 24px; }
.event-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.event-title { font-size: 1.025rem; font-weight: 700; line-height: 1.3; color: var(--text); margin-bottom: 8px; }
.event-meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 16px; }
.event-link { font-size: 0.78rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--black); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s var(--ease); }
.event-card:hover .event-link { gap: 10px; }

/* ============================================================
   CAREERS CTA (full-width dark post-section)
   ============================================================ */
.careers-cta-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--bg-dark);
}
.careers-cta-bg { position: absolute; inset: 0; background: var(--ph-dark); }
.careers-cta-bg img { position: absolute; inset: 0; opacity: 0.4; }
.careers-cta-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 100%); z-index: 1; }
.careers-cta-content { position: relative; z-index: 2; color: var(--white); max-width: 640px; }
.careers-cta-content h2 { font-size: clamp(2rem, 4.5vw, 4rem); color: var(--white); margin-bottom: 20px; }
.careers-cta-content p { font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.72); margin-bottom: 36px; max-width: 480px; }
.cta-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--bg-dark); color: var(--white); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 80px var(--pad) 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-brand-name { font-size: 0.875rem; font-weight: 800; color: var(--white); margin-bottom: 14px; letter-spacing: -0.01em; line-height: 1.2; }
.footer-brand-desc { font-size: 0.85rem; line-height: 1.75; color: rgba(255,255,255,0.45); margin-bottom: 28px; max-width: 300px; }
.footer-social { display: flex; flex-direction: column; gap: 8px; }
.footer-social a { font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.55); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.footer-social a:hover { color: var(--white); }
.footer-col h4 { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li a { font-size: 0.85rem; color: rgba(255,255,255,0.62); transition: color 0.2s; }
.footer-col li a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.72rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
  overflow: hidden;
  background: var(--ph-dark);
}
.page-hero-bg { position: absolute; inset: 0; background: var(--ph-dark); }
.page-hero-bg img { position: absolute; inset: 0; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 65%, transparent 100%);
  z-index: 1;
}
.page-hero-content { position: relative; z-index: 2; color: var(--white); }
.page-eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.page-hero-title {
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 0.97;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.page-hero-desc { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.68); max-width: 460px; margin-bottom: 32px; }

/* ============================================================
   INNER PAGE — GENERAL SECTIONS
   ============================================================ */
.section   { padding: var(--sy) 0; }
.section-sm { padding: 60px 0; }
.bg-off    { background: var(--bg-off); }

.section-eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.section-title   { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 18px; }
.section-sub     { font-size: 0.9375rem; line-height: 1.75; color: var(--muted); max-width: 540px; margin-bottom: 48px; }

/* Cards grid */
.cards-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-item { background: var(--white); padding: 36px 32px; }
.card-item-img { aspect-ratio: 3 / 2; background: var(--ph); margin-bottom: 24px; overflow: hidden; position: relative; }
.card-item-img img { position: absolute; inset: 0; }
.card-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.card-item p { font-size: 0.875rem; line-height: 1.7; color: var(--muted); margin-bottom: 20px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.72rem; color: var(--muted); font-weight: 500; margin-bottom: 20px; }

/* Split section */
.split-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.split-img { background: var(--ph); position: relative; overflow: hidden; min-height: 360px; }
.split-img img { position: absolute; inset: 0; }
.split-content { padding: 72px 60px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.split-content h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-bottom: 18px; }
.split-content p { font-size: 0.9375rem; line-height: 1.75; color: var(--muted); margin-bottom: 28px; max-width: 420px; }
.split-section.flip { direction: rtl; }
.split-section.flip > * { direction: ltr; }
.split-section.flip .split-content { background: var(--bg-off); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 52px; }
.step-item { background: var(--white); padding: 40px 32px; }
.step-num { font-size: 2.4rem; font-weight: 800; color: var(--border); letter-spacing: -0.05em; line-height: 1; margin-bottom: 24px; }
.step-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; }
.step-item p { font-size: 0.85rem; line-height: 1.7; color: var(--muted); }

/* Perks list */
.perks-list { display: flex; flex-direction: column; gap: 0; }
.perks-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.9rem; line-height: 1.6; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--border); }
.perks-list li:last-child { border-bottom: none; }
.perks-list li strong { font-weight: 600; flex-shrink: 0; }

/* Role card */
.role-card { background: var(--white); padding: 36px 32px; }
.role-tag { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--border); padding: 4px 10px; margin-bottom: 16px; color: var(--muted); }
.role-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.role-card > p { font-size: 0.875rem; line-height: 1.7; color: var(--muted); margin-bottom: 20px; }
.role-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.72rem; color: var(--muted); margin-bottom: 24px; }

/* Agenda */
.agenda-list { display: flex; flex-direction: column; }
.agenda-item { padding: 24px 0; border-bottom: 1px solid var(--border); display: flex; gap: 24px; align-items: flex-start; }
.agenda-time { font-size: 0.75rem; font-weight: 700; color: var(--muted); white-space: nowrap; min-width: 76px; padding-top: 3px; }
.agenda-content h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.agenda-content p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* Value cards */
.value-card { background: var(--white); padding: 36px 32px; }
.value-icon { font-size: 1.6rem; margin-bottom: 16px; }
.value-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.25s var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { padding: 36px 36px 28px; position: relative; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 1.4rem; margin-bottom: 6px; }
.modal-header p { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.modal-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 1rem; color: var(--muted);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  transition: background 0.2s;
  cursor: pointer;
}
.modal-close:hover { background: var(--bg-off); }
.modal-body { padding: 28px 36px 36px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 6px; color: var(--text); letter-spacing: 0.01em; }
.form-control {
  display: block; width: 100%;
  padding: 11px 14px;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-control:focus { border-color: var(--black); }
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23767676' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-hint { font-size: 0.72rem; color: var(--muted); margin-top: 6px; }
.form-submit { width: 100%; margin-top: 8px; }
.modal-success { text-align: center; padding: 40px 0 20px; }
.success-icon {
  width: 52px; height: 52px;
  border: 2px solid var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700;
  margin: 0 auto 20px;
}
.modal-success h3 { font-size: 1.35rem; margin-bottom: 10px; }
.modal-success p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.anim { opacity: 0; transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.anim-up   { transform: translateY(36px); }
.anim-left { transform: translateX(-32px); }
.anim.in-view { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad: 28px; --sy: 72px; }
  .feature-section { grid-template-columns: 1fr; }
  .feature-section.flip { direction: ltr; }
  .feature-img { min-height: 360px; }
  .feature-body { padding: 60px 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; }
  .split-section.flip { direction: ltr; }
  .split-content { padding: 60px 40px; }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .dp-cards { flex-wrap: wrap; }
  .dp-serve-inner { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
  :root { --pad: 20px; --sy: 60px; }
  /* Mobile nav */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-link {
    height: auto;
    padding: 15px var(--pad);
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
    width: 100%;
  }
  .nav-link::after { display: none; }
  .nav-toggle { display: flex; }
  /* Dropdown mobile: toggle */
  .dropdown-panel {
    position: static;
    border: none;
    border-bottom: 1px solid var(--border);
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
  }
  .dropdown-panel.mobile-open { display: block; }
  .dp-serve-inner { flex-direction: column; gap: 12px; padding: 12px var(--pad) 20px; }
  .dp-card-img { display: none; }
  .dp-events-inner { padding: 12px var(--pad) 20px; }
  .dp-event-list { max-width: 100%; }
  /* grids */
  .events-grid { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .feature-body { padding: 48px var(--pad); }
  .split-content { padding: 52px var(--pad); }
}

@media (max-width: 640px) {
  .hero-headline { font-size: clamp(2.8rem, 11vw, 3.6rem); }
  .page-hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .segments-grid { grid-template-columns: 1fr; }
  .cards-grid-2, .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 36px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-actions, .btn-group { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .footer-legal { gap: 12px; }
}
