/* ─────────────────────────────────────────
   GIA — Global Institute of Internal Auditing
   Design System
───────────────────────────────────────── */

/* TOKENS */
:root {
  --red:        #C8102E;
  --red-dark:   #a00d24;
  --red-light:  #fce8eb;
  --red-light: #f5e6e9;
  --charcoal:  #1C1C1C;
  --dark:      #111111;
  --mid:       #6B6B6B;
  --border:    #E8E8E8;
  --bg:        #FAFAFA;
  --white:     #FFFFFF;
  --green:     #15803D;

  --f-serif:   'Playfair Display', Georgia, serif;
  --f-display: 'Inter', sans-serif;
  --f-body:    'Inter', sans-serif;
  --f-number:  'Bebas Neue', cursive;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 76px;
  --wrap:  1220px;
  --r:     12px;
  --r-lg:  20px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { border: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* LAYOUT */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

/* TYPOGRAPHY */
h2 {
  font-family: var(--f-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--charcoal);
}
h2 em {
  font-style: italic;
  color: var(--red);
}
h2.light, h2.light em { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow.light { color: rgba(255,255,255,0.6); }
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

/* BUTTONS */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
  border: 2px solid var(--red);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,16,46,0.35);
}
.btn-red svg { transition: transform 0.2s; }
.btn-red:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: transparent;
  color: var(--white);
  font-family: var(--f-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.35);
  transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 6px;
  border: 2px solid var(--border);
  transition: all 0.2s;
}
.btn-outline-dark:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--white); }

.btn-red-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: var(--white);
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.btn-red-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--f-body);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 6px;
  border: 2px solid var(--white);
  transition: all 0.2s;
}
.btn-white:hover { background: var(--bg); }

.btn-white-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  border: 2px solid var(--white);
  transition: all 0.2s;
}
.btn-white-sm:hover { background: transparent; color: var(--white); }

.btn-lg { padding: 18px 40px; font-size: 1rem; }
.full { width: 100%; justify-content: center; }
.full-w { width: 100%; justify-content: center; }

/* ─── PRELOADER ─── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.preloader.done { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }

.preloader-logo {
  font-family: var(--f-body);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  animation: pulseLogo 1s ease-in-out infinite alternate;
}
.preloader-logo span { color: var(--red); }

@keyframes pulseLogo {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
  border-radius: 2px;
  animation: loadBar 1.2s var(--ease-out) forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.nav-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-menu > a,
.nav-drop > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--mid);
  border-radius: 6px;
  transition: all 0.18s;
  white-space: nowrap;
}
.nav-menu > a:hover,
.nav-drop > a:hover,
.nav-drop:hover > a {
  color: var(--charcoal);
  background: var(--bg);
}

.nav-drop { position: relative; }

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  min-width: 260px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s var(--ease-out);
  pointer-events: none;
}
.nav-drop:hover .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-drop-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-drop-panel a:hover { background: var(--bg); }
.nav-drop-panel span { font-size: 0.88rem; font-weight: 600; color: var(--charcoal); }
.nav-drop-panel em { font-size: 0.78rem; font-style: normal; color: var(--mid); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-verify {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.18s;
}
.nav-verify:hover { color: var(--charcoal); }

.nav-cta {
  padding: 10px 22px;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.18s;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  background: none;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ─── HERO ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

.hero-left {
  background: var(--charcoal);
  display: flex;
  align-items: center;
  padding: 80px 64px 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,16,46,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left-inner {
  max-width: 560px;
  margin-left: auto;
  padding-left: 32px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(200,16,46,0); }
}

.hero-title {
  font-family: var(--f-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: block; }
.hero-title em { font-style: italic; color: rgba(255,255,255,0.5); }
.hero-title .red-text { color: var(--red); }

.hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hs { text-align: left; }
.hs strong {
  font-family: var(--f-number);
  font-size: 2.4rem;
  color: var(--white);
  line-height: 1;
  display: inline-block;
}
.hs sup {
  font-family: var(--f-body);
  font-size: 1.2rem;
  color: var(--red);
  vertical-align: super;
  line-height: 0;
}
.hs span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hs-div { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.75) saturate(0.9);
  transition: transform 8s ease;
}

.hero-img-wrap:hover .hero-img { transform: scale(1.03); }

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,28,28,0.3) 0%, transparent 60%);
}

.hero-float-card {
  position: absolute;
  bottom: 40px;
  left: 36px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--r);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: floatCard 3s ease-in-out infinite alternate;
}
@keyframes floatCard {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

.hfc-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.hfc-icon svg { width: 20px; height: 20px; }

.hero-float-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
}
.hero-float-card span {
  font-size: 0.76rem;
  color: var(--mid);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 2px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.scroll-line i {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--red);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(280%); }
}

/* ─── TICKER ─── */
.ticker-wrap {
  background: var(--charcoal);
  padding: 14px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}

.ticker-track span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 0 20px;
}
.ticker-track .sep {
  color: var(--red);
  font-size: 0.5rem;
  padding: 0 4px;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SERVICES ─── */
.services {
  padding: 120px 0;
  background: var(--white);
}

.services-head {
  margin-bottom: 56px;
}
.services-head h2 { max-width: 420px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.svc-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}
.svc-card:hover { background: var(--bg); }

.svc-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.svc-card:hover .svc-img img { transform: scale(1.06); }

.svc-num {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--f-number);
  font-size: 1rem;
  color: var(--white);
  background: var(--red);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.svc-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svc-body h3 {
  font-family: var(--f-body);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.svc-body p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
  transition: gap 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.svc-link:hover { gap: 12px; }

/* ─── STATS SECTION ─── */
.stats-section {
  background: var(--dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.stats-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.stats-copy h2 { color: var(--white); margin-bottom: 16px; }
.stats-copy p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 400px;
}

.stats-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r);
  overflow: hidden;
}

.stat-block {
  background: var(--dark);
  padding: 40px 36px;
  transition: background 0.2s;
}
.stat-block:hover { background: rgba(255,255,255,0.04); }

.stat-n {
  font-family: var(--f-number);
  font-size: 3.8rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-n sup {
  font-size: 2rem;
  color: var(--red);
  vertical-align: super;
  line-height: 0;
}
.count-dark { display: inline; }

.stat-l {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ─── ABOUT ─── */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }

.about-img-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 420px;
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.about-img-main:hover img { transform: scale(1.04); }

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  border-radius: var(--r);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  aspect-ratio: 4/3;
}
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: 40px;
  right: -20px;
  background: var(--red);
  border-radius: var(--r);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(200,16,46,0.3);
  color: var(--white);
}
.about-badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.about-badge strong { display: block; font-size: 0.88rem; font-weight: 700; }
.about-badge span { font-size: 0.75rem; opacity: 0.75; }

.about-content { padding-bottom: 40px; }

.about-content h2 { margin-bottom: 0; }

.about-pull {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--mid);
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--bg);
  border-radius: 0 8px 8px 0;
  line-height: 1.7;
}

.about-content > p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.al-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--charcoal);
}

.al-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.al-icon svg { width: 12px; height: 12px; }

/* ─── TRAINING ─── */
.training {
  padding: 120px 0;
  background: var(--bg);
}

.training-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.training-head h2 { max-width: 480px; }

.tracks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.track {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.track:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
  border-color: transparent;
}

.track-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.track-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.track:hover .track-img img { transform: scale(1.08); }

.track-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 20px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.track-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.track-meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

.track-body p {
  font-size: 0.87rem;
  color: var(--mid);
  line-height: 1.65;
  flex: 1;
}

.track-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}
.track-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--mid);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ─── COURSES ─── */
.courses {
  padding: 120px 0;
  background: var(--white);
}

.courses-head {
  margin-bottom: 48px;
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.course-main { border-radius: var(--r-lg); overflow: hidden; }

.course-main-img {
  position: relative;
  aspect-ratio: 1/1;
}
.course-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.course-main:hover .course-main-img img { transform: scale(1.04); }

.course-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cm-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.course-main-overlay h3 {
  font-family: var(--f-body);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 10px;
}

.course-main-overlay p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  line-height: 1.6;
}

.courses-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.course-card-sm {
  display: flex;
  gap: 0;
  background: var(--bg);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.course-card-sm:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

.ccs-img {
  width: 160px;
  flex-shrink: 0;
  overflow: hidden;
}
.ccs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.course-card-sm:hover .ccs-img img { transform: scale(1.08); }

.ccs-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ccs-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(200,16,46,0.1);
  color: var(--red);
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}
.ccs-tag.green { background: rgba(21,128,61,0.1); color: var(--green); }

.ccs-body h4 {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

.ccs-body p {
  font-size: 0.84rem;
  color: var(--mid);
  line-height: 1.6;
  flex: 1;
}

.ccs-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--red);
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
}
.ccs-link:hover { opacity: 0.75; }

/* ─── ISO FOR ORGS ─── */
.iso-orgs {
  padding: 120px 0;
  background: var(--charcoal);
}

.iso-head {
  margin-bottom: 56px;
}
.iso-head h2 { color: var(--white); }
.iso-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin-top: 14px;
  line-height: 1.7;
}

.iso-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.iso-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--ease-out);
}
.iso-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(200,16,46,0.35);
  transform: translateY(-4px);
}

.iso-card-img {
  aspect-ratio: 16/7;
  overflow: hidden;
  position: relative;
}
.iso-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(0.8);
  transition: transform 0.6s var(--ease-out);
}
.iso-card:hover .iso-card-img img { transform: scale(1.05); }

.iso-card-iso {
  position: absolute;
  top: 16px;
  left: 20px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}

.iso-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.iso-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.iso-card-body p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  flex: 1;
}

.iso-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.iso-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.iso-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200,16,46,0.25);
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.iso-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.iso-industries span {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 10px;
  border-radius: 100px;
}

.iso-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 8px;
  transition: gap 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.iso-card-cta:hover { gap: 12px; }

.tracks-loading, .content-loading {
  color: rgba(255,255,255,0.3);
  font-size: 0.9rem;
  padding: 48px 0;
  text-align: center;
}

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

/* ─── TESTIMONIAL ─── */
.testimonial-section {
  background: var(--charcoal);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testi-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.testi-big-quote {
  font-family: var(--f-number);
  font-size: 20rem;
  line-height: 0.7;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: -20px;
  left: -20px;
  pointer-events: none;
  user-select: none;
}

.testi-content { padding: 20px 0; }

.testi-quote {
  font-family: var(--f-serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  font-weight: 700;
  color: var(--white);
  line-height: 1.55;
  letter-spacing: 0;
  margin-bottom: 32px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--red);
  flex-shrink: 0;
}
.testi-avatar-img img { width: 100%; height: 100%; object-fit: cover; }

.testi-author strong { display: block; font-size: 0.95rem; color: var(--white); font-weight: 700; }
.testi-author span { font-size: 0.8rem; color: rgba(255,255,255,0.45); }

.testi-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi-card-sm {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r);
  padding: 24px;
  transition: all 0.25s;
}
.testi-card-sm:hover { background: rgba(255,255,255,0.08); }
.testi-card-sm.accent { background: rgba(200,16,46,0.12); border-color: rgba(200,16,46,0.2); }

.tcs-stars {
  color: #F59E0B;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testi-card-sm p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.tcs-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcs-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tcs-author strong { display: block; font-size: 0.85rem; color: var(--white); font-weight: 600; }
.tcs-author span { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* ─── CERTIFICATION ─── */
.certification {
  padding: 120px 0;
  background: var(--bg);
}

.cert-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cert-content h2 { margin-bottom: 16px; }
.cert-content > p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 28px;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.cert-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--charcoal);
}
.cert-list li svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
}

.cert-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.cert-visual { display: flex; justify-content: center; }

.cert-mockup {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--border);
  animation: certFloat 4s ease-in-out infinite alternate;
}
@keyframes certFloat {
  from { transform: translateY(0) rotate(-1deg); }
  to   { transform: translateY(-12px) rotate(1deg); }
}

.cm-header {
  background: var(--charcoal);
  padding: 20px 28px;
  display: flex;
  align-items: center;
}
.cm-logo { height: 32px; filter: brightness(0) invert(1); }

.cm-ribbon {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cm-body {
  padding: 36px 28px;
  text-align: center;
}
.cm-small { font-size: 0.8rem; color: var(--mid); margin-bottom: 6px; }
.cm-name {
  font-family: var(--f-body);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.cm-course {
  font-size: 1rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 24px;
}
.cm-seal { display: flex; justify-content: center; }
.cm-seal svg { width: 80px; height: 80px; }

.cm-footer {
  background: var(--bg);
  padding: 14px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--mid);
  border-top: 1px solid var(--border);
}

/* ─── MEMBERSHIP ─── */
.membership {
  padding: 120px 0;
  background: var(--white);
}

.mem-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.mem-head h2 { margin-bottom: 12px; }
.mem-head p { font-size: 0.95rem; color: var(--mid); }

.mem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.mem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: all 0.25s;
}
.mem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.mem-card.featured {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.mem-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.mem-tier {
  font-family: var(--f-body);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.mem-tier.light { color: var(--white); }

.mem-desc {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 28px;
}
.mem-desc.light { color: rgba(255,255,255,0.55); }

.mem-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  flex: 1;
}
.mem-perks li {
  font-size: 0.88rem;
  color: var(--charcoal);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}
.mem-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.mem-perks.light li { color: rgba(255,255,255,0.75); }

/* ─── INTERNSHIP ─── */
.intern {
  padding: 120px 0;
  background: var(--bg);
}

.intern-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intern-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.intern-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.intern-img:hover img { transform: scale(1.04); }

.intern-content h2 { margin-bottom: 16px; }
.intern-content > p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 32px;
}

.intern-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

.ib {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s;
}
.ib:hover { border-color: var(--red); box-shadow: 0 4px 20px rgba(200,16,46,0.08); }

.ib-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ib-icon svg { width: 18px; height: 18px; }

.ib span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.3;
}

.intern-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── CONSULT BANNER ─── */
.consult-banner {
  background: var(--red);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.consult-banner::before {
  content: 'CONSULTING';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-number);
  font-size: 14rem;
  color: rgba(255,255,255,0.06);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.cb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
}

.cb-text { max-width: 560px; }
.cb-text h2 { margin-bottom: 12px; }
.cb-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* ─── CONTACT ─── */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-left h2 { margin-bottom: 14px; }
.contact-left > p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--charcoal);
  transition: color 0.2s;
}
.ci-item:hover { color: var(--red); }
.ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.ci-item:hover .ci-icon { background: var(--red); border-color: var(--red); color: var(--white); }
.ci-icon svg { width: 18px; height: 18px; }

.contact-social {
  display: flex;
  gap: 10px;
}
.contact-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  transition: all 0.2s;
}
.contact-social a svg { width: 16px; height: 16px; }
.contact-social a:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); transform: translateY(-2px); }

.contact-form {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 44px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.cf-group input,
.cf-group select,
.cf-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
}
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: #BDBDBD; }
.cf-group textarea { resize: vertical; }

/* ─── VERIFY ─── */
.verify {
  background: var(--dark);
  padding: 60px 0;
}

.verify-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.verify-icon { flex-shrink: 0; }
.verify-icon svg { width: 48px; height: 48px; }

.verify-text { flex: 1; min-width: 200px; }
.verify-text h3 {
  font-family: var(--f-body);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.verify-text p { font-size: 0.88rem; color: rgba(255,255,255,0.45); }

.verify-form {
  display: flex;
  gap: 10px;
  flex: 2;
  min-width: 280px;
}
.verify-form input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.verify-form input::placeholder { color: rgba(255,255,255,0.3); }
.verify-form input:focus { border-color: var(--red); }

/* ─── FOOTER ─── */
.footer {
  background: var(--charcoal);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 32px 56px;
}

.footer-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-brand p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.footer-social a svg { width: 15px; height: 15px; }
.footer-social a:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 11px;
  transition: color 0.18s;
}
.footer-col a:hover { color: var(--white); }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bar-inner span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ─── CUSTOM DIALOG ─── */
#gia-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
#gia-dialog-overlay.open { opacity: 1; }

.gia-dialog {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 40px 36px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#gia-dialog-overlay.open .gia-dialog {
  transform: translateY(0) scale(1);
}

.gia-dialog-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  line-height: 1;
}

.gia-dialog-title {
  font-family: var(--f-body);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.gia-dialog-msg {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 28px;
}

.gia-dialog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 36px;
  background: var(--red);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.gia-dialog-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* ─── SCROLL ANIMATIONS ─── */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }

[data-animate].in-view {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 80px 32px; }
  .hero-left-inner { max-width: 100%; margin: 0; padding: 0; }
  .hero-right { height: 60vw; min-height: 400px; }
  .hero-scroll-hint { display: none; }

  .testi-inner { grid-template-columns: 1fr; gap: 48px; }
  .testi-big-quote { display: none; }

  .tracks { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: 1fr; }
  .course-main-img { aspect-ratio: 16/9; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-verify { display: none; }
  .nav-burger { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 24px 32px;
    overflow-y: auto;
    z-index: 99;
    border-top: 1px solid var(--border);
    gap: 0;
  }

  .nav-menu.open > a,
  .nav-drop > a {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    color: var(--charcoal);
  }

  .nav-drop-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg);
    border-radius: var(--r);
    padding: 8px;
    margin: 8px 0;
    pointer-events: auto;
  }

  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-img-secondary { display: none; }
  .about-badge { right: 0; }
  .cert-inner { grid-template-columns: 1fr; gap: 60px; }
  .mem-grid { grid-template-columns: 1fr; }
  .intern-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }

  .stats-numbers { grid-template-columns: 1fr 1fr; }
  .intern-benefits { grid-template-columns: 1fr; }

  .cb-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .wrap { padding: 0 20px; }
  .hero-left { padding: 60px 20px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .tracks { grid-template-columns: 1fr; }
  .courses-side .ccs-img { width: 100px; }
  .cf-row { grid-template-columns: 1fr; }
  .verify-inner { flex-direction: column; }
  .verify-form { flex-direction: column; width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar-inner { flex-direction: column; text-align: center; }
  .hero-float-card { display: none; }
  .stats-numbers { grid-template-columns: 1fr; }
  .training-head { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 28px 20px; }
  .consult-grid { grid-template-columns: 1fr; }
  .consult-cta-inner { flex-direction: column; text-align: center; }
}

/* ─── CLIENTS MARQUEE ─── */
.clients-section {
  padding: 56px 0 0;
  background: var(--white);
  overflow: hidden;
}
.clients-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  text-align: center;
  margin-bottom: 32px;
}
.clients-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg);
}
.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-marquee::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.clients-marquee::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.clients-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: clientsScroll 35s linear infinite;
  width: max-content;
}
.clients-track:hover { animation-play-state: paused; }

@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  min-width: 140px;
  border-right: 1px solid var(--border);
}
.client-logo:last-child { border-right: none; }

.cl-text {
  display: block;
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
}
.cl-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--mid);
  margin-top: 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── CONSULTATION SECTION (expanded) ─── */
.consultation { background: var(--white); }

.consult-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.consult-hero::before {
  content: 'ISO AUDIT';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-number);
  font-size: 18rem;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.consult-hero-inner { max-width: 680px; }
.consult-hero-inner h2 { color: var(--white); margin-bottom: 16px; }
.consult-hero-inner h2 em { color: var(--red); font-style: italic; font-family: var(--f-serif); }
.consult-hero-inner p { color: rgba(255,255,255,0.6); font-size: 1.05rem; line-height: 1.75; margin-bottom: 36px; max-width: 560px; }
.consult-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.consult-services { padding: 100px 0; background: var(--white); }
.section-top { margin-bottom: 52px; }
.section-top h2 { max-width: 480px; }

.consult-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.cs-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: var(--red-light);
}

.cs-icon {
  width: 52px;
  height: 52px;
  background: var(--red-light);
  color: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-icon svg { width: 26px; height: 26px; }

.cs-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
}
.cs-card > p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.7;
  flex: 1;
}

.cs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin: 0;
}
.cs-list li {
  font-size: 0.82rem;
  color: var(--mid);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}
.cs-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.75rem;
}

.consult-industries { margin-bottom: 56px; }
.consult-industries .eyebrow { margin-bottom: 16px; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.industry-tags span {
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg);
  color: var(--charcoal);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  transition: all 0.2s;
}
.industry-tags span:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.consult-cta { }
.consult-cta-inner {
  background: var(--charcoal);
  border-radius: var(--r-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.consult-cta-inner h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.consult-cta-inner p { color: rgba(255,255,255,0.55); font-size: 0.95rem; }

.iso-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* ─── FORM DIALOG ─── */
.gfd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gfd-overlay.open { opacity: 1; }

.gfd-panel {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.22);
  transform: translateY(28px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.gfd-overlay.open .gfd-panel { transform: none; }

.gfd-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 16px 16px 0 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--mid);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
  z-index: 1;
}
.gfd-close:hover { background: var(--border); color: var(--charcoal); }

.gfd-body { padding: 12px 40px 40px; }
.gfd-icon { font-size: 2.4rem; margin-bottom: 14px; }
.gfd-title { font-size: 1.3rem; font-weight: 800; color: var(--charcoal); letter-spacing: -0.02em; margin-bottom: 8px; }
.gfd-sub { font-size: 0.9rem; color: var(--mid); line-height: 1.65; margin-bottom: 24px; }

.gfd-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.gfd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gfd-field label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--charcoal); }
.gfd-opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: #BDBDBD; font-size: 0.72rem; }

.gfd-field input,.gfd-field select,.gfd-field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
}
.gfd-field input:focus,.gfd-field select:focus,.gfd-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
}
.gfd-field input::placeholder,.gfd-field textarea::placeholder { color: #BDBDBD; }
.gfd-field textarea { resize: vertical; min-height: 80px; }

.gfd-submit {
  width: 100%; padding: 14px;
  background: var(--red); color: var(--white);
  border: none; border-radius: 8px;
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: background 0.18s, transform 0.15s;
  margin-top: 6px;
}
.gfd-submit:hover { background: var(--red-dark); transform: translateY(-1px); }

.gfd-spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: gfdSpin 0.7s linear infinite;
  margin: 0 auto;
}
@keyframes gfdSpin { to { transform: rotate(360deg); } }

.gfd-checkmark { width: 64px; height: 64px; margin: 0 auto 4px; }
.gfd-checkmark svg { width: 100%; height: 100%; }
.gfd-check-path {
  stroke-dasharray: 50; stroke-dashoffset: 50;
  animation: gfdDraw 0.6s 0.2s ease forwards;
}
@keyframes gfdDraw { to { stroke-dashoffset: 0; } }

@media(max-width: 600px) {
  .gfd-body { padding: 8px 24px 32px; }
  .gfd-row { grid-template-columns: 1fr; }
}

/* ─── CUSTOM DIALOG ─── */
#gia-dialog-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 24px;
  opacity: 0; transition: opacity 0.25s ease;
}
#gia-dialog-overlay.open { opacity: 1; }
.gia-dialog {
  background: var(--white); border-radius: 20px;
  padding: 44px 40px 36px; max-width: 460px; width: 100%;
  text-align: center; box-shadow: 0 32px 80px rgba(0,0,0,.22);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
#gia-dialog-overlay.open .gia-dialog { transform: none; }
.gia-dialog-icon { font-size: 2.8rem; margin-bottom: 18px; line-height: 1; }
.gia-dialog-title { font-size: 1.25rem; font-weight: 800; color: var(--charcoal); letter-spacing: -0.02em; margin-bottom: 12px; }
.gia-dialog-msg { font-size: 0.95rem; color: var(--mid); line-height: 1.7; margin-bottom: 28px; }
.gia-dialog-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 36px; background: var(--red); color: var(--white);
  font-size: 0.92rem; font-weight: 700; border: none; border-radius: 8px;
  cursor: pointer; transition: background 0.2s, transform 0.15s; width: 100%; font-family: inherit;
}
.gia-dialog-btn:hover { background: var(--red-dark); transform: translateY(-1px); }

