:root {
  --primary: #163E5A;
  --primary-dark: #0F2A3F;
  --primary-rgb: 22, 62, 90;
  --primary-light: #D6E8F1;
  --secondary: #E74C3C;
  --secondary-rgb: 231, 76, 60;
  --accent: #F1C40F;
  --accent-rgb: 241, 196, 15;
  --brand-light: #87CEEB;
  --gradient-1: #27B7F3;
  --gradient-2: #163E5A;
  --footer-bg: #1A2A3D;
  --footer-accent: #4A90E2;
  --surface: #FFFFFF;
  --surface-alt: #F0F5FF;
  --surface-mid: #E8F0FE;
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px -8px rgba(0,0,0,0.10);
  --shadow-xl: 0 20px 48px -12px rgba(0,0,0,0.15);
  --section-max: 1120px;
  --header-h: 68px;
  --font-heading: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.shell { max-width: var(--section-max); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(135deg, var(--surface-alt) 0%, #EFF6FF 50%, var(--surface-alt) 100%); }
.section-title { text-align: center; margin-bottom: 56px; padding: 0 24px; }
.section-title h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.section-title .decor {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
  border-radius: var(--radius-pill);
  margin: 14px auto 0;
  position: relative; overflow: hidden;
}
.section-title .decor::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: decorShine 3s ease-in-out infinite;
}
@keyframes decorShine {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.section-title p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-top: 14px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ═══ Header ═══ */
.site-header {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: calc(100% - 32px); max-width: 1160px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.03);
  height: var(--header-h);
  border-radius: var(--radius);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header::before {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.site-header.scrolled {
  border-color: rgba(226,232,240,0.8);
  box-shadow: 0 4px 28px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 8px 0 20px;
  display: flex; align-items: center; height: 100%; gap: 24px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; }
.brand-text {
  font-family: var(--font-heading);
  font-size: 17px; font-weight: 700; letter-spacing: 0.3px;
}
.brand-text .fin { color: #4DB9F9; }
.brand-text-group { display: flex; flex-direction: column; line-height: 1.15; }
.brand-tagline {
  font-size: 8px; color: var(--text-muted);
  letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600;
}
.nav-desktop { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-desktop a {
  padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--text-secondary);
  border-radius: var(--radius-pill); transition: all 0.2s; white-space: nowrap;
}
.nav-desktop a:hover { background: var(--surface-alt); color: var(--primary); }
.nav-desktop a.btn-cta:hover { background: rgba(39,183,243,0.85); color: white !important; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; background: #27B7F3; color: white !important;
  font-size: 13px; font-weight: 600; border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
  border: none; cursor: pointer;
}
.btn-cta i { color: white; }
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(39,183,243,0.3); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 36px; height: 36px; padding: 7px; margin-left: auto;
  background: rgba(0,0,0,0.04); border: none; border-radius: var(--radius-sm); cursor: pointer; z-index: 101;
}
.nav-toggle span {
  display: block; width: 100%; height: 2.5px;
  background: var(--text); border-radius: 0px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99; background: white;
  flex-direction: column; padding: 96px 24px 24px;
  gap: 6px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  display: block; padding: 14px 18px; font-size: 16px; font-weight: 500;
  color: var(--text); border-radius: var(--radius-sm); transition: background 0.2s;
}
.nav-mobile a:hover { background: var(--surface-alt); }
.nav-mobile .btn-cta { text-align: center; margin-top: 8px; justify-content: center; }

/* ═══ Hero ═══ */
.hero {
  position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-top: 0; padding-top: 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/hero_accounting.jpeg') center/cover no-repeat;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(22, 62, 90, 0.94) 0%,
    rgba(15, 42, 63, 0.92) 50%,
    rgba(22, 62, 90, 0.97) 100%
  );
}
.hero-overlay::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(39,183,243,0.10) 0%, transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.04) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1; text-align: center;
  max-width: 800px; margin: 0 auto; padding: 80px 28px 100px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 48px; font-weight: 700; color: white; line-height: 1.12;
  letter-spacing: -0.8px;
}
.hero-content p {
  font-size: 18px; color: rgba(255,255,255,0.85); margin-top: 18px; line-height: 1.7;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px; background: #27B7F3; color: white;
  font-size: 15px; font-weight: 600; border-radius: var(--radius-sm);
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: none;
  font-family: inherit; line-height: 1.2;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(39,183,243,0.35);
}
.btn-outline-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px; border: 2px solid rgba(255,255,255,0.4); color: white;
  font-size: 15px; font-weight: 600; border-radius: var(--radius-pill);
  transition: all 0.2s; font-family: inherit; line-height: 1.2;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: white; }

/* ═══ Services Grid ═══ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: var(--section-max); margin: 0 auto; padding: 0 28px;
}
.card {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 32px 28px; box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
  border-radius: var(--radius) var(--radius) 0 0;
}
.card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, transparent 100%);
  pointer-events: none;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(var(--primary-rgb),0.15);
}
.card-icon {
  width: 50px; height: 50px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-light), var(--surface-alt));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
  color: var(--primary);
  transition: transform 0.3s;
}
.card:hover .card-icon { transform: scale(1.05); }
.card h3 {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--text);
}
.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ═══ Events ═══ */
.events-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: var(--section-max); margin: 0 auto; padding: 0 28px;
}
.event-card-new {
  display: flex; flex-direction: column;
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.35s ease;
  position: relative;
}
.event-card-new::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.event-card-new:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.event-card-media {
  position: relative; width: 100%; height: 200px;
  overflow: hidden; background: var(--surface-alt);
}
.event-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.event-card-new:hover .event-card-media img { transform: scale(1.08); }
.event-card-media-empty {
  display: flex; align-items: center; justify-content: center;
}
.event-card-placeholder { font-size: 40px; color: var(--text-muted); opacity: 0.4; }
.event-card-date {
  position: absolute; top: 16px; left: 16px;
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 8px 14px; min-width: 52px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  line-height: 1.1;
}
.event-card-date-num { font-size: 22px; font-weight: 800; color: var(--primary); }
.event-card-date-month {
  font-size: 10px; font-weight: 700; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.event-card-body {
  padding: 22px; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.event-card-body h3 {
  font-family: var(--font-heading);
  font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.3;
}
.event-card-meta { display: flex; flex-direction: column; gap: 6px; }
.event-card-meta span {
  font-size: 13px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 6px;
}
.event-card-meta span i { width: 14px; text-align: center; color: var(--primary); font-size: 12px; }
.event-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.events-placeholder {
  position: relative; grid-column: 1 / -1;
  width: 100%; min-height: 420px; border-radius: var(--radius);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.events-placeholder-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.05);
}
.events-placeholder-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(22, 62, 90, 0.90) 0%,
    rgba(15, 42, 63, 0.87) 50%,
    rgba(22, 62, 90, 0.93) 100%
  );
}
.events-placeholder-content {
  position: relative; z-index: 1; text-align: center;
  padding: 48px 28px; max-width: 560px;
}
.events-placeholder-icon {
  font-size: 48px; color: #27B7F3; margin-bottom: 16px; display: block;
}
.events-placeholder-content h3 {
  font-family: var(--font-heading);
  font-size: 26px; font-weight: 700; color: white; margin-bottom: 10px;
}
.events-placeholder-content p {
  font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.7;
}

@media (max-width: 768px) {
  .events-placeholder { min-height: 320px; }
  .events-placeholder-content { padding: 36px 20px; }
  .events-placeholder-content h3 { font-size: 22px; }
  .events-placeholder-content p { font-size: 14px; }
}
.event-card-footer {
  margin-top: auto; padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; border-top: 1px solid var(--border);
}
.event-card-price { font-size: 14px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 5px; }
.event-card-price i { color: #27B7F3; font-size: 12px; }
.event-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #27B7F3;
  transition: gap 0.2s;
  cursor: pointer;
}
.event-card-cta .fa-arrow-right { font-size: 11px; }
.event-card-new:hover .event-card-cta { gap: 10px; }

/* ═══ About ═══ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
  max-width: var(--section-max); margin: 0 auto; padding: 0 28px;
}
.about-text p { color: var(--text-secondary); font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
.about-text .btn-primary { margin-top: 8px; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.trust-dots {
  display: none; gap: 8px; justify-content: center; margin-top: 16px;
}
.trust-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--border); transition: all 0.3s;
  cursor: pointer;
}
.trust-dot.active { background: #27B7F3; width: 24px; }
.trust-item {
  background: white; padding: 24px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.trust-item::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, transparent 100%);
  pointer-events: none;
}
.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.trust-icon { font-size: 22px; display: block; margin-bottom: 10px; color: #27B7F3; }
.trust-item h4 {
  font-family: var(--font-heading);
  font-size: 15px; font-weight: 600; margin-bottom: 4px;
}
.trust-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ═══ Careers Grid (legacy card list fallback) ═══ */
.careers-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: var(--section-max); margin: 0 auto; padding: 0 24px;
}
.career-card {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column; gap: 12px;
}
.career-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.career-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.career-header h3 {
  font-family: var(--font-heading);
  font-size: 17px; font-weight: 600; color: var(--primary);
}
.career-type {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap; flex-shrink: 0;
}
.type-full-time { background: rgba(var(--primary-rgb), 0.1); color: var(--primary); }
.type-part-time { background: rgba(39,183,243, 0.1); color: #27B7F3; }
.type-contract { background: rgba(var(--accent-rgb), 0.12); color: rgba(var(--accent-rgb), 0.9); }
.type-internship { background: rgba(39,183,243, 0.1); color: #27B7F3; }
.career-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.career-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); }
.career-meta span i { width: 14px; text-align: center; color: var(--primary); }
.btn-career {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; background: #27B7F3; color: white; font-size: 14px;
  font-weight: 600; border-radius: var(--radius-pill); align-self: flex-start;
  transition: background 0.2s; cursor: pointer; border: none;
}
.btn-career:hover { background: #1E8ECF; }
.btn-career .fa-arrow-right { margin-left: 6px; font-size: 12px; }

/* ═══ Team ═══ */
.team-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 32px;
  max-width: var(--section-max); margin: 0 auto; padding: 0 28px;
}
.team-card {
  width: clamp(240px, calc((100% - 64px) / 3), 340px);
  background: white; border-radius: 0px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.35s ease;
}
.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(var(--primary-rgb), 0.2);
}
.team-avatar { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-alt); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.team-avatar img.avatar-top { object-position: top center !important; }
.team-info {
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, var(--surface-alt) 100%);
  position: relative;
}
.team-info::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}
.team-info h4 {
  font-family: var(--font-heading);
  font-size: 17px; font-weight: 600; color: var(--primary); margin-bottom: 4px;
}
.team-role { font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; }
.team-branch {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--primary);
}

/* ═══ Contact ═══ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  max-width: var(--section-max); margin: 0 auto; padding: 0 28px;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-row { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--text-secondary); }
.info-row a { transition: color 0.2s; }
.info-row a:hover { color: var(--primary); }
.info-icon {
  width: 44px; height: 44px; border-radius: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--surface-alt));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px; color: var(--primary);
}
.admin-cta-card {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 36px; box-shadow: var(--shadow); text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.admin-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.admin-cta-card h3 {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 600; color: var(--primary); margin-bottom: 10px;
}
.admin-cta-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 22px; }

/* ═══ Compliance Bar ═══ */
.compliance-bar {
  padding: 24px 0; background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.compliance-bar .shell {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.compliance-bar span {
  font-size: 13px; color: var(--text-muted); letter-spacing: 0.3px;
  display: flex; align-items: center; gap: 8px; font-weight: 500;
}
.compliance-bar span i { width: 14px; text-align: center; color: var(--primary); }

/* ═══ Footer ═══ */
.site-footer {
  background: var(--footer-bg); color: rgba(255,255,255,0.85); padding: 64px 24px 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px;
  max-width: var(--section-max); margin: 0 auto;
}
.footer-about p {
  font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; margin-top: 14px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.15); padding: 5px; object-fit: contain; }
.footer-brand .brand-text { color: white; }
.footer-brand .brand-tagline { color: rgba(255,255,255,0.4); }
.footer-grid h4 {
  font-family: var(--font-heading);
  color: white; font-size: 14px; font-weight: 600; margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.footer-grid a {
  display: block; font-size: 13px; color: rgba(255,255,255,0.6); padding: 5px 0;
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--footer-accent); }
.staff-link {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px; color: rgba(255,255,255,0.3) !important;
  letter-spacing: 0.5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 48px;
  padding: 24px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.35);
}

/* ═══ Events Full-Bleed ═══ */
.events-fullbleed.section { padding: 0; }
.events-fullbleed .shell { max-width: 100%; padding: 0; margin: 0; }
.events-fullbleed .section-title { display: none; }
.events-fullbleed .events-grid { display: block; max-width: 100%; padding: 0; margin: 0; }
.events-fullbleed .events-placeholder { border-radius: 0; min-height: 520px; }

@media (max-width: 768px) {
  .events-fullbleed .events-placeholder { min-height: 400px; }
}

/* ═══ Loading & Empty States ═══ */
.skeleton-card {
  height: 300px; border-radius: var(--radius);
  background: linear-gradient(90deg, #E8ECF0 25%, #DDE2E7 50%, #E8ECF0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.empty-state, .error-state {
  grid-column: 1 / -1; text-align: center; padding: 60px 24px;
}
.empty-state p, .error-state p { font-size: 16px; color: var(--text-secondary); }
.empty-state .empty-icon, .error-state .fa-exclamation-triangle {
  display: block; font-size: 36px; margin-bottom: 16px; color: var(--text-muted);
}
.error-state .fa-exclamation-triangle { color: #27B7F3; }

/* ═══ Career Page ═══ */
.career-page { padding: 120px 24px 60px; min-height: 100vh; background: var(--surface-alt); }
.career-shell { max-width: 860px; margin: 0 auto; }
.career-page-title { text-align: center; margin-bottom: 48px; }
.career-page-title h1 {
  font-family: var(--font-heading);
  font-size: 34px; font-weight: 700; color: var(--primary); margin-bottom: 10px; letter-spacing: -0.5px; line-height: 1.2;
}
.career-page-title .decor { width: 60px; height: 4px; background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2)); border-radius: var(--radius-pill); margin: 14px auto; }
.career-page-title p { font-size: 17px; color: var(--text-secondary); max-width: 580px; margin: 14px auto 0; }
.career-list { display: flex; flex-direction: column; gap: 20px; }
.career-expand-card {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow 0.25s;
}
.career-expand-card:hover { box-shadow: var(--shadow-md); }
.career-expand-header {
  padding: 24px 28px; cursor: pointer; user-select: none;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
}
.career-expand-header h3 {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 600; color: var(--text); flex: 1;
}
.career-expand-header .career-meta-summary { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.career-expand-header .career-meta-summary span { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.career-expand-header .career-meta-summary span i { width: 14px; text-align: center; color: var(--primary); font-size: 12px; }
.career-expand-arrow { font-size: 14px; color: var(--text-muted); transition: transform 0.3s; flex-shrink: 0; margin-top: 4px; }
.career-expand-card.open .career-expand-arrow { transform: rotate(180deg); }
.career-expand-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
}
.career-expand-card.open .career-expand-body { max-height: 1000px; padding: 0 28px 24px; }
.career-expand-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.career-expand-body h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; margin-top: 16px; }
.career-expand-body ul { margin: 0 0 16px 20px; }
.career-expand-body ul li { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.career-expand-body .btn-primary { display: inline-flex; align-items: center; gap: 8px; }

/* ═══ Modal / Dialog Overlay ═══ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.visible { display: flex; }
.modal-box {
  background: white; border-radius: var(--radius); max-width: 440px; width: 100%;
  padding: 40px 32px 32px; text-align: center; box-shadow: var(--shadow-xl);
  animation: modalFadeIn 0.35s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-box i.modal-icon { font-size: 48px; color: var(--primary); margin-bottom: 16px; display: block; }
.modal-box h2 {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 8px;
}
.modal-box p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }
.modal-box .btn-primary { display: inline-flex; align-items: center; gap: 8px; }

/* ═══ Newsletter Signup (Inline) ═══ */
.newsletter-inline {
  margin-top: 48px; padding: 40px 36px; background: white; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow); text-align: center;
}
.newsletter-inline h3 {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 600; color: var(--primary); margin-bottom: 6px;
}
.newsletter-inline p { font-size: 14px; color: var(--text-secondary); margin-bottom: 22px; }
.newsletter-inline .newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-inline .newsletter-form input {
  flex: 1; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-inline .newsletter-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.1); }
.newsletter-inline .newsletter-form button {
  padding: 14px 28px; background: #27B7F3; color: white; font-size: 14px;
  font-weight: 600; border: none; border-radius: var(--radius-pill); cursor: pointer;
  white-space: nowrap; transition: background 0.2s, transform 0.2s;
}
.newsletter-inline .newsletter-form button:hover { background: #1E8ECF; transform: translateY(-1px); }
.newsletter-inline .newsletter-form button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.newsletter-inline .newsletter-msg { font-size: 13px; margin-top: 12px; min-height: 20px; }
.newsletter-inline .newsletter-msg.success { color: #27AE60; }
.newsletter-inline .newsletter-msg.error { color: #27B7F3; }

/* ═══ Career Hero Section (Home) ═══ */
#careers.section { padding: 0; }
#careers .shell { max-width: 100%; padding: 0; margin: 0; }
#careers .careers-grid { display: block; max-width: 100%; padding: 0; margin: 0; }

.career-hero {
  position: relative; width: 100%; max-width: 100%;
  min-height: 640px; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.career-hero-bg {
  position: absolute; inset: 0;
  background: url('assets/branding/business-executives-discussing-whiteboard.jpg') center/cover no-repeat;
  transform: scale(1.05);
}
.career-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(22, 62, 90, 0.94) 0%,
    rgba(15, 42, 63, 0.92) 50%,
    rgba(22, 62, 90, 0.97) 100%
  );
}
.career-hero-overlay::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(39,183,243,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.career-hero-content {
  position: relative; z-index: 1; text-align: center;
  padding: 64px 24px; max-width: 820px; margin: 0 auto;
}
.career-hero-icon { font-size: 56px; color: white; opacity: 0.9; margin-bottom: 20px; display: inline-block; }
.career-hero-title {
  font-family: var(--font-heading);
  font-size: 34px; font-weight: 700; color: white; margin-bottom: 8px;
}
.career-hero-decor { width: 60px; height: 4px; background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2)); border-radius: var(--radius-pill); margin: 14px auto 24px; }
.career-glass-card {
  background: rgba(255,255,255,0.10); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25); padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  position: relative; overflow: hidden;
}
.career-glass-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.20) 0%, transparent 100%);
  pointer-events: none;
  border-radius: var(--radius) var(--radius) 0 0;
}
.career-glass-card h3 {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 700; color: white; margin-bottom: 12px; line-height: 1.2;
}
.career-glass-card > p { font-size: 15px; color: rgba(255,255,255,0.92); line-height: 1.7; margin-bottom: 12px; }
.career-glass-sub { font-size: 14px !important; color: rgba(255,255,255,0.85) !important; font-weight: 600; margin-bottom: 20px !important; }
.career-glass-bell {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; margin-bottom: 20px;
  background: rgba(255,255,255,0.15); border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.25); cursor: pointer; transition: background 0.2s; text-align: left;
}
.career-glass-bell:hover { background: rgba(255,255,255,0.22); }
.career-bell-icon { font-size: 28px; color: white; flex-shrink: 0; }
.career-glass-bell span { font-size: 14px; color: white; font-weight: 500; line-height: 1.4; }
.career-glass-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px;
  background: white; color: var(--primary); font-size: 16px; font-weight: 600;
  border-radius: var(--radius-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.career-glass-btn:hover { transform: scale(1.04); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }
.career-glass-footnote {
  font-size: 13px !important; color: rgba(255,255,255,0.7) !important;
  font-style: italic; margin-top: 16px !important; margin-bottom: 0 !important;
}
.career-hero-footer {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 20px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.career-hero-footer i { color: rgba(255,255,255,0.8); font-size: 16px; flex-shrink: 0; }
.career-hero-footer span { font-size: 13px; color: rgba(255,255,255,0.8); font-style: italic; line-height: 1.5; }

/* ═══ Loan Section ═══ */
.loan-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 36px; max-width: var(--section-max); margin: 0 auto; padding: 0 28px;
  align-items: start;
}
.loan-info { display: flex; flex-direction: column; gap: 24px; }
.loan-slider-track {
  position: relative; overflow: hidden; min-height: 160px;
  border-radius: var(--radius); background: white;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.loan-slide {
  position: absolute; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 32px 28px; text-align: center;
  opacity: 0; transition: opacity 0.5s ease;
}
.loan-slide.active { opacity: 1; }
  .loan-slide-icon { font-size: 36px; color: var(--primary); margin-bottom: 12px; }
.loan-slide h3 {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 6px;
}
.loan-slide p { font-size: 14px; color: var(--text-secondary); }
.loan-docs {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow); padding: 24px;
}
.loan-docs h4 {
  font-family: var(--font-heading);
  font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.loan-docs h4 i { color: #27B7F3; font-size: 14px; }
.loan-docs ul { margin: 0; padding-left: 20px; }
.loan-docs ul li { font-size: 13px; color: var(--text-secondary); padding: 4px 0; }

.loan-form-card {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow); padding: 32px 28px;
}
.loan-form-card h3 {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 600; color: var(--primary); margin-bottom: 24px;
}
.loan-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; gap: 14px; }
.form-row .form-group { flex: 1; }
.loan-form .form-group { display: flex; flex-direction: column; gap: 5px; }
.loan-form label { font-size: 12px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.3px; }
.loan-form input, .loan-form select, .loan-form textarea {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s; background: white;
}
.loan-form input:focus, .loan-form select:focus, .loan-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.1); }
.loan-submit { width: 100%; justify-content: center; cursor: pointer; }
.loan-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.loan-msg { font-size: 13px; margin-top: 12px; min-height: 20px; text-align: center; }
.loan-msg.success { color: #27AE60; }
.loan-msg.error { color: #27B7F3; }

.loan-mobile-btn { display: none; }

.loan-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(6px);
  align-items: flex-end; justify-content: center; padding: 16px;
}
.loan-modal-overlay.visible { display: flex; }
.loan-modal {
  background: white; border-radius: var(--radius) var(--radius) 0 0;
  max-width: 500px; width: 100%; padding: 28px 24px 24px;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
  animation: waSlideUp 0.3s ease;
  max-height: 90vh; overflow-y: auto;
  position: relative;
}
.loan-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.06); border: none;
  font-size: 20px; cursor: pointer; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 1;
}
.loan-modal-close:hover { background: rgba(0,0,0,0.12); }

@media (max-width: 768px) {
  #loan-form-card { display: none; }
  .loan-mobile-btn {
    display: inline-flex; align-items: center; gap: 8px;
    width: 100%; justify-content: center;
    margin-top: 16px; cursor: pointer;
  }
  .loan-modal { max-width: 100%; }
}

/* ═══ WhatsApp Float ═══ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.25s, box-shadow 0.25s;
  border: none; cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ═══ WhatsApp Dialog ═══ */
.wa-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(6px);
  align-items: flex-end; justify-content: center; padding: 16px;
}
.wa-modal-overlay.visible { display: flex; }
.wa-modal {
  background: white; border-radius: var(--radius) var(--radius) 0 0;
  max-width: 440px; width: 100%; padding: 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
  animation: waSlideUp 0.3s ease;
  max-height: 90vh; overflow-y: auto;
  position: relative;
}
@keyframes waSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.wa-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,0.06); border: none;
  font-size: 20px; cursor: pointer; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 1;
}
.wa-close:hover { background: rgba(0,0,0,0.12); }
.wa-modal-header {
  text-align: center; padding: 32px 24px 16px;
  background: linear-gradient(135deg, #075E54, #128C7E);
  color: white; border-radius: var(--radius) var(--radius) 0 0;
}
.wa-modal-icon { font-size: 40px; margin-bottom: 10px; }
.wa-modal-header h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; }
.wa-modal-header p { font-size: 13px; color: rgba(255,255,255,0.85); margin-top: 4px; }
.wa-questions { padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 8px; }
.wa-q-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 12px 14px;
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  color: var(--text); cursor: pointer; transition: all 0.2s;
  text-align: left; font-family: inherit;
}
.wa-q-btn i { color: #25D366; font-size: 15px; width: 18px; text-align: center; }
.wa-q-btn:hover { background: #E8F5E9; border-color: #25D366; transform: translateX(4px); }
.wa-custom {
  display: flex; gap: 8px; padding: 8px 16px 20px;
}
.wa-custom input {
  flex: 1; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 13px; font-family: inherit;
  outline: none; transition: border-color 0.2s;
}
.wa-custom input:focus { border-color: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,0.1); }
.wa-custom button {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: #25D366; color: white; border: none;
  font-size: 16px; cursor: pointer; flex-shrink: 0;
  transition: transform 0.2s;
}
.wa-custom button:hover { transform: scale(1.05); }

@media (max-width: 768px) {
  .whatsapp-float { bottom: 20px; right: 16px; width: 48px; height: 48px; font-size: 24px; }
  .wa-modal { max-width: 100%; border-radius: var(--radius) var(--radius) 0 0; }
}

/* ═══ AI Chat Widget ═══ */
.chat-widget { position: fixed; bottom: 100px; right: 28px; z-index: 450; }
.chat-fab {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: #27B7F3;
  color: white; border: none;
  font-size: 22px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(39,183,243, 0.35);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; z-index: 2;
}
.chat-fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(39,183,243, 0.5); }
.chat-teaser {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
  background: white; color: var(--text); padding: 10px 16px;
  border-radius: var(--radius-sm); font-size: 13px; white-space: nowrap;
  box-shadow: var(--shadow-md); opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
  border: 1px solid var(--border);
}
.chat-teaser.show { opacity: 1; }
.chat-window {
  display: none; position: fixed; bottom: 100px; right: 28px;
  width: 360px; height: 520px; background: white;
  border-radius: var(--radius); box-shadow: var(--shadow-xl);
  flex-direction: column; overflow: hidden; z-index: 1;
  border: 1px solid var(--border);
}
.chat-window.open { display: flex; }
.chat-header {
  background: var(--primary);
  color: white; padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.chat-close { background: rgba(255,255,255,0.15); border: none; color: white; font-size: 18px; cursor: pointer; padding: 2px 8px; border-radius: var(--radius-sm); line-height: 1.4; transition: background 0.2s; }
.chat-close:hover { background: rgba(255,255,255,0.25); }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface-alt);
}
.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.chat-msg-content {
  max-width: 80%; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; line-height: 1.5;
}
.chat-msg.bot .chat-msg-content { background: white; color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chat-msg.user .chat-msg-content { background: var(--primary); color: white; border-bottom-right-radius: 4px; }
.chat-msg.typing .chat-msg-content { color: var(--text-muted); font-style: italic; }
.chat-input-row {
  display: flex; gap: 8px; padding: 12px 14px;
  border-top: 1px solid var(--border); flex-shrink: 0; background: white;
}
.chat-input-row input {
  flex: 1; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-pill); font-size: 13px; font-family: inherit;
  outline: none; transition: border-color 0.2s;
}
.chat-input-row input:focus { border-color: var(--primary); }
.chat-input-row button {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: #27B7F3;
  color: white; border: none; font-size: 14px; cursor: pointer;
  flex-shrink: 0; transition: transform 0.2s;
}
.chat-input-row button:hover { transform: scale(1.05); }
.chat-input-row button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ═══ Cookie Banner ═══ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 600;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  padding: 0;
  transition: transform 0.35s ease;
}
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-banner-inner {
  max-width: var(--section-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 16px 28px; flex-wrap: wrap;
}
.cookie-banner-text strong { font-size: 14px; color: var(--text); }
.cookie-banner-text p { font-size: 12px; color: var(--text-secondary); margin: 2px 0 0; }
.cookie-banner-text a { color: var(--primary); text-decoration: underline; font-size: 12px; }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  padding: 9px 20px; border-radius: var(--radius-pill); font-size: 12px;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-accept-all { background: #27B7F3; color: white; }
.cookie-accept-all:hover { background: #1E8ECF; }
.cookie-customize { background: var(--surface-alt); color: var(--text); border: 1px solid var(--border); }
.cookie-decline { background: none; color: var(--text-muted); border: 1px solid transparent; }
.cookie-decline:hover { background: var(--surface-alt); border-color: var(--border); }

.cookie-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.cookie-modal-overlay.visible { display: flex; }
.cookie-modal {
  background: white; border-radius: var(--radius);
  max-width: 480px; width: 100%; padding: 36px;
  box-shadow: var(--shadow-xl); animation: modalFadeIn 0.35s ease;
}
.cookie-modal h3 {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.cookie-modal > p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.cookie-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-top: 1px solid var(--border); gap: 12px;
}
.cookie-option-info strong { font-size: 14px; display: block; margin-bottom: 2px; }
.cookie-option-info span { font-size: 11px; color: var(--text-muted); }
.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle span {
  position: absolute; cursor: pointer; inset: 0;
  background: #CBD5E1; border-radius: 24px; transition: background 0.3s;
}
.cookie-toggle span::before {
  content: ""; position: absolute; height: 18px; width: 18px;
  left: 3px; bottom: 3px; background: white; border-radius: 0; transition: transform 0.3s;
}
.cookie-toggle input:checked + span { background: var(--primary); }
.cookie-toggle input:checked + span::before { transform: translateX(20px); }
.cookie-toggle.disabled span { background: var(--border); cursor: not-allowed; opacity: 0.6; }
.cookie-modal-actions { margin-top: 20px; }
.cookie-modal-actions .btn-primary { width: 100%; justify-content: center; cursor: pointer; }

/* ═══ FAQ ═══ */
.faq-list {
  max-width: 780px; margin: 0 auto; padding: 0 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: white; border-radius: var(--radius-sm);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  overflow: hidden; transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-q {
  padding: 18px 22px; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; transition: background 0.15s;
}
.faq-q:hover { background: var(--surface-alt); }
.faq-q span { font-size: 15px; font-weight: 500; color: var(--text); }
.faq-q i { font-size: 14px; color: var(--text-muted); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }
.faq-a p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ═══ Facebook Feed ═══ */
.fb-card {
  max-width: 480px; margin: 0 auto;
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 48px 36px; text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.fb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fb-card-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #1877F2, #0C5DB5);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 32px; color: white;
}
.fb-card h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.fb-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.fb-cta { display: inline-flex !important; align-items: center; gap: 8px; }
.fb-cta i { font-size: 16px; }

/* ═══ Entry Animations ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ═══ Cookie banner overrides ═══ */
.cookie-banner a { color: var(--primary); text-decoration: underline; }
.cookie-banner button {
  padding: 8px 20px; background: white; color: var(--primary);
  border: none; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: transform 0.2s;
}
.cookie-banner button:hover { transform: scale(1.04); }

/* ═══ Page loader ═══ */
.career-loader { text-align: center; padding: 80px 24px; }
.career-loader .fa-spinner { font-size: 32px; color: var(--primary); }

/* ══ Section: Careers promo homepage ══ */
#careers.section .section-title { display: none; }

/* ═══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title h2 { font-size: 28px; }
}

@media (max-width: 768px) {
  .site-header { top: 12px; width: calc(100% - 24px); height: 60px; }
  :root { --header-h: 60px; }
  .section { padding: 64px 0; }
  .section-title { margin-bottom: 40px; padding: 0 16px; }
  .section-title h2 { font-size: 24px; }
  .section-title p { font-size: 15px; }
  .shell { padding: 0 16px; }

  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; }
  .header-inner { padding: 0 4px 0 16px; }
  .brand-logo { width: 32px; height: 32px; }
  .brand-text { font-size: 15px; }
  .brand-tagline { font-size: 7px; }

  .hero { min-height: 420px; padding-top: 40px; }
  .hero-content { padding: 60px 16px 70px; }
  .hero-content h1 { font-size: 28px; }
  .hero-content p { font-size: 15px; line-height: 1.6; }
  .hero-actions { margin-top: 24px; gap: 12px; flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline-light { padding: 14px 28px; font-size: 14px; width: 100%; max-width: 320px; justify-content: center; margin-left: auto !important; margin-right: auto !important; }
  .about-text .btn-primary { display: flex; }
  .btn-career { width: 100%; justify-content: center; }
  .newsletter-inline .newsletter-form button { width: 100%; justify-content: center; }
  .loan-mobile-btn { max-width: 320px; margin-left: auto !important; margin-right: auto !important; display: flex !important; }

  .services-grid {
    display: flex; flex-wrap: nowrap; gap: 16px; padding: 8px 16px 16px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    perspective: 1200px;
    width: 100%;
    margin: 0;
  }
  .services-grid::-webkit-scrollbar { display: none; }
  .services-grid .card {
    flex: 0 0 75%; min-width: 220px; scroll-snap-align: center;
    padding: 28px 22px; box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
    transform-origin: center center;
  }
  .services-grid .card h3 { font-size: 16px; }

  .events-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 16px; }
  .event-card-media { height: 170px; }
  .skeleton-card { height: 240px; }

  .about-grid { grid-template-columns: 1fr; gap: 28px; padding: 0 16px; }
  .about-text p { font-size: 15px; }
  .trust-grid {
    display: flex; flex-wrap: nowrap; gap: 16px; padding: 8px 16px 16px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    perspective: 1200px;
    width: 100%;
  }
  .trust-grid::-webkit-scrollbar { display: none; }
  .trust-grid .trust-item {
    flex: 0 0 75%; min-width: 220px; scroll-snap-align: center;
    padding: 24px 20px; box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
    transform-origin: center center;
  }
  .trust-dots { display: flex; }

  .careers-grid { grid-template-columns: 1fr; padding: 0 16px; }

  .team-grid {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 8px;
    gap: 16px;
  }
  .team-grid::-webkit-scrollbar { height: 0; }
  .team-card { flex: 0 0 260px; scroll-snap-align: start; width: 260px; }

  .contact-grid { grid-template-columns: 1fr; gap: 28px; padding: 0 16px; }
  .admin-cta-card { padding: 28px 20px; }

  .compliance-bar .shell { gap: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 48px 16px 0; }
  .footer-bottom { margin-top: 32px; }

  .career-hero { min-height: auto; }
  .career-hero-content { padding: 48px 16px; }
  .career-hero-icon { font-size: 40px; }
  .career-hero-title { font-size: 24px; }
  .career-glass-card { padding: 24px 18px; }
  .career-glass-card h3 { font-size: 22px; }
  .career-glass-btn { padding: 14px 24px; font-size: 14px; }
  .career-hero-footer { flex-direction: column; gap: 6px; }

  .loan-layout { grid-template-columns: 1fr; padding: 0 16px; }
  .form-row { flex-direction: column; }
  .loan-slider-track { min-height: 200px; }

  .newsletter-inline .newsletter-form { flex-direction: column; }
  .newsletter-inline { padding: 28px 20px; }

  .career-page { padding: 90px 16px 40px; }
  .career-page-title h1 { font-size: 26px; }
  .career-expand-header { flex-direction: column; padding: 18px; gap: 8px; }
  .career-expand-body { padding: 0 18px; }
  .career-expand-card.open .career-expand-body { padding: 0 18px 18px; }

  .modal-box { padding: 32px 24px 24px; }
  .modal-box h2 { font-size: 18px; }

  .whatsapp-float { bottom: 20px; right: 16px; width: 48px; height: 48px; font-size: 24px; }

  .chat-widget { bottom: 84px; right: 16px; }
  .chat-fab { width: 48px; height: 48px; font-size: 20px; }
  .chat-window { width: calc(100vw - 32px); height: 440px; right: 16px; bottom: 84px; }

  .cookie-banner-inner { flex-direction: column; text-align: center; gap: 12px; padding: 14px 16px; }
  .cookie-banner-actions { width: 100%; justify-content: center; }
  .cookie-btn { flex: 1; text-align: center; }
  .cookie-modal { padding: 24px 20px; }
  .faq-list { padding: 0 16px; }
  .faq-q span { font-size: 14px; }

  .fb-card { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .site-header { top: 8px; width: calc(100% - 16px); height: 54px; }
  :root { --header-h: 54px; }
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 22px; }

  .services-grid .card { flex: 0 0 85%; padding: 22px 18px; }
  .services-grid .card h3 { font-size: 15px; }

  .hero { min-height: 360px; }
  .hero-content { padding: 48px 14px 56px; }
  .hero-content h1 { font-size: 24px; }

  .brand-logo { width: 28px; height: 28px; }
  .brand-text { font-size: 13px; }

  .career-hero-content { padding: 36px 14px; }
  .career-hero-title { font-size: 22px; }
  .career-glass-card { padding: 20px 16px; }
  .career-glass-card h3 { font-size: 20px; }
  .career-glass-card > p { font-size: 13px; }
  .career-glass-bell { flex-direction: column; text-align: center; }

  .loan-slider-track { min-height: 200px; }
  .loan-slide { padding: 24px 16px; }
  .loan-form-card { padding: 24px 16px; }
  .info-row { font-size: 13px; }

  .nav-mobile a { padding: 12px 14px; font-size: 15px; }
}
