/*
Theme Name: Ignite
Theme URI: https://ignite.coopbank.co.ke/
Update URI: https://ignite.coopbank.co.ke/
Author: Ignite
Description: Custom responsive theme for Ignite.
Version: 0.1.0
Text Domain: ignite
*/

:root {
  --ignite-green: #235343;
  --ignite-deep: #003d2d;
  --ignite-lime: #73b943;
  --ignite-pale: #edf5ed;
  --ignite-ink: #143b31;
  --ignite-red: #ef3340;
  --radius: 18px;
}

@font-face { font-family: 'Titillium Web'; src: url('assets/fonts/TitilliumWebRegular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Titillium Web'; src: url('assets/fonts/TitilliumWebBold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Buckwheat Rough'; src: url('assets/fonts/BuckwheatRough.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ignite-green); font-family: 'Titillium Web', Arial, sans-serif; font-size: 18px; line-height: 1.35; }
h1, h2, h3, h4, h5, h6 { font-family: 'Buckwheat Rough', 'Titillium Web', sans-serif; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.form-grid, .form-grid label, .form-grid input, .form-grid textarea, .form-grid button { font-family: 'Titillium Web', Arial, sans-serif; }
.site-shell { min-height: 100vh; overflow: hidden; }
.site-header { position: relative; z-index: 10; background: var(--ignite-pale); min-height: 96px; padding: 0 3.5vw; display: flex; align-items: center; justify-content: space-between; }
.site-logo { width: 173px; height: 72px; object-fit: contain; object-position: center; }
.desktop-nav { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 30px; }
.inner-nav .nav-spacer { display: none; }
.inner-nav > a:first-of-type { margin-right: auto; }
.inner-nav .nav-side.right { margin-left: auto; }
.nav-side { display: flex; align-items: center; gap: 10px; font-size: clamp(23px, 2.2vw, 40px); text-transform: uppercase; }
.nav-side.right { flex-direction: row-reverse; }
.nav-spacer { width: 190px; }
.nav-arrow-img { width: 40px; height: 40px; flex: 0 0 40px; }
.right-arrow { transform: scaleX(-1); }
.mobile-header { display: none; }
.hero { position: relative; min-height: min(740px, 49vw); color: #fff; background: #123c31 center/cover no-repeat; display: flex; align-items: center; }
.hero.home { background-image: linear-gradient(90deg, rgba(0,40,29,.78), rgba(0,40,29,.08)), url('../ignite/assets/banners/desktop-600/your-hustle 1.webp'); background-position: center; background-size: cover; }
.hero.about { background-image: linear-gradient(90deg, rgba(0,40,29,.72), rgba(0,40,29,.08)), url('../ignite/assets/banners/desktop-600/your-dreams 2.webp'); background-position: center; background-size: cover; }
.hero.events { background-image: linear-gradient(90deg, rgba(0,40,29,.72), rgba(0,40,29,.08)), url('../ignite/assets/banners/desktop-600/your-growth 3.webp'); background-position: center; background-size: cover; }
.hero.past-events { background-image: linear-gradient(90deg, rgba(0,40,29,.72), rgba(0,40,29,.08)), url('../ignite/assets/banners/desktop-600/your-hustle 1.webp'); background-position: center; background-size: cover; }
.hero.contact { background-image: linear-gradient(90deg, rgba(0,40,29,.72), rgba(0,40,29,.08)), url('../ignite/assets/banners/desktop-1080/image 1.webp'); background-position: center; background-size: cover; }
.hero.join { background-image: linear-gradient(90deg, rgba(0,40,29,.72), rgba(0,40,29,.08)), url('../ignite/assets/banners/desktop-600/your-ambition 2.webp'); background-position: center; background-size: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,36,27,.72), transparent 40%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(680px, 85%); margin-left: 5.2vw; padding: 80px 0; }
.hero.home .hero-content { width: min(900px, 85%); }
.hero.home h1 { white-space: nowrap; }
.hero-quick-links { position: absolute; z-index: 2; left: 5.2vw; right: 5.2vw; bottom: 22px; display: flex; align-items: center; gap: 10px; color: #fff; font-size: clamp(20px, 2vw, 34px); }
.hero-quick-links a { display: inline-flex; align-items: center; gap: 6px; }
.hero-quick-links img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.hero-quick-links .quick-contact { margin-left: auto; }
.eyebrow { font-size: clamp(21px, 2vw, 32px); margin: 0 0 22px; }
.hero h1 { margin: 0 0 22px; color: #fff; font-family: 'Buckwheat Rough', 'Titillium Web', sans-serif; font-size: clamp(48px, 5vw, 92px); font-weight: 400; line-height: .98; }
.hero.events h1, .hero.past-events h1 { font-family: 'Titillium Web', Arial, sans-serif; font-weight: 400 !important; }
.hero p { max-width: 600px; font-size: clamp(18px, 1.6vw, 26px); margin: 0 0 28px; }
.hero.home p { font-size: clamp(17px, calc(1.6vw - 1px), 25px); }
.store-links { display: flex; flex-wrap: wrap; gap: 14px; }
.store-link { border: 0; border-radius: 0; padding: 0; color: #fff; font-size: 17px; display: inline-flex; align-items: center; gap: 8px; }
.store-link img { width: 176px; height: auto; object-fit: contain; }
.section { padding: 70px 5.2vw; }
.section-light { background: #fff; }
.section-pale { background: var(--ignite-pale); }
.section h2 { margin: 0 0 32px; font-size: clamp(32px, 3.4vw, 58px); line-height: 1; font-weight: 700; }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: #000; font-weight: 400; font-size: 17px; }
.required { color: var(--ignite-red); }
.form-field input, .form-field textarea { border: 1px solid #c9cec9; border-radius: 11px; min-height: 42px; padding: 9px 12px; }
.form-field textarea { min-height: 140px; resize: vertical; }
.button { border: 0; border-radius: 999px; background: var(--ignite-green); color: #fff; padding: 12px 30px; cursor: pointer; }
.form-submit { margin-top: 18px; border-radius: 10px; background: #eee; color: #555; font-family: 'Titillium Web', Arial, sans-serif; font-size: 16px; padding: 8px 22px; width: auto; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-success { color: var(--ignite-lime); font-weight: 700; }
.form-alert { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border: 1px solid #d23b3b; border-radius: 8px; background: #fff1f1; color: #a30000; font-size: 15px; }
.form-submit:disabled { opacity: .65; cursor: wait; }
.phone-art { min-height: 470px; background: url('../ignite/assets/app/app-phones.png') center / contain no-repeat; }
.phone-art.large { min-height: 760px; background-size: 118% auto; }
.enquiry-art { min-height: 470px; background: url('../ignite/assets/app/enquiry-art.png') center / contain no-repeat; }
.inline-icon { width: 40px; height: 40px; margin-bottom: 12px; }
.requirements { display: grid; grid-template-columns: 28% 1fr; gap: 42px; }
.requirements-heading small, .benefits small { color: var(--ignite-lime); letter-spacing: .04em; }
.requirements-heading h2, .benefits h2 { font-weight: 400; border-top: 2px solid #b7d1bd; padding-top: 10px; text-transform: uppercase; }
.requirements-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.requirements-grid h3 { margin: 0 0 8px; font-size: 20px; }
.requirements-grid p { font-size: 16px; margin: 0; }
.requirements-copy { grid-column: 1 / -1; max-width: 760px; }
.requirements-copy .store-links { margin-top: 18px; }
.requirements-copy .store-link { color: var(--ignite-green); border-color: var(--ignite-green); }
.split-section { display: grid; grid-template-columns: 48% 1fr; gap: 46px; align-items: start; }
.rich-copy h2 { font-size: 26px; color: var(--ignite-green); margin: 0 0 10px; text-transform: uppercase; }
.rich-copy h3 { font-size: 19px; margin: 12px 0 3px; }
.rich-copy p, .rich-copy li { font-size: 16px; }
.rich-copy ul { padding-left: 20px; }
.rich-copy hr { border: 0; border-top: 2px solid var(--ignite-lime); margin: 24px 0; }
.rich-copy .store-link { color: var(--ignite-green); border-color: var(--ignite-green); }
.green { color: var(--ignite-lime); }
.benefits { background: #215f4d; color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 25px 70px; }
.benefits h2 { color: #fff; }
.discounts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; color: var(--ignite-green); padding: 24px; text-align: center; }
.benefit-metric { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; text-align: center; min-height: 110px; }
.benefit-value { display: flex; align-items: center; justify-content: center; gap: 8px; }
.benefit-value img { display: block; width: 40px; height: 40px; object-fit: contain; }
.benefit-metric strong { display: block !important; font-size: 38px; line-height: 1; color: #222; font-weight: 700; }
.benefit-metric small { display: block !important; color: #222; font-size: 20px; line-height: 1.15; margin-top: 10px; font-weight: 600; }
.contact-strip { background: #215f4d; color: #fff; padding: 42px 5.2vw; display: flex; justify-content: center; gap: 34px; align-items: center; flex-wrap: wrap; }
.contact-strip strong { font-size: 28px; font-weight: 400; }
.contact-strip span { color: var(--ignite-lime); }
.contact-strip b { color: #fff; }
.events-switch { position: relative; background: #215f4d; color: #fff; min-height: 110px; display: flex; justify-content: center; align-items: center; gap: 40px; font-size: 36px; text-transform: uppercase; }
.events-switch strong { font-family: 'Titillium Web', Arial, sans-serif; font-weight: 400; }
.events-switch strong:nth-of-type(n+2) { color: var(--ignite-lime); font-weight: 400; }
.events-switch strong:nth-of-type(n+2) { font-family: 'Titillium Web', Arial, sans-serif; font-weight: 400 !important; }
.events-switch a { font-size: 22px; }
.events-switch a:first-child { position: absolute; left: 5.2vw; }
.events-switch a:last-child { position: absolute; right: 5.2vw; }
.events-switch .past-link { display: inline-flex; align-items: center; gap: 6px; }
.events-switch .past-link img { width: 48px; height: 40px; }
.events-switch a:last-child { display: inline-flex; align-items: center; gap: 6px; }
.events-switch a:last-child::after { content: ''; display: block; width: 48px; height: 40px; background: url('../ignite/assets/icons/past-button.svg') center / contain no-repeat; transform: scaleX(-1); }
.events-switch a:last-child { font-size: 0; }
.events-switch a:last-child::before { content: 'CURRENT'; font-size: 22px; }
.event-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.event-list article { background: linear-gradient(135deg, #123c18, #3a1710); color: #fff; min-height: 330px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.event-list article small { font-size: 14px; }
.event-list article h3 { font-size: 28px; line-height: 1.15; font-weight: 400; margin: 28px 0 auto; }
.event-list article p { font-size: 17px; margin: 20px 0; }
.game-callout { display: grid; grid-template-columns: 35% 1fr; gap: 60px; align-items: center; }
.game-callout h2 { font-weight: 400; text-transform: uppercase; border-top: 2px solid #b7d1bd; padding-top: 12px; }
.game-callout p { margin: 0 0 22px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border-radius: var(--radius); overflow: hidden; background: var(--ignite-pale); }
.card-image { height: 220px; background: #dcebdc center/cover; }
.card-body { padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 28px; }
.card p { margin: 0 0 18px; }
.copy-section { max-width: 920px; margin: auto; }
.copy-section p { font-size: 21px; }
.site-footer { background: var(--ignite-deep); color: #fff; padding: 48px 5.2vw 26px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-top > div:first-child { display: flex; align-items: center; gap: 28px; }
.footer-brand { width: 165px; filter: brightness(0) invert(1); }
.footer-brand-text { color: #fff; font-size: 57px; font-weight: 600; letter-spacing: -4px; line-height: .8; }
.footer-brand-text small { display: block; margin: 9px 0 0 12px; font-size: 7px; letter-spacing: 1px; }
.footer-tagline { font-family: 'Buckwheat Rough', 'Titillium Web', sans-serif; font-size: clamp(30px, 3vw, 44px); line-height: 1; margin: 0; white-space: nowrap; }
.footer-tagline br { display: none; }
.footer-tagline span { display: block; font-family: 'Titillium Web', sans-serif; font-size: 16px; line-height: 1.15; margin-bottom: 5px; }
.footer-social { text-align: right; }
.social-row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.social { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; }
.social img { width: 32px; height: 32px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-top: 46px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-stores { display: flex; gap: 12px; }
.footer-stores img { width: 145px; height: auto; display: block; }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .site-header { min-height: 76px; padding: 8px 16px; }
  .desktop-nav { display: none; }
  .mobile-header { width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .site-logo { width: 112px; height: 68px; object-fit: contain; object-position: center; }
  .menu-label { font-weight: 700; text-transform: uppercase; font-size: 17px; }
  .hero { min-height: 510px; align-items: flex-start; }
  .hero.home { background-image: linear-gradient(90deg, rgba(0,40,29,.58), rgba(0,40,29,.10)), url('../ignite/assets/banners/mobile/2.png'); background-size: cover; background-position: center; }
  .hero.about { background-image: linear-gradient(90deg, rgba(0,40,29,.58), rgba(0,40,29,.10)), url('../ignite/assets/banners/mobile/5.png'); background-size: cover; background-position: center; }
  .hero.events { background-image: linear-gradient(90deg, rgba(0,40,29,.58), rgba(0,40,29,.10)), url('../ignite/assets/banners/mobile/3.png'); background-size: cover; background-position: center; }
  .hero.past-events { background-image: linear-gradient(90deg, rgba(0,40,29,.58), rgba(0,40,29,.10)), url('../ignite/assets/banners/mobile/4.png'); background-size: cover; background-position: center; }
  .hero.contact { background-image: linear-gradient(90deg, rgba(0,40,29,.58), rgba(0,40,29,.10)), url('../ignite/assets/banners/mobile/5.png'); background-size: cover; background-position: center; }
  .hero.join { background-image: linear-gradient(90deg, rgba(0,40,29,.58), rgba(0,40,29,.10)), url('../ignite/assets/banners/mobile/3.png'); background-size: cover; background-position: center; }
  .hero-content { width: auto; margin: 0 28px; padding: 68px 0 46px; }
  .hero.home .hero-content { width: auto; }
  .hero.home h1 { white-space: normal; }
  .hero-quick-links { left: 28px; right: 28px; bottom: 12px; font-size: 14px; gap: 8px; }
  .hero-quick-links img { width: 18px; height: 18px; }
  .hero h1 { font-size: 46px; }
  .hero p { font-size: 18px; }
  .section { padding: 28px 28px; }
  .requirements, .split-section, .benefits { display: flex; flex-direction: column; gap: 28px; }
  .requirements-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .requirements-heading h2 { font-size: 31px; }
  .phone-art { width: 100%; min-height: 280px; order: 0; background-size: contain; }
  .phone-art.large { min-height: 430px; background-size: 115% auto; }
  .enquiry-art { width: 100%; min-height: 330px; background-size: contain; order: 2; }
  .rich-copy { width: 100%; }
  .benefits { padding: 34px 28px; }
  .discounts { grid-template-columns: 1fr; gap: 20px; }
  .contact-strip { align-items: flex-start; flex-direction: column; gap: 10px; padding: 28px; }
  .events-switch { min-height: 78px; gap: 14px; font-size: 20px; }
  .events-switch a { font-size: 14px; }
  .events-switch a:first-child { left: 28px; }
  .events-switch a:last-child { right: 28px; }
  .events-switch .past-link img { width: 36px; height: 30px; }
  .events-switch a:last-child::after { width: 36px; height: 30px; }
  .events-switch a:last-child::before { font-size: 14px; }
  .event-list { grid-template-columns: 1fr; }
  .enquiry, .game-callout { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
  .enquiry h2 { font-size: 31px; }
  .form-grid { display: block; }
  .form-field { margin-bottom: 13px; }
  .form-submit { width: auto; margin-top: 2px; }
  .phones { min-height: 200px; order: 2; background-size: 100% auto; }
  .game-callout h2 { font-size: 33px; }
  .cards { grid-template-columns: 1fr; }
  .copy-section p { font-size: 18px; }
  .footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-top > div:first-child { flex-direction: column; gap: 12px; }
  .footer-tagline { font-size: 30px; max-width: 260px; white-space: normal; }
  .footer-tagline span { font-size: 15px; }
  .footer-social { text-align: center; }
  .social-row { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; margin-top: 38px; }
  .footer-nav { flex-direction: column; align-items: center; gap: 12px; }
  .footer-stores img { width: 130px; }
  .store-link img { width: 150px; }
}
