/* =============================================
   AI-GAMNET — DESIGN SYSTEM
   Orange primary + deep blue hero
   ============================================= */

:root {
  --primary: #ff6b35;
  --primary-light: #ff8555;
  --primary-dark: #e85a28;
  --accent: #1e3a5f;
  --accent-light: #2d5280;
  --accent-dark: #0f172a;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --red: #EF4444;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --topbar-h: 0px;
  --nav-h: 72px;
  --total-nav-h: var(--nav-h);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15,23,42,0.12);
  --shadow-lg: 0 12px 48px rgba(15,23,42,0.18);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.text-center { text-align: center; }

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--accent-dark);
  line-height: 1.1;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,0.4); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* ===== EDITOR TOOLBAR ===== */
.editor-toolbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-bottom: 3px solid var(--accent);
}
.editor-toolbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.editor-label { font-size: 0.9rem; font-weight: 600; }
.editor-actions { display: flex; gap: 0.75rem; }
.editor-actions button {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}
#save-btn { background: var(--accent); color: var(--white); }
#save-btn:hover { background: var(--accent-dark); }
#exit-btn { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
#exit-btn:hover { background: rgba(255,255,255,0.1); }

/* ===== ADMIN TRIGGER ===== */
.admin-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  background: var(--primary);
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0.7;
}
.admin-trigger:hover { opacity: 1; transform: scale(1.1); }

/* ===== LOGIN MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(26,60,94,0.8);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.modal-box h2 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 900; margin-bottom: 0.5rem; }
.modal-box p { color: var(--gray-600); margin-bottom: 1.5rem; }
.modal-box input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}
.modal-box input:focus { border-color: var(--accent); }
.modal-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.modal-actions button {
  flex: 1; padding: 0.85rem;
  border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem;
  background: var(--accent); color: var(--white);
  transition: var(--transition);
}
.modal-actions button:hover { background: var(--accent-dark); }
.modal-actions button.cancel { background: var(--gray-100); color: var(--gray-600); }
.modal-actions button.cancel:hover { background: var(--gray-200); }

/* ===== EDIT MODE HIGHLIGHT ===== */
body.edit-mode .editable {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
  cursor: text;
  border-radius: 4px;
  min-width: 30px;
  min-height: 1em;
  transition: background 0.2s;
}
body.edit-mode .editable:hover { background: rgba(212,160,23,0.1); }
body.edit-mode .editable:focus { outline: 2px solid var(--accent); background: rgba(212,160,23,0.15); }

/* ===== NAVBAR ===== */
.top-bar { display: none !important; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--accent-dark);
  letter-spacing: 0.04em;
}
.logo-text-accent {
  color: var(--primary);
  font-size: 1rem;
  margin-left: 0.2rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
}
.has-dropdown { position: relative; }
.has-dropdown .caret { font-size: 0.7rem; opacity: 0.7; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 190px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: 0.4rem; display: none; flex-direction: column; gap: 0.1rem; z-index: 1100;
}
.has-dropdown:hover .dropdown { display: flex; }
.dropdown a {
  display: block; padding: 0.55rem 0.85rem; border-radius: 6px;
  text-transform: none; letter-spacing: 0; font-size: 0.85rem; color: var(--gray-600);
}
.dropdown a:hover, .dropdown a.active { background: rgba(255,107,53,0.1); color: var(--primary); }
.hub-link { display: inline-block; margin-top: 0.75rem; color: var(--primary); font-weight: 700; font-size: 0.85rem; }
.nav-ctas { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-ctas .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
}
.nav-ctas .btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.nav-ctas .btn-primary { padding: 0.6rem 1.4rem; font-size: 0.8rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  margin-left: auto;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--accent-dark); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--total-nav-h);
  background: var(--primary);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,60,94,0.88) 0%,
    rgba(26,60,94,0.72) 50%,
    rgba(26,60,94,0.5) 100%
  );
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--primary) 80%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: var(--white);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.4);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 2rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-highlight {
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.btn-hero-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(212,160,23,0.35);
}
.btn-hero-primary:hover { background: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(212,160,23,0.5); }
.btn-hero-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 1.1rem 2rem;
  border-radius: 50px;
  transition: var(--transition);
}
.btn-hero-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ===== SECTION: INFO CARD ===== */
.info-section {
  background: var(--off-white);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon { font-size: 2.5rem; margin-bottom: 1.25rem; color: var(--accent); }
.card h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--primary); }
.card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {
  max-width: 320px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--accent); font-size: 1rem; margin-left: 0.2rem; }
.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a {
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); padding-left: 5px; }

/* Contact Form */
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--off-white);
  font-family: var(--font-body);
}
.btn-form {
  background: var(--accent); color: var(--white);
  padding: 1rem 2rem; font-weight: 800; border-radius: var(--radius); width: 100%; transition: var(--transition);
}
.btn-form:hover { background: var(--accent-dark); }

/* ===== AI-GAMNET OVERRIDES ===== */
.hero-compact {
  min-height: 0 !important;
  padding: calc(var(--nav-h) + 1.25rem) 0 1.25rem !important;
  background: var(--off-white) !important;
}
.hero-compact::before,
.hero-compact::after { display: none !important; }
.hero-highlight { color: var(--primary) !important; }
.hero-badge {
  color: var(--primary) !important;
  border-color: rgba(255, 107, 53, 0.35) !important;
  background: rgba(255, 107, 53, 0.1) !important;
}
.intro-section { padding: 3rem 0; background: var(--white); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}
.intro-section .hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--accent-dark);
  margin-bottom: 1rem;
}
.intro-section .hero-sub {
  color: var(--gray-600);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.intro-section .hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.card::before { background: var(--primary) !important; }
.card-icon { color: var(--primary) !important; }
.footer { background: var(--accent-dark) !important; }
.footer-col h4, .footer-logo span { color: var(--primary) !important; }
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo-img {
  height: 84px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
}
.footer-email {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-email:hover { color: #fff; }
.footer-copy {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
#save-btn { background: var(--primary) !important; color: #fff !important; }
.editor-toolbar { background: var(--accent-dark) !important; border-bottom-color: var(--primary) !important; }
.admin-trigger { background: var(--primary) !important; }
.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 280px;
}
.hero-mosaic-main { grid-column: span 2; aspect-ratio: 21/9; max-height: 160px; }
.hero-mosaic-main img,
.hero-mosaic-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-mosaic-cell { aspect-ratio: 16/9; max-height: 110px; }
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}
.hero-gallery img {
  width: 100%;
  aspect-ratio: 16/10;
  max-height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.stat-item strong { display: block; font-size: 1.35rem; color: var(--accent-dark); }
.stat-item span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
}
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.hub-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hub-card img { width: 100%; height: 11rem; object-fit: cover; }
.hub-card-body { padding: 1.5rem; }
.page-hero {
  padding: calc(var(--total-nav-h) + 2rem) 0 2rem;
  background: var(--off-white);
  color: var(--accent-dark);
  border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; color: var(--accent-dark); }
.page-hero p { color: var(--gray-600) !important; opacity: 1 !important; margin-top: 0.75rem; max-width: 40rem; }
.blog-list { display: grid; gap: 1rem; max-width: 720px; margin: 0 auto; }
.blog-list a { display: block; padding: 1.25rem; border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; }
.blog-list a:hover { border-color: var(--primary); }
/* =============================================
   PROFESSIONAL LAYER
   ============================================= */

/* ---- Split hero ---- */
.hero-pro {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 107, 53, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(30, 58, 95, 0.08), transparent 55%),
    var(--off-white);
  overflow: hidden;
}
.hero-pro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.25);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-pro h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
  margin-bottom: 1.25rem;
}
.hero-pro h1 .grad {
  background: linear-gradient(120deg, var(--primary), #ff9466);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-pro-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--gray-600);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-pro-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-lg { padding: 1rem 2.2rem; font-size: 0.9rem; }
.hero-pro-meta {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}
.hero-pro-meta .num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--accent-dark);
  line-height: 1;
}
.hero-pro-meta .lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-top: 0.35rem;
  display: block;
}
.hero-pro-media { position: relative; }
.hero-pro-media > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-pro-media::after {
  content: '';
  position: absolute;
  inset: auto -1.5rem -1.5rem auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle at 70% 70%, rgba(255, 107, 53, 0.18), transparent 70%);
  z-index: -1;
}
.float-card {
  position: absolute;
  left: -1.25rem;
  bottom: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 15rem;
}
.float-card .dot {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 107, 53, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.float-card strong { display: block; font-size: 0.95rem; color: var(--accent-dark); }
.float-card span { font-size: 0.78rem; color: var(--gray-600); }

/* ---- Trust / partners strip ---- */
.trust-strip { padding: 2.5rem 0; background: var(--white); border-bottom: 1px solid var(--gray-200); }
.trust-strip .container { text-align: center; }
.trust-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--gray-400); font-weight: 700; margin-bottom: 1.5rem;
}
.trust-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2.5rem 3.5rem;
}
.trust-logos img {
  height: 46px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: 0.6; transition: var(--transition);
}
.trust-logos img:hover { filter: grayscale(0); opacity: 1; }

/* ---- Feature cards (icon) ---- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-ic {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #ff9466);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}
.feature-card h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: var(--accent-dark); margin-bottom: 0.6rem; }
.feature-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }

/* ---- Alternating media rows ---- */
.media-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.media-row + .media-row { margin-top: 4.5rem; }
.media-row.reverse .media-row-text { order: 2; }
.media-row img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.media-row-text .section-eyebrow { text-align: left; }
.media-row-text h2 {
  font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--accent-dark);
  line-height: 1.15; margin-bottom: 1rem;
}
.media-row-text p { color: var(--gray-600); line-height: 1.75; margin-bottom: 1rem; }
.check-list { display: grid; gap: 0.65rem; margin: 1.25rem 0 1.75rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--gray-800); font-size: 0.97rem; }
.check-list li::before {
  content: '✓'; color: var(--primary); font-weight: 900;
  background: rgba(255, 107, 53, 0.12); border-radius: 50%;
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; flex-shrink: 0;
}

/* ---- Impact band ---- */
.impact-band {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: #fff; padding: 4rem 0;
}
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.impact-grid .num {
  font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: #fff;
}
.impact-grid .num span { color: var(--primary); }
.impact-grid .lbl { margin-top: 0.6rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.03em; }

/* ---- Testimonial ---- */
.quote-card {
  max-width: 820px; margin: 0 auto; text-align: center;
}
.quote-card .mark { font-size: 3rem; color: var(--primary); line-height: 1; font-family: Georgia, serif; }
.quote-card blockquote {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 600;
  color: var(--accent-dark); line-height: 1.5; margin: 0.5rem 0 1.5rem;
}
.quote-author { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.quote-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-author strong { display: block; color: var(--accent-dark); font-size: 0.95rem; }
.quote-author span { font-size: 0.85rem; color: var(--gray-600); }

/* ---- CTA banner ---- */
.cta-banner {
  position: relative; padding: 5rem 0; text-align: center; color: #fff;
  background-image: linear-gradient(rgba(15,23,42,0.78), rgba(15,23,42,0.82)), url('/images/home/cta-banner.jpg');
  background-size: cover; background-position: center;
}
.cta-banner h2 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); max-width: 38rem; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-banner .btn-primary { background: var(--primary); }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
  display: inline-block; border: 2px solid rgba(255, 255, 255, 0.5); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.06em; padding: 0.85rem 2rem; border-radius: 50px; transition: var(--transition);
}
.btn-ghost:hover { background: #fff; color: var(--accent-dark); border-color: #fff; }

/* ---- Section helpers ---- */
.section-tight { padding: 4rem 0; }
.section-header.left { text-align: left; margin-bottom: 2.5rem; }
.eyebrow-center { text-align: center; }

/* ---- Page hero with banner image ---- */
.page-hero-img {
  position: relative; padding: calc(var(--nav-h) + 4rem) 0 3.5rem;
  color: #fff; text-align: center;
  background-image: linear-gradient(rgba(15,23,42,0.72), rgba(30,58,95,0.78)), url('/images/home/feature-conference.jpg');
  background-size: cover; background-position: center;
  border-bottom: none;
}
.page-hero-img h1 { color: #fff; }
.page-hero-img p { color: rgba(255,255,255,0.88) !important; margin-left: auto; margin-right: auto; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
}
@media (max-width: 900px) {
  .intro-grid, .hub-grid { grid-template-columns: 1fr; }
  .hero-pro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-pro-media { order: -1; }
  .media-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .media-row.reverse .media-row-text { order: 0; }
  .hero-gallery { grid-template-columns: repeat(3, 1fr); }
  .hero-mosaic { max-height: none; }
  .hero-mosaic-main { max-height: none; }
  .hero-mosaic-cell { max-height: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 2rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }
  .nav-links.open .dropdown {
    position: static; display: flex; box-shadow: none; border: none;
    padding: 0.25rem 0 0.25rem 1rem; min-width: 0;
  }
  .has-dropdown { width: 100%; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; }
  .nav-ctas { margin-left: auto; }
  .hero-pro-meta { gap: 1.25rem; flex-wrap: wrap; }
  .trust-logos { gap: 1.75rem 2.25rem; }
  .trust-logos img { height: 36px; }
}

/* =============================================
   EVENTS — listing, detail, speakers, agenda
   ============================================= */
.event-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.event-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.event-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.event-card-media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.event-card:hover .event-card-media img { transform: scale(1.05); }
.event-pill {
  position: absolute; top: 0.75rem; left: 0.75rem;
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem; border-radius: 50px; color: #fff;
}
.event-pill.open { background: #16a34a; }
.event-pill.soon { background: var(--primary); }
.event-pill.past { background: var(--gray-400); }
.event-card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; }
.event-date { font-size: 0.78rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }
.event-card-body h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.12rem; color: var(--accent-dark); line-height: 1.25; }
.event-theme { font-size: 0.9rem; color: var(--primary); font-weight: 600; }
.event-summary { font-size: 0.92rem; color: var(--gray-600); line-height: 1.6; }
.event-loc { font-size: 0.82rem; color: var(--gray-400); margin-top: 0.25rem; }
.empty-note { color: var(--gray-600); padding: 2rem 0; }

/* Event detail hero */
.event-hero {
  position: relative; color: #fff; background-size: cover; background-position: center;
  padding: calc(var(--nav-h) + 4rem) 0 3.5rem;
}
.event-back { display: inline-block; color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.85rem; margin-bottom: 1.25rem; }
.event-back:hover { color: #fff; }
.event-hero h1 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; max-width: 18ch; }
.event-hero-theme { color: var(--primary); font-weight: 700; font-size: 1.1rem; margin-top: 0.75rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem; color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.event-hero-actions { margin-top: 2rem; }
.event-lead { font-size: 1.2rem; line-height: 1.7; color: var(--accent-dark); font-weight: 500; }

/* Post body shared */
.post-body h2 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--accent-dark); margin: 1.75rem 0 0.75rem; }
.post-body h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--accent-dark); margin: 1.5rem 0 0.5rem; }
.post-body p { margin: 0.85rem 0; line-height: 1.8; color: var(--gray-600); }
.post-body ul, .post-body ol { margin: 0.85rem 0; padding-left: 1.3rem; color: var(--gray-600); line-height: 1.8; }
.post-body blockquote { border-left: 4px solid var(--primary); padding: 0.5rem 0 0.5rem 1.25rem; margin: 1.25rem 0; color: var(--accent-dark); font-style: italic; }
.post-body blockquote cite { display: block; margin-top: 0.5rem; font-size: 0.9rem; color: var(--gray-600); font-style: normal; }

/* Speakers */
.speaker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.speaker-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.speaker-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.speaker-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.speaker-body { padding: 1.1rem 1.25rem 1.4rem; }
.speaker-body strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: var(--accent-dark); }
.speaker-role { display: block; font-size: 0.85rem; color: var(--gray-600); margin-top: 0.2rem; }
.speaker-topic { display: block; font-size: 0.9rem; color: var(--primary); font-weight: 600; margin-top: 0.5rem; }
.speaker-bio { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; margin-top: 0.6rem; }

/* Agenda */
.agenda-day-view { margin-bottom: 2rem; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.agenda-day-head {
  display: flex; align-items: baseline; gap: 0.75rem; padding: 1rem 1.25rem;
  background: var(--accent-dark); color: #fff;
}
.agenda-day-head strong { font-family: var(--font-heading); font-size: 1.05rem; }
.agenda-day-head span { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.agenda-table { width: 100%; border-collapse: collapse; }
.agenda-table td { padding: 0.85rem 1.25rem; border-top: 1px solid var(--gray-200); vertical-align: top; }
.ag-time { width: 140px; font-weight: 700; color: var(--primary); font-size: 0.9rem; white-space: nowrap; }
.ag-title { color: var(--gray-800); font-size: 0.95rem; }
.ag-speaker { display: block; color: var(--gray-600); font-size: 0.85rem; margin-top: 0.2rem; }

/* Registration form card */
.reg-form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .speaker-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .event-grid, .speaker-grid { grid-template-columns: 1fr; }
  .ag-time { width: 90px; }
}

/* =============================================
   ADMIN (events / blog) UI
   ============================================= */
.admin-body { background: var(--off-white); }
.admin-topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--accent-dark); color: #fff; padding: 0.75rem 1.5rem;
}
.admin-brand { display: flex; align-items: center; gap: 0.6rem; color: #fff; font-size: 0.95rem; }
.admin-brand img { border-radius: 6px; background: #fff; padding: 2px; }
.admin-topbar-links { display: flex; align-items: center; gap: 1rem; }
.admin-topbar-links a { color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 600; }
.admin-topbar-links a:hover { color: #fff; }
.admin-topbar-links .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; padding: 0.4rem 1rem; font-size: 0.78rem; }
.admin-shell { max-width: 1200px; margin: 0 auto; padding: 1.5rem; }
.admin-grid { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem; align-items: start; }
.admin-side { position: sticky; top: 70px; display: flex; flex-direction: column; gap: 1rem; }
.admin-filter { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-600);
  padding: 0.35rem 0.85rem; border-radius: 50px; font-size: 0.78rem; font-weight: 600;
}
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.admin-list { display: flex; flex-direction: column; gap: 0.5rem; max-height: 70vh; overflow-y: auto; }
.admin-list li { display: flex; align-items: stretch; gap: 0.25rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; }
.admin-list li.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(255,107,53,0.15); }
.admin-list li.empty { padding: 1rem; color: var(--gray-400); justify-content: center; border-style: dashed; }
.list-main { flex: 1; text-align: left; background: none; padding: 0.7rem 0.85rem; display: flex; flex-direction: column; gap: 0.25rem; }
.list-main strong { font-size: 0.9rem; color: var(--accent-dark); }
.list-main small { color: var(--gray-400); font-size: 0.75rem; }
.list-del { background: none; padding: 0 0.75rem; color: var(--gray-400); font-size: 0.9rem; }
.list-del:hover { color: #EF4444; background: #fef2f2; }
.badge { align-self: flex-start; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.15rem 0.5rem; border-radius: 4px; color: #fff; }
.badge-indabax { background: var(--primary); }
.badge-meetup { background: var(--accent); }
.badge-webinar { background: #7c3aed; }

.admin-main { display: flex; flex-direction: column; gap: 1.25rem; }
.admin-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; }
.admin-card h2, .admin-card h3 { font-family: var(--font-heading); color: var(--accent-dark); }
.admin-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.admin-card label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--gray-600); margin-bottom: 0.9rem; }
.admin-card input, .admin-card textarea, .admin-card select {
  width: 100%; padding: 0.6rem 0.75rem; margin-top: 0.3rem;
  border: 1px solid var(--gray-200); border-radius: 8px; font-family: inherit; font-size: 0.92rem;
  background: var(--white); color: var(--gray-800);
}
.admin-card input:focus, .admin-card textarea:focus, .admin-card select:focus { outline: none; border-color: var(--primary); }
.admin-card label.check { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0; font-weight: 600; color: var(--gray-800); }
.admin-card label.check input { width: auto; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.hint { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 0.75rem; }
.editor-holder { border: 1px solid var(--gray-200); border-radius: 10px; padding: 0.75rem 1rem; min-height: 220px; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.78rem; }
.btn-remove { background: #fef2f2; color: #EF4444; border-radius: 6px; padding: 0.4rem 0.7rem; font-size: 0.78rem; font-weight: 600; }
.btn-remove:hover { background: #fee2e2; }
.img-field { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.img-field input[type="text"], .img-field input:not([type="file"]) { flex: 1; min-width: 180px; }
.img-preview { margin-top: 0.5rem; }
.img-preview img { max-height: 90px; border-radius: 8px; border: 1px solid var(--gray-200); }
.repeat-row { border: 1px dashed var(--gray-200); border-radius: 10px; padding: 1rem; margin-bottom: 1rem; }
.repeat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.agenda-day { border: 1px solid var(--gray-200); border-radius: 10px; padding: 1rem; margin-bottom: 1rem; }
.session-row { display: grid; grid-template-columns: 130px 1fr 1fr auto; gap: 0.5rem; margin: 0.5rem 0; align-items: center; }
.session-row input { margin-top: 0; }
.form-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.save-msg { font-size: 0.88rem; font-weight: 600; }
.save-msg.ok { color: #16a34a; }
.save-msg.err { color: #EF4444; }
.reg-list { overflow-x: auto; }
.reg-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.reg-table th, .reg-table td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--gray-200); }
.reg-table th { color: var(--gray-600); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.reg-list .empty { color: var(--gray-400); padding: 1rem 0; }

@media (max-width: 860px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-side { position: static; }
  .session-row { grid-template-columns: 1fr 1fr; }
}
