/* =========================================================
   Gharkool Enterprises — WordPress Theme CSS
   Complete mobile-first rewrite — May 2026
   ========================================================= */

/* ---- Variables ---- */
:root {
  --navy:         #1A5CB8;
  --navy-deep:    #0E3C82;
  --navy-darker:  #092B60;
  --gold:         #F5A800;
  --gold-dark:    #c98800;
  --surface:      #F0F5FF;
  --background:   #FFFFFF;
  --foreground:   #111827;
  --muted:        #4B6080;
  --border:       #D0DDF2;
  --destructive:  #DC2626;
  --radius:       .75rem;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1.15;
}
p { margin: 0; }
ul { list-style: none; }

/* ---- Layout ---- */
.gk-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .gk-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .gk-container { padding: 0 2rem; } }

.gk-main {
  min-height: 60vh;
  /* space for mobile sticky bar */
  padding-bottom: 72px;
}
@media (min-width: 1024px) { .gk-main { padding-bottom: 0; } }

.gk-py-12 { padding: 3rem 0; }
.gk-py-16 { padding: 4rem 0; }
.gk-py-20 { padding: 5rem 0; }
.gk-bg-surface { background: var(--surface); }
.gk-mt-3 { margin-top: 1rem; }
.gk-center { text-align: center; }

/* ---- Gradients ---- */
.gk-grad-navy {
  background: linear-gradient(135deg, #1A5CB8 0%, #0E3C82 50%, #092B60 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.gk-hero-glow {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(245,168,0,.55), transparent 45%),
    radial-gradient(circle at 88% 70%, rgba(255,208,80,.3), transparent 50%);
}

/* ---- Buttons ---- */
.gk-btn-primary, .gk-btn-gold, .gk-btn-ghost, .gk-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: .625rem;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  line-height: 1.1;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.gk-btn-primary  { background: var(--navy);     color: #fff;  box-shadow: 0 6px 20px -6px rgba(26,92,184,.45); }
.gk-btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(26,92,184,.55); }
.gk-btn-gold     { background: var(--gold);     color: #1a1a1a; box-shadow: 0 6px 20px -6px rgba(245,168,0,.5); }
.gk-btn-gold:hover { transform: translateY(-2px); filter: brightness(1.08); }
.gk-btn-ghost    { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.gk-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.gk-btn-outline  { background: #fff; color: var(--navy); border-color: var(--border); }
.gk-btn-outline:hover { border-color: var(--navy); }
.gk-btn-sm { padding: .6rem 1rem; font-size: 13px; }

/* Mobile: full-width stacked CTAs */
@media (max-width: 479px) {
  .gk-hero-cta .gk-btn-primary,
  .gk-hero-cta .gk-btn-ghost { width: 100%; }
}

/* Hero CTA pulse */
@keyframes gkCtaPulse {
  0%,100% { box-shadow: 0 6px 20px -6px rgba(26,92,184,.5); }
  50%      { box-shadow: 0 10px 32px -6px rgba(26,92,184,.75), 0 0 0 6px rgba(26,92,184,.1); }
}
.gk-hero .gk-btn-primary { animation: gkCtaPulse 2.8s ease-in-out infinite; }
.gk-hero .gk-btn-primary:hover { animation: none; }

/* ---- Pills / Eyebrows ---- */
.gk-pill-gold {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; border-radius: 999px;
  background: rgba(245,168,0,.15); color: var(--gold-dark);
  font-weight: 600; font-size: .8125rem;
  border: 1px solid rgba(245,168,0,.35); margin-bottom: 1.25rem;
}
.gk-eyebrow { color: var(--gold-dark); font-weight: 700; letter-spacing: .18em; font-size: .75rem; text-transform: uppercase; }

/* ---- Cards ---- */
.gk-card-soft {
  background: #fff; border: 1px solid var(--border); border-radius: 1rem;
  box-shadow: 0 4px 24px -8px rgba(15,46,90,.08); padding: 1.5rem;
}
.gk-card-elevated {
  background: #fff; border-radius: 1.25rem;
  box-shadow: 0 20px 50px -20px rgba(15,46,90,.18), 0 0 0 1px rgba(15,46,90,.04); padding: 1.75rem;
}

/* ---- Top Bar (desktop only) ---- */
.gk-topbar { background: var(--navy-deep); color: #fff; font-size: 12px; }
.gk-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .4rem 0 .5rem; gap: 1rem; flex-wrap: wrap;
}
.gk-topbar-l, .gk-topbar-r { display: flex; align-items: center; gap: 1.25rem; }
.gk-topbar a { display: inline-flex; align-items: center; gap: .4rem; }
.gk-topbar a:hover { color: var(--gold); }
.gk-topbar-cta {
  background: var(--gold); color: #1a1a1a;
  padding: .25rem .8rem; border-radius: 999px; font-weight: 700; font-size: 11px;
}
.gk-star-fill { fill: var(--gold); color: var(--gold); }
/* Hide topbar on mobile & tablet */
@media (max-width: 1023px) { .gk-topbar { display: none; } }

/* ---- Header ---- */
.gk-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 rgba(15,46,90,.08);
  border-bottom: 1px solid rgba(15,46,90,.07);
  transition: background .2s, box-shadow .2s;
}
.gk-header.is-scrolled { background: rgba(255,255,255,.98); box-shadow: 0 8px 28px -16px rgba(15,46,90,.25); }
.gk-header-inner {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 1024px) { .gk-header-inner { height: 76px; } }

/* ---- Logo ---- */
.gk-logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.gk-logo-img { height: 40px; width: auto; display: block; object-fit: contain; }
@media (min-width: 1024px) { .gk-logo-img { height: 48px; } }
.gk-logo-light .gk-logo-img { filter: brightness(0) invert(1); }

/* ---- Desktop Nav ---- */
.gk-nav { display: none; }
@media (min-width: 1024px) { .gk-nav { display: block; } }
.gk-nav-menu { display: flex; align-items: center; gap: .15rem; }
.gk-nav-menu li { position: relative; }
.gk-nav-menu > li > a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem; border-radius: .4rem;
  font-size: 14px; font-weight: 600; color: rgba(15,46,90,.8);
  transition: background .15s, color .15s;
}
.gk-nav-menu > li > a:hover,
.gk-nav-menu .current-menu-item > a,
.gk-nav-menu .current_page_item > a,
.gk-nav-menu .current-menu-ancestor > a { color: var(--navy); background: var(--surface); }

/* Dropdown */
.gk-sub, .gk-nav-menu .sub-menu {
  position: absolute; top: calc(100% + .5rem); left: 0;
  min-width: 240px; background: #fff; border-radius: 1rem;
  box-shadow: 0 20px 50px -20px rgba(15,46,90,.2), 0 0 0 1px rgba(15,46,90,.07);
  padding: .5rem; opacity: 0; pointer-events: none;
  transform: translateY(-6px); transition: opacity .18s, transform .18s; z-index: 60;
}
.gk-nav-menu li:hover > .gk-sub,
.gk-nav-menu li:hover > .sub-menu,
.gk-nav-menu li:focus-within > .gk-sub,
.gk-nav-menu li:focus-within > .sub-menu { opacity: 1; pointer-events: auto; transform: none; }
.gk-sub li a, .sub-menu li a {
  display: block; padding: .65rem .9rem; border-radius: .4rem;
  font-size: 14px; font-weight: 500;
  border-left: 3px solid transparent; transition: background .15s, border-color .15s;
}
.gk-sub li a:hover, .sub-menu li a:hover { background: var(--surface); border-left-color: var(--gold); color: var(--navy); }

/* Desktop CTA button */
.gk-header-cta { display: none; }
@media (min-width: 1024px) { .gk-header-cta { display: flex; } }

/* ---- Mobile header controls ---- */
.gk-header-mobile { display: flex; align-items: center; gap: .5rem; }
@media (min-width: 1024px) { .gk-header-mobile { display: none; } }
.gk-mobile-wa {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--navy); color: #fff; flex-shrink: 0;
}
.gk-burger {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: .5rem; background: #fff; border: 1px solid var(--border);
  color: var(--navy); flex-shrink: 0;
}

/* ---- Mobile Slide-down panel ---- */
.gk-mobile-panel {
  border-top: 1px solid var(--border);
  background: #fff;
  animation: gkDdIn .2s ease-out both;
  /* ensure it's full width and sits under header */
  width: 100%;
  left: 0; right: 0;
}
.gk-mobile-panel .gk-container {
  padding-top: .75rem; padding-bottom: 1rem;
  display: flex; flex-direction: column; gap: .2rem;
}
.gk-mobile-panel a,
.gk-m-loans-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; font-size: 15px; font-weight: 600;
  border-radius: .5rem; color: var(--navy);
  background: transparent; border: 0; text-align: left; width: 100%;
  transition: background .15s;
}
.gk-mobile-panel a:hover,
.gk-m-loans-toggle:hover { background: var(--surface); }
.gk-m-loans {
  display: flex; flex-direction: column; gap: .1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  margin: .25rem 0 .5rem 1rem;
}
.gk-m-loans a { font-size: 14px; font-weight: 500; padding: .6rem .75rem; }
.gk-m-buttons {
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border);
}
.gk-m-buttons a { justify-content: center; padding: .75rem; font-size: 14px; }

/* ---- Hero ---- */
.gk-hero { padding: 2.5rem 0 4rem; }
@media (min-width: 768px) { .gk-hero { padding: 4rem 0 7rem; } }
.gk-hero-inner { position: relative; }
.gk-hero h1 {
  font-size: clamp(1.65rem, 5vw, 3.5rem);
  line-height: 1.1; color: #fff; max-width: 24ch;
}
.gk-hero h1 .gk-accent, .gk-hero .gk-accent { color: var(--gold); }
.gk-hero-sub {
  margin-top: 1rem; color: rgba(255,255,255,.82);
  font-size: clamp(14px, 1.6vw, 18px); max-width: 36rem; line-height: 1.6;
}
.gk-hero-cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* Home hero 2-col on desktop */
.gk-home-hero { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .gk-home-hero { grid-template-columns: 1.15fr 1fr; gap: 3rem; } }

/* Trust grid under hero text */
.gk-trust-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: .6rem; margin-top: 1.5rem; font-size: 13px; color: rgba(255,255,255,.85);
}
@media (min-width: 480px) { .gk-trust-grid { grid-template-columns: repeat(4,1fr); } }
.gk-trust-grid div { display: flex; align-items: center; gap: .4rem; }
.gk-trust-grid svg { color: var(--gold); }

/* ---- Section heading ---- */
.gk-section-head { margin-bottom: 2rem; }
.gk-section-head.gk-center { text-align: center; max-width: 48rem; margin-left: auto; margin-right: auto; }
.gk-section-head h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-top: .5rem; }
.gk-section-head p { color: var(--muted); margin-top: .75rem; font-size: 15px; }

/* ---- Stats bar (in hero) ---- */
.gk-stats { padding: 2rem 0; }
.gk-stats-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1.25rem; text-align: center;
}
@media (min-width: 640px) { .gk-stats-grid { grid-template-columns: repeat(4,1fr); } }
.gk-stat-v {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 3rem); color: var(--gold);
}
.gk-stat-l { color: rgba(255,255,255,.8); font-size: 13px; margin-top: .2rem; }

/* ---- Trust strip ---- */
.gk-trust-strip {
  padding: 1rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.gk-trust-strip .gk-container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: .4rem 1.5rem; font-size: 12px; font-weight: 600;
  color: rgba(15,46,90,.7);
}

/* ---- Services ---- */
.gk-services {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 480px) { .gk-services { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .gk-services { grid-template-columns: repeat(3,1fr); } }
.gk-service {
  position: relative; overflow: hidden; padding: 1.5rem;
  transition: transform .25s, box-shadow .25s; display: block; color: inherit;
}
.gk-service:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -12px rgba(26,92,184,.18); }
.gk-service .gk-service-icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; margin-bottom: 1rem;
}
.gk-service h3 { font-size: 1.15rem; }
.gk-service .gk-service-desc { color: var(--muted); font-size: 14px; margin-top: .4rem; }
.gk-service-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--border);
}
.gk-service-rate  { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.gk-service-limit { font-size: 13px; font-weight: 700; color: var(--navy); }
.gk-service-cta   { color: var(--gold); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: .25rem; }
.gk-service::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 3px; width: 0; transition: width .4s;
  background: linear-gradient(90deg, var(--gold), var(--navy));
}
.gk-service:hover::after { width: 100%; }

/* ---- How it works ---- */
.gk-steps { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .gk-steps { grid-template-columns: repeat(3,1fr); } }
.gk-step { text-align: center; padding: 1.5rem; }
.gk-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 1rem; color: #fff;
  background: var(--gold); font-family: var(--font-display); font-weight: 800; font-size: 20px;
  box-shadow: 0 8px 22px -6px rgba(245,168,0,.5);
}

/* ---- Banks ---- */
.gk-banks {
  display: grid; gap: .75rem; grid-template-columns: repeat(2,1fr);
  max-width: 960px; margin: 0 auto;
}
@media (min-width: 480px) { .gk-banks { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 768px) { .gk-banks { grid-template-columns: repeat(4,1fr); } }
.gk-bank {
  background: #fff; border: 1px solid var(--border); border-radius: 1rem;
  padding: .9rem; text-align: center; font-weight: 700; font-size: 13px;
  color: var(--navy); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.gk-bank:hover { border-color: var(--gold); box-shadow: 0 6px 18px -8px rgba(15,46,90,.15); transform: translateY(-2px); }
.gk-banks-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 1.25rem; }

/* ---- Testimonials ---- */
.gk-testi { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gk-testi { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .gk-testi { grid-template-columns: repeat(3,1fr); } }
.gk-testi-card {
  background: #fff; border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.25rem; box-shadow: 0 4px 24px -8px rgba(15,46,90,.08);
  display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s;
}
.gk-testi-card:hover { border-color: rgba(245,168,0,.4); box-shadow: 0 8px 32px -10px rgba(26,92,184,.15); }
.gk-stars { display: flex; gap: .1rem; color: var(--gold); margin-bottom: .6rem; }
.gk-testi-tag {
  align-self: flex-start; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .2rem .6rem; border-radius: 999px; margin-bottom: .6rem;
  background: rgba(245,168,0,.12); color: var(--gold-dark);
}
.gk-testi-card p { flex: 1; font-size: 14px; color: rgba(15,46,90,.85); line-height: 1.55; }
.gk-testi-meta { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.gk-testi-meta strong { color: var(--navy); display: block; }
.gk-testi-meta span { font-size: 12px; color: var(--muted); }

/* ---- EMI Calculator ---- */
.gk-emi {
  border: 1px solid rgba(26,92,184,.25);
  box-shadow: 0 24px 50px -20px rgba(26,92,184,.2), 0 0 0 1px rgba(245,168,0,.15);
}
.gk-emi h3 { font-size: 1.2rem; }
.gk-emi-sub { font-size: 12px; color: var(--muted); margin-bottom: 1rem; }
.gk-emi-tabs {
  display: flex; gap: .35rem; padding: .2rem; background: var(--surface);
  border-radius: .55rem; margin-bottom: 1.1rem; overflow-x: auto;
}
.gk-emi-tab {
  flex: 1; padding: .45rem; background: transparent; border: 0; border-radius: .35rem;
  font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap;
  transition: background .18s, color .18s;
}
.gk-emi-tab.active { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.07); }
.gk-slider-row { margin-bottom: .85rem; }
.gk-slider-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.gk-slider-head label { font-size: 13px; font-weight: 600; color: rgba(15,46,90,.8); }
.gk-slider-head span  { font-size: 13px; font-weight: 700; color: var(--navy); }
.gk-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px; outline: none; cursor: pointer;
  background: #e5e7ef;
}
.gk-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(15,46,90,.4); cursor: pointer;
}
.gk-range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--navy);
  border: 3px solid #fff; cursor: pointer; box-sizing: border-box;
}
.gk-emi-result {
  margin-top: 1.1rem; padding: 1.1rem; border-radius: .8rem;
  background: linear-gradient(135deg, #EBF2FF 0%, #F0F5FF 100%);
}
.gk-emi-result-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .2rem; }
.gk-emi-result-value { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.4rem); font-weight: 800; color: var(--navy); line-height: 1; }
.gk-emi-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin-top: .9rem; font-size: 12px; }
.gk-emi-stats span  { color: var(--muted); display: block; }
.gk-emi-stats strong { color: var(--navy); font-size: 13px; }
.gk-emi-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: .5rem; }

/* ---- Lead Form ---- */
.gk-lead h3 { font-size: 1.35rem; }
.gk-lead-sub { font-size: 14px; color: var(--muted); margin-top: .25rem; margin-bottom: 1.1rem; }
.gk-lead-form .gk-field { margin-bottom: .7rem; }
.gk-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: .25rem; }
.gk-field label span { color: var(--destructive); }
.gk-field input, .gk-field select, .gk-field textarea {
  width: 100%; padding: .7rem .9rem; font-size: 14px; border-radius: .55rem;
  border: 1px solid var(--border); background: #fff;
  font-family: inherit; color: var(--foreground);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.gk-field input:focus, .gk-field select:focus, .gk-field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,92,184,.15);
}
/* Ensure selects show chevron on iOS */
.gk-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234B6080' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.25rem;
}
.gk-field small { display: block; font-size: 12px; color: var(--destructive); margin-top: .2rem; }
.gk-form-trust { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: .4rem; justify-content: center; margin-top: .5rem; }
.gk-lead-success { text-align: center; padding: 2rem 0; }
.gk-lead-tick { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem; background: rgba(26,92,184,.12); color: var(--navy); }
.gk-link { background: none; border: 0; color: var(--gold); font-weight: 700; margin-top: 1rem; }
.gk-link:hover { text-decoration: underline; }

/* Lead + benefits 2-col */
.gk-lead-row { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .gk-lead-row { grid-template-columns: 1fr 1fr; align-items: start; } }
.gk-benefits { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.25rem; }
.gk-benefits li { display: flex; align-items: center; gap: .7rem; font-size: 15px; }
.gk-benefits svg { color: var(--navy); flex-shrink: 0; }

/* ---- CTA Banner ---- */
.gk-cta-banner { padding: 4rem 0 5rem; text-align: center; }
.gk-cta-inner h2 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 3rem); max-width: 42rem; margin: 0 auto; }
.gk-cta-inner > p { color: rgba(255,255,255,.8); margin-top: 1rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.gk-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.gk-cta-foot { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 1.25rem; }
@media (max-width: 479px) {
  .gk-cta-buttons .gk-btn-primary,
  .gk-cta-buttons .gk-btn-ghost { width: 100%; }
}

/* ---- Facts bar ---- */
.gk-facts-wrap { position: relative; z-index: 10; margin-top: -2rem; margin-bottom: 1rem; }
.gk-facts {
  display: grid; grid-template-columns: repeat(2,1fr); gap: .6rem; padding: .9rem;
  background: #fff; border-radius: 1.25rem;
  box-shadow: 0 20px 50px -20px rgba(15,46,90,.18), 0 0 0 1px rgba(15,46,90,.04);
}
@media (min-width: 640px) { .gk-facts { grid-template-columns: repeat(4,1fr); padding: 1.1rem; } }
.gk-fact { padding: .6rem; }
@media (min-width: 640px) { .gk-fact:not(:last-child) { border-right: 1px solid var(--border); } }
.gk-fact-label { display: flex; align-items: center; gap: .4rem; margin-bottom: .2rem; }
.gk-fact-label span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.gk-fact-value { font-weight: 800; color: var(--navy); font-size: 16px; }

/* ---- Eligibility / use cases ---- */
.gk-2col { display: grid; gap: 1rem; max-width: 960px; margin: 0 auto; }
@media (min-width: 640px) { .gk-2col { grid-template-columns: repeat(2,1fr); } }
.gk-elig h3 { font-size: 1.2rem; margin-bottom: .9rem; }
.gk-check { display: flex; flex-direction: column; gap: .6rem; }
.gk-check li { display: flex; gap: .6rem; font-size: 14px; }
.gk-check-i { color: var(--navy); flex-shrink: 0; margin-top: 2px; }

/* Use-case grid — 1 col mobile, 2 col tablet, 3 col desktop */
.gk-usecase {
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .gk-usecase { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
}
@media (min-width: 1024px) {
  .gk-usecase { grid-template-columns: repeat(3, 1fr); }
}
.gk-usecase .gk-uc {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem; background: #fff;
  border: 1px solid var(--border); border-radius: 1rem;
  box-shadow: 0 4px 24px -8px rgba(15,46,90,.07);
  min-width: 0; /* prevent overflow */
}
.gk-uc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: .7rem; flex-shrink: 0; }
.gk-uc-icon.gold    { background: rgba(245,168,0,.1);    color: var(--gold-dark); }
.gk-uc-icon.success { background: rgba(26,92,184,.1);   color: var(--navy); }
.gk-uc strong { color: var(--navy); font-weight: 700; font-size: 14px; line-height: 1.3; word-break: break-word; }

/* ---- Docs + EMI row ---- */
.gk-docs-row { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .gk-docs-row { grid-template-columns: 1fr 1fr; } }

/* ---- Accordion ---- */
.gk-acc { display: flex; flex-direction: column; gap: .65rem; }
.gk-acc-item { background: #fff; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.gk-acc-q {
  width: 100%; padding: 1rem 1.15rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff; border: 0; text-align: left; font-weight: 700;
  color: var(--navy); font-size: 15px; transition: background .15s;
}
.gk-acc-q:hover { background: var(--surface); }
.gk-acc-arrow { color: var(--gold); transition: transform .2s; flex-shrink: 0; }
.gk-acc-item.open .gk-acc-arrow { transform: rotate(180deg); }
.gk-acc-a { padding: 0 1.15rem 1.15rem; font-size: 14px; color: rgba(15,46,90,.78); line-height: 1.6; display: none; }
.gk-acc-item.open .gk-acc-a { display: block; }

/* ---- FAQ ---- */
.gk-faq { display: flex; flex-direction: column; gap: .65rem; }
.gk-faq-item { background: #fff; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.gk-faq-q {
  width: 100%; padding: 1rem 1.15rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff; border: 0; text-align: left; font-weight: 700;
  color: var(--navy); font-size: 15px; transition: background .15s;
}
.gk-faq-q:hover { background: var(--surface); }
.gk-faq-chev { color: var(--gold); transition: transform .2s; flex-shrink: 0; }
.gk-faq-item.open .gk-faq-chev { transform: rotate(180deg); }
.gk-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.gk-faq-item.open .gk-faq-a { max-height: 600px; }
.gk-faq-a p { padding: 0 1.15rem 1.15rem; color: rgba(15,46,90,.75); font-size: 14px; line-height: 1.6; }

/* ---- Tables ---- */
.gk-table-wrap {
  background: #fff; border: 1px solid var(--border); border-radius: 1rem;
  overflow: hidden; max-width: 900px; margin: 0 auto;
  box-shadow: 0 4px 24px -8px rgba(15,46,90,.08);
  /* horizontal scroll on mobile */
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.gk-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.gk-table thead { background: var(--surface); }
.gk-table thead.dark { background: var(--navy-deep); color: #fff; }
.gk-table th { text-align: left; padding: .9rem 1rem; font-weight: 700; color: var(--navy); }
.gk-table thead.dark th { color: #fff; }
.gk-table td { padding: .9rem 1rem; border-top: 1px solid var(--border); }
.gk-table tr:hover td { background: var(--surface); }
.gk-table .rate { font-weight: 700; color: var(--navy); }

/* ---- Tabs ---- */
.gk-tabs { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: 1.25rem; }
.gk-tabs button {
  padding: .55rem 1.1rem; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: var(--surface); color: rgba(15,46,90,.7); border: 0; transition: background .2s, color .2s;
}
.gk-tabs button.active { background: var(--navy); color: #fff; box-shadow: 0 6px 18px -6px rgba(15,46,90,.4); }
.gk-tab-content {
  background: #fff; border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.25rem; text-align: center; font-size: 15px; color: rgba(15,46,90,.8); line-height: 1.6;
}

/* ---- About ---- */
.gk-about-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .gk-about-grid { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.gk-about-stats {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; padding: 1.5rem;
  background: #fff; border-radius: 1.25rem;
  border: 1px solid rgba(245,168,0,.3);
  box-shadow: 0 20px 50px -20px rgba(15,46,90,.18);
}
.gk-about-stat { text-align: center; }
.gk-about-stat .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--gold); }
.gk-about-stat .l { color: var(--muted); font-size: 13px; margin-top: .2rem; }
.gk-mission {
  padding: 1.75rem; background: #fff; border: 1px solid var(--border);
  border-radius: 1rem; border-left: 5px solid var(--gold);
  box-shadow: 0 4px 24px -8px rgba(15,46,90,.08); max-width: 900px; margin: 0 auto;
}
.gk-mission p { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.4; margin-top: .5rem; }
.gk-promise { display: grid; gap: 1rem; grid-template-columns: 1fr; max-width: 1200px; margin: 0 auto; }
@media (min-width: 640px) { .gk-promise { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .gk-promise { grid-template-columns: repeat(4,1fr); } }
.gk-promise .gk-card-soft h3 { font-size: 1.05rem; }
.gk-promise .gk-card-soft p { font-size: 14px; color: var(--muted); margin-top: .5rem; line-height: 1.55; }
.gk-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.75rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border: 3px solid rgba(245,168,0,.6); flex-shrink: 0;
}

/* ---- Contact ---- */
.gk-contact-hero { padding: 4rem 0 5rem; text-align: center; }
.gk-contact-hero h1 { font-size: clamp(1.75rem, 4vw, 3rem); color: #fff; }
.gk-contact-hero p { color: rgba(255,255,255,.8); margin-top: 1rem; font-size: clamp(14px, 1.5vw, 18px); }
.gk-contact-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.gk-contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .gk-contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.gk-info { display: flex; flex-direction: column; gap: 1.25rem; }
.gk-info-card h3 { font-size: 1.35rem; margin-bottom: 1.1rem; }
.gk-info-list { display: flex; flex-direction: column; gap: 1rem; }
.gk-info-list li { display: flex; gap: .75rem; }
.gk-info-icon {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: .6rem; flex-shrink: 0;
  background: rgba(26,92,184,.1); color: var(--navy);
}
.gk-info-list .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.gk-info-list .val  { color: var(--navy); font-weight: 700; font-size: 15px; }
.gk-info-list .sub  { font-size: 12px; color: var(--muted); margin-top: .12rem; }
.gk-map { background: #fff; border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.gk-map iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ---- Footer ---- */
.gk-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.85);
  padding: 3.5rem 0 1.5rem; margin-top: 4rem;
}
.gk-footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gk-footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .gk-footer-grid { grid-template-columns: repeat(4,1fr); } }
.gk-footer h4 { color: #fff; font-size: 14px; margin-bottom: .9rem; }
.gk-footer ul { display: flex; flex-direction: column; gap: .55rem; font-size: 14px; }
.gk-footer a:hover { color: var(--gold); }
.gk-footer-blurb { margin-top: .9rem; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.7); }
.gk-socials { display: flex; gap: .65rem; margin-top: 1.1rem; }
.gk-socials a {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(255,255,255,.1); transition: background .2s, color .2s;
}
.gk-socials a:hover { background: var(--gold); color: var(--navy-deep); }
.gk-footer-contact li { display: flex; gap: .5rem; align-items: flex-start; font-size: 13px; }
.gk-i-gold { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.gk-footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: .75rem;
  align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.55);
}
@media (min-width: 640px) { .gk-footer-bottom { flex-direction: row; } }
.gk-footer-links { display: flex; gap: 1.25rem; }
.gk-footer-links a:hover { color: #fff; }

/* ---- Mobile sticky bottom bar ---- */
.gk-sticky-mobile {
  display: flex;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--navy-deep); color: #fff;
  padding: .55rem .9rem;
  align-items: center; justify-content: space-between; gap: .5rem;
  box-shadow: 0 -8px 24px -8px rgba(0,0,0,.3);
  /* safe area for notch phones */
  padding-bottom: max(.55rem, env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { .gk-sticky-mobile { display: none; } }
.gk-sticky-text { font-size: 11px; font-weight: 600; line-height: 1.25; }
.gk-sticky-text strong { color: var(--gold); display: block; font-size: 12px; }
.gk-sticky-text small { font-size: 10px; opacity: .7; }
.gk-sticky-btns { display: flex; gap: .4rem; flex-shrink: 0; }
.gk-sticky-call, .gk-sticky-wa {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .5rem .75rem; border-radius: .4rem; font-size: 13px; font-weight: 700;
}
.gk-sticky-call { background: rgba(255,255,255,.12); color: #fff; }
.gk-sticky-wa   { background: var(--gold); color: #0E3C82; font-weight: 800; }

/* ---- WhatsApp FAB (desktop) ---- */
.gk-fab {
  position: fixed; right: 18px; bottom: 80px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #0E3C82;
  background: var(--gold); box-shadow: 0 14px 30px -8px rgba(245,168,0,.6);
}
.gk-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--gold); animation: gkPulse 1.8s ease-out infinite;
}
@media (min-width: 1024px) { .gk-fab { right: 24px; bottom: 24px; } }
@keyframes gkPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---- Animations ---- */
@keyframes gkDdIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.gk-fade-in { animation: gkFadeUp .6s ease-out both; }
@keyframes gkFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---- Highlight block (SME/scheme) ---- */
.gk-highlight {
  background: #fff; border: 1px solid var(--border);
  border-left: 5px solid var(--gold); border-radius: 1rem;
  padding: 1.75rem; box-shadow: 0 4px 24px -8px rgba(15,46,90,.08);
}
.gk-highlight .gk-h-label {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold-dark); font-weight: 700; margin-bottom: .65rem;
  font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
}
.gk-highlight h3 { font-size: 1.4rem; margin-bottom: .65rem; }
.gk-highlight ul { display: grid; gap: .5rem; font-size: 15px; }
@media (min-width: 640px) { .gk-highlight ul { grid-template-columns: repeat(2,1fr); } }
.gk-highlight ul li { display: flex; gap: .5rem; }

/* ---- Skip link (a11y) ---- */
.gk-skip {
  position: absolute; left: -9999px; top: .5rem; z-index: 9999;
  padding: .5rem 1rem; background: var(--navy); color: #fff;
  border-radius: .4rem; font-weight: 700; font-size: 14px;
}
.gk-skip:focus { left: .5rem; }

/* ---- Misc ---- */
.gk-icon { display: inline-block; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---- Urgency chip / trust badges ---- */
.gk-urgency-chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem;
  background: rgba(245,168,0,.15); border: 1px solid rgba(245,168,0,.4); border-radius: 999px;
  font-size: 11.5px; font-weight: 700; color: var(--gold-dark); margin-bottom: .75rem;
}
.gk-trust-badges {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center;
  margin-top: .75rem; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8);
}
.gk-trust-badges span { display: inline-flex; align-items: center; gap: .3rem; }

/* ---- Prevent any element from causing horizontal scroll ---- */
body, html { overflow-x: hidden; }
section { overflow-x: hidden; }

/* ============================================================
   MOBILE FIXES — Loan pages (< 640px)
   ============================================================ */

/* EMI calculator full-width on mobile */
@media (max-width: 639px) {
  .gk-emi {
    width: 100%;
    box-sizing: border-box;
  }
  /* Docs + EMI stack cleanly */
  .gk-docs-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  /* EMI result stats on mobile: 3-col is too tight */
  .gk-emi-stats {
    grid-template-columns: repeat(3,1fr);
    gap: .35rem;
    font-size: 11px;
  }
  .gk-emi-stats strong { font-size: 12px; }

  /* Table: smaller font + tighter padding on mobile */
  .gk-table { font-size: 12px; }
  .gk-table th,
  .gk-table td { padding: .65rem .6rem; }

  /* Table wrapper: show scroll hint shadow */
  .gk-table-wrap {
    position: relative;
  }
  .gk-table-wrap::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 24px;
    background: linear-gradient(to left, rgba(255,255,255,.9), transparent);
    border-radius: 0 1rem 1rem 0;
    pointer-events: none;
  }

  /* Facts bar: tighten on very small screens */
  .gk-fact-value { font-size: 14px; }
  .gk-fact { padding: .45rem .35rem; }

  /* Hero headline: clamp tighter */
  .gk-hero h1 { font-size: clamp(1.4rem, 7vw, 2rem); }
  .gk-hero-sub { font-size: 13.5px; }

  /* Use-case cards: hard 1-col on mobile */
  .gk-usecase,
  .gk-usecase[class] { grid-template-columns: 1fr !important; }
  .gk-uc { padding: .8rem 1rem; }
  .gk-uc-icon { width: 38px; height: 38px; flex-shrink: 0; }
  .gk-uc strong { font-size: 13.5px; }

  /* 2-col eligibility: full width on mobile */
  .gk-2col { grid-template-columns: 1fr; }

  /* Lead form: no horizontal overflow */
  .gk-lead { padding: 1.25rem; }
  .gk-lead .gk-field input,
  .gk-lead .gk-field select { font-size: 16px; /* prevent zoom on iOS */ }

  /* Accordion text */
  .gk-acc-q { font-size: 14px; padding: .85rem 1rem; }

  /* FAQ text */
  .gk-faq-q { font-size: 14px; padding: .85rem 1rem; }

  /* Sections: reduce vertical padding */
  .gk-py-16 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .gk-py-12 { padding-top: 2rem; padding-bottom: 2rem; }

  /* Trust strip icons: smaller */
  .gk-trust-strip .gk-container span { font-size: 12px; }
}

/* SME eligibility grid: responsive */
.gk-sme-elig-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .gk-sme-elig-grid { grid-template-columns: 1fr 1fr; }
}

/* Hero pill: fix icon alignment on mobile */
.gk-pill-gold svg {
  flex-shrink: 0;
  vertical-align: middle;
}

/* Sticky mobile bar: ensure it doesn't overlap content */
@media (max-width: 1023px) {
  .gk-main { padding-bottom: 72px; }
}

/* Range inputs: full width on mobile */
@media (max-width: 639px) {
  .gk-range { width: 100%; }
  .gk-slider-row { gap: .5rem; }
}
