/* ============================================================
   FORGE NXT — style.css  v2
   Blue / Steel Grey / White — Swiss Alpine
   ============================================================ */

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

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

:root {
  /* Blues */
  --navy:         #0D2244;
  --blue-dark:    #1A4B8A;
  --blue:         #2563BC;
  --blue-mid:     #3B82F6;
  --blue-light:   #93C5FD;
  --blue-pale:    #EBF2FF;
  --blue-xpale:   #F5F8FF;

  /* Steel Greys — new additions */
  --steel-950:    #0F1117;
  --steel-900:    #181C26;
  --steel-800:    #232835;
  --steel-700:    #363C4E;
  --steel-600:    #4E5568;
  --steel-500:    #6B7390;
  --steel-400:    #8C94AD;
  --steel-300:    #B4BAC8;
  --steel-200:    #D4D8E2;
  --steel-100:    #ECEEF3;
  --steel-50:     #F4F5F8;

  /* White */
  --white:        #FFFFFF;
  --off-white:    #F8F9FC;

  /* Semantic */
  --bg-body:      var(--off-white);
  --text-dark:    #1A1E2E;
  --text-mid:     var(--steel-600);
  --text-light:   var(--steel-400);
  --accent:       var(--blue);

  /* Radii */
  --radius-pill:  9999px;
  --radius-lg:    1rem;
  --radius-md:    0.5rem;
  --radius-xl:    1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(13,34,68,0.07), 0 1px 2px rgba(13,34,68,0.05);
  --shadow-md: 0 4px 20px rgba(13,34,68,0.11), 0 2px 8px rgba(13,34,68,0.07);
  --shadow-lg: 0 12px 48px rgba(13,34,68,0.16), 0 4px 16px rgba(13,34,68,0.09);
  --shadow-xl: 0 24px 80px rgba(13,34,68,0.22), 0 8px 24px rgba(13,34,68,0.12);

  --max-w: 1200px;
  --nav-h: 76px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--bg-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.15rem; }

.label {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  display: block;
}

.label-light {
  color: var(--blue-light);
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

section { padding: 8rem 0; }
.section-header { margin-bottom: 4.5rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  padding: 0.85rem 2.1rem;
  transition: all 0.28s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,188,0.35); }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-pale); transform: translateY(-2px); }

.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--blue-pale); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }

.btn-steel { background: var(--steel-800); color: var(--white); border-color: var(--steel-700); }
.btn-steel:hover { background: var(--steel-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── NAVIGATION ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

#nav.solid {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--steel-200);
  border-color: var(--steel-200);
}

#nav.solid .nav-link { color: var(--steel-700); }
#nav.solid .nav-link:hover { color: var(--blue); }
#nav.solid .hamburger-line { background: var(--navy); }

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

.nav-logo img { height: 38px; width: auto; }
.nav-logo-dark { display: none; }
.nav-logo-light { display: block; }
#nav.solid .nav-logo-dark { display: block; }
#nav.solid .nav-logo-light { display: none; }

.nav-menu { display: flex; align-items: center; gap: 2.5rem; }

.nav-link {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--blue-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1100;
}

.hamburger-line {
  width: 24px; height: 1.5px;
  background: white;
  transition: all 0.3s ease;
  display: block;
}

.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--navy); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--navy); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1050;
  background: var(--white);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
  opacity: 0; pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mobile-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); }

.mobile-link {
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem; font-weight: 300;
  color: var(--navy);
  transition: color 0.2s;
}

.mobile-link:hover { color: var(--blue); }

.mobile-mountain {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 140px; overflow: hidden; pointer-events: none;
}

/* ── HERO ────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 7rem;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,34,68,0.25) 0%,
    rgba(13,34,68,0.15) 35%,
    rgba(13,34,68,0.65) 72%,
    rgba(13,34,68,0.94) 100%
  );
}

/* Chess knight hero accent */
.hero-chess {
  position: absolute;
  right: -2%;
  bottom: 0;
  height: 90%;
  z-index: 1;
  opacity: 0.07;
  pointer-events: none;
  filter: drop-shadow(0 0 80px rgba(147,197,253,0.3));
  animation: knightFloat 8s ease-in-out infinite;
}

@keyframes knightFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}

.hero-content { position: relative; z-index: 2; color: var(--white); }

.hero-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s forwards 0.3s;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 1s forwards 0.55s;
  font-weight: 700;
}

.hero-title span { color: var(--blue-light); }

.hero-rule {
  width: 56px; height: 2px;
  background: var(--blue);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeIn 0.8s forwards 0.75s;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 500px; margin-bottom: 2.75rem;
  line-height: 1.85;
  opacity: 0;
  animation: fadeUp 0.9s forwards 0.8s;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s forwards 1s;
}

.hero-scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.4rem;
  opacity: 0;
  animation: fadeIn 1s forwards 1.6s;
}

.hero-scroll-cue span {
  font-family: 'Sora', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}

.scroll-dot {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: scrollAnim 2.2s ease-in-out infinite 2s;
}

/* ── STATS ───────────────────────────────────────────────────── */
#stats {
  background: var(--steel-900);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--steel-800);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-divider {
  width: 1px;
  background: var(--steel-700);
  align-self: stretch;
}

.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--white);
  line-height: 1; margin-bottom: 0.5rem;
}

.stat-num .accent { color: var(--blue-light); }

.stat-label {
  font-size: 0.78rem;
  color: var(--steel-400);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ── WHAT WE DO ─────────────────────────────────────────────── */
#what { background: var(--white); }

.what-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.what-image img { width: 100%; height: 100%; object-fit: cover; }

.what-body {
  font-size: 1rem; color: var(--text-mid);
  line-height: 1.9; margin-bottom: 1.5rem;
}

.what-points { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2.25rem; }

.what-point { display: flex; gap: 1rem; align-items: flex-start; }

.point-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
  margin-top: 0.6rem;
}

.point-text { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; }

/* ── TWO BRANCHES ────────────────────────────────────────────── */
#branches {
  background: var(--steel-950);
  padding: 9rem 0;
  position: relative;
  overflow: hidden;
}

.branches-chess-bg {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  height: 120%;
  opacity: 0.025;
  pointer-events: none;
  color: white;
  filter: blur(1px);
}

.branches-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative; z-index: 1;
}

.branches-header h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.branches-header p {
  color: var(--steel-400);
  max-width: 520px;
  margin: 1.25rem auto 0;
  font-size: 1rem;
  line-height: 1.8;
}

.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  position: relative; z-index: 1;
}

.branch-card {
  padding: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}

.branch-card.advisory {
  background: var(--steel-900);
  border-top: 3px solid var(--blue);
}

.branch-card.technology {
  background: var(--navy);
  border-top: 3px solid var(--blue-mid);
}

.branch-card:hover { filter: brightness(1.06); }

.branch-number {
  font-family: 'Sora', sans-serif;
  font-size: 5rem; font-weight: 700;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 1.5rem; right: 2rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.branch-tag {
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1rem;
  display: block;
}

.branch-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.75rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.branch-desc {
  font-size: 0.95rem; color: var(--steel-400);
  line-height: 1.82; margin-bottom: 2.5rem;
  max-width: none;
}

.branch-services {
  display: flex; flex-direction: column; gap: 0.75rem;
}

.branch-service {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  transition: background 0.25s, border-color 0.25s;
}

.branch-service:hover {
  background: rgba(255,255,255,0.065);
  border-color: rgba(147,197,253,0.2);
}

.branch-service-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: rgba(37,99,188,0.25);
  display: flex; align-items: center; justify-content: center;
}

.branch-service-icon svg { width: 16px; height: 16px; }

.branch-service-text h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}

.branch-service-text p {
  font-size: 0.8rem; color: var(--steel-500);
  line-height: 1.55;
}

/* ── HOW WE WORK ─────────────────────────────────────────────── */
#how { background: var(--steel-50); border-top: 1px solid var(--steel-200); }

.principle-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--steel-200);
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.35s ease;
}

.principle-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue-mid));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}

.principle-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.principle-card:hover::before { transform: scaleX(1); }

.principle-num {
  font-family: 'Sora', sans-serif;
  font-size: 3rem; font-weight: 700;
  color: var(--steel-100);
  line-height: 1; margin-bottom: 1.75rem;
}

.principle-card h3 { color: var(--navy); margin-bottom: 0.75rem; }

.principle-card p {
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.78;
}

/* ── CHESS / QUOTE SECTION ───────────────────────────────────── */
#chess-quote {
  background: var(--navy);
  padding: 9rem 0;
  position: relative; overflow: hidden;
}

.chess-quote-knight {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  height: 85%;
  opacity: 0.12;
  color: white;
  pointer-events: none;
  animation: knightFloat 10s ease-in-out infinite;
  filter: drop-shadow(0 0 60px rgba(147,197,253,0.2));
}

.chess-quote-content {
  position: relative; z-index: 1;
  max-width: 680px;
}

.chess-quote-mark {
  font-family: 'Sora', sans-serif;
  font-size: 8rem; font-weight: 700;
  color: var(--blue);
  opacity: 0.4;
  line-height: 0.7;
  margin-bottom: 1rem;
  display: block;
}

.chess-quote-text {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.chess-quote-attr {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-light);
}

/* ── LEADERSHIP / DR. BATISTINI ─────────────────────────────── */
#leadership {
  background: var(--white);
  border-top: 1px solid var(--steel-200);
}

.leader-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: start;
  background: var(--off-white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.leader-photo {
  position: relative;
  background: var(--steel-900);
  min-height: 520px;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leader-photo-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--blue);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
}

.leader-info {
  padding: 3.5rem 3.5rem 3.5rem 0;
}

.leader-name {
  font-family: 'Sora', sans-serif;
  font-size: 2rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.leader-title {
  font-size: 0.85rem; font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.leader-divider {
  width: 40px; height: 2px;
  background: var(--blue);
  margin-bottom: 1.75rem;
  border-radius: 99px;
}

.leader-bio {
  font-size: 0.98rem; color: var(--text-mid);
  line-height: 1.9; margin-bottom: 1.25rem;
}

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

.leader-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--navy); line-height: 1;
  margin-bottom: 0.3rem;
}

.leader-stat-num .accent { color: var(--blue); }

.leader-stat-label {
  font-size: 0.75rem; color: var(--text-light);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ── CONTACT ─────────────────────────────────────────────────── */
#contact {
  background: var(--steel-950);
  padding: 0; overflow: hidden; position: relative;
}

.contact-mountain { width: 100%; display: block; margin-bottom: -2px; }

.contact-inner {
  padding: 5rem 0 7rem;
  text-align: center; position: relative; z-index: 1;
}

.contact-inner h2 { color: var(--white); margin-bottom: 1.25rem; }
.contact-inner h2 span { color: var(--blue-light); }

.contact-sub {
  font-size: 1rem; color: var(--steel-400);
  max-width: 460px; margin: 0 auto 2.75rem; line-height: 1.85;
}

.contact-email {
  margin-top: 2rem;
  font-size: 0.82rem; color: var(--steel-500);
  letter-spacing: 0.05em;
}

.contact-email a { color: var(--blue-light); transition: color 0.2s; }
.contact-email a:hover { color: var(--white); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: #060A14;
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1.5rem;
}

.footer-nav { display: flex; gap: 2rem; }

.footer-nav a {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.08em;
  color: var(--steel-600); transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--steel-700); letter-spacing: 0.06em;
}

.footer-branches {
  display: flex; gap: 1rem; align-items: center;
}

.footer-branch-tag {
  font-family: 'Sora', sans-serif;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--steel-600);
  border: 1px solid var(--steel-800);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible { opacity: 1; transform: translateX(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; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes scrollAnim {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .branches-grid { grid-template-columns: 1fr; gap: 3px; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-photo { min-height: 360px; }
  .leader-info { padding: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  section { padding: 5rem 0; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero-chess { display: none; }
  .chess-quote-knight { opacity: 0.06; height: 60%; }
  .leader-stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .branch-card { padding: 2.5rem 1.75rem; }
  .leader-stats { grid-template-columns: 1fr 1fr; }
}
