/* =========================================================
   KKC CLUB — MAIN STYLESHEET
   Design system: fixed Black+Gold header/footer everywhere.
   Page body theme: Black+Gold (home) vs Purple+White (commandos/blog/contact).
   ========================================================= */

@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 800; font-display: swap; src: url('/assets/fonts/poppins-800.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Dancing Script'; font-weight: 700; font-display: swap; src: url('/assets/fonts/dancing-script-700.woff2') format('woff2'); }

:root {
  /* brand constants — always available, regardless of page theme */
  --gold: #D4AF37;
  --gold-soft: rgba(212, 175, 55, 0.25);
  --gold-bright: #F4D976;
  --black: #0B0B0B;
  --black-alt: #151515;
  --purple: #7C3AED;
  --blue: #2563EB;
  --pink: #EC4899;
  --light-text: #CBD5E1;
  --gradient-gold: linear-gradient(135deg, #F4D976, var(--gold) 55%, #9C7A1F);
  --gradient-purple: linear-gradient(135deg, var(--purple), var(--blue));

  --font-head: 'Poppins', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-btn: 'Poppins', -apple-system, sans-serif;

  --container: 1400px;
  --header-h: 84px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-full: 999px;
  --transition: 0.25s ease;
}

/* ---------- Page theme tokens ---------- */
/* default body = "theme-dark" (Black + Gold): used on the homepage */
body {
  --bg: var(--black);
  --bg-alt: var(--black-alt);
  --surface: #15110a;
  --text: #FFFFFF;
  --text-muted: var(--light-text);
  --text-soft: #94a3b8;
  --border: var(--gold-soft);
  --accent: var(--gold);
  --accent-soft: rgba(212, 175, 55, 0.12);
  --btn-primary-bg: var(--gradient-gold);
  --btn-primary-text: #1a1305;
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.25);
}

/* "theme-light" (Purple + White): used on Commandos / Blog / Contact / 404 */
body.theme-light {
  --bg: #FFFFFF;
  --bg-alt: #F8F7FC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-muted: #475569;
  --text-soft: #64748b;
  --border: rgba(212, 175, 55, 0.35);
  --accent: var(--purple);
  --accent-soft: #EDE4FD;
  --btn-primary-bg: var(--gradient-purple);
  --btn-primary-text: #ffffff;
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 8px 30px rgba(124, 58, 237, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; -webkit-user-drag: none; user-select: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; color: var(--text); }

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; }
p { color: var(--text-muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--radius-full); margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { font-size: 1.05rem; }

.gold-text { color: var(--gold); }
.grad-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.theme-light .grad-text { background: var(--gradient-purple); -webkit-background-clip: text; background-clip: text; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-family: var(--font-btn); font-weight: 600; font-size: 0.96rem; transition: all var(--transition);
  white-space: nowrap;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; color: #111; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.5); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-gold { background: var(--gradient-gold); color: #1a1305; box-shadow: 0 10px 26px rgba(212, 175, 55, 0.3); }
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------- Header (fixed Black + Gold on every page) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h); display: flex; align-items: center;
  background: rgba(11, 11, 11, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-soft);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--container); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff; }
.brand img { height: 42px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-text strong { color: var(--gold); letter-spacing: 0.04em; }
.brand .brand-text span { display: none; font-size: 0.62rem; color: var(--light-text); font-weight: 500; letter-spacing: 0.06em; }
@media (min-width: 480px) { .brand .brand-text span { display: block; } }

.nav-links { display: none; align-items: center; gap: clamp(16px, 1.7vw, 26px); }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.88rem; color: var(--light-text); position: relative; padding: 6px 0;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
  background: var(--gold); border-radius: var(--radius-full);
}
@media (min-width: 1100px) { .nav-links { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn-gold { display: inline-flex; }

.nav-toggle {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(212, 175, 55, 0.1); border: 1px solid var(--gold-soft); flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--gold); border-radius: 2px; transition: all var(--transition); }
@media (min-width: 1100px) { .nav-toggle { display: none; } }
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--black); z-index: 999; transform: translateX(100%); transition: transform var(--transition);
  overflow-y: auto; padding: 30px 24px; display: none;
}
.mobile-menu.open { transform: translateX(0); display: block; }
.mobile-menu a {
  display: block; padding: 16px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: #fff;
  border-bottom: 1px solid var(--gold-soft);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero (strict 3-column: founder | center content | logo) ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 16px) 0 60px; overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(212, 175, 55, 0.14), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(124, 58, 237, 0.12), transparent 50%),
    var(--black);
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 0.75fr 1.2fr 0.75fr; align-items: stretch; } }

.hero-founder-col { display: flex; justify-content: center; align-items: center; }
.hero-founder-col picture { display: flex; justify-content: center; align-items: center; width: 100%; }
.hero-founder-col img {
  max-height: 560px; width: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6));
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
@media (min-width: 980px) { .hero-founder-col img { transform: translateY(-15px); } }

.hero-center-col { text-align: center; }

.founder-authority{
    color:var(--gold);
    font-family:var(--font-head);
    font-weight:600;
    font-size:clamp(0.78rem, 1.6vw, 0.95rem);
    letter-spacing:0.02em;
    margin:6px 0 10px;
    max-width:560px;
}

.hero-headline{
    color:#D4AF37;
    font-family:'Poppins';
    font-size:clamp(1.05rem, 2.4vw, 1.5rem);
    font-weight:700;
    line-height:1.3;
    margin:12px 0 20px;
    max-width:560px;}

@media (min-width: 980px) { .hero-center-col { text-align: left; } }
.hero-center-col .eyebrow-script {
  font-family: 'Dancing Script', cursive; font-weight: 700; font-style: normal; line-height: 1.35;
  font-size: clamp(2.3rem, 4.6vw, 3.1rem); margin: -6px 0 -8px; padding-bottom: 6px; display: block;
  background: linear-gradient(95deg, #FCEFB0, #E8C34B 50%, #9C7A1F);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-center-col h1 {
  background: linear-gradient(100deg, #FCEFB0 0%, #E8C34B 35%, #B8860B 62%, #F4D976 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 6px;
}
.hero-center-col .role-line { color: var(--light-text); font-size: 1.05rem; margin-bottom: 10px; }
.hero-star-divider { display: block; color: var(--gold); margin: 0 auto 10px; width: 18px; height: 18px; }
@media (min-width: 980px) { .hero-star-divider { margin: 0 0 10px; } }
.hero-star-divider svg { width: 100%; height: 100%; }
.hero-center-col .founder-tag { color: var(--gold); font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; display: block; }
.hero-value { max-width: 580px; margin: 0 0 22px; color: var(--light-text); font-size: 1rem; }
.hero-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; justify-content: center; }
@media (min-width: 980px) { .hero-pills { justify-content: flex-start; } }
.hero-pills span {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--gold-soft); border-radius: var(--radius-full);
  padding: 8px 16px; font-size: 0.82rem; font-weight: 600; color: var(--light-text);
}
.hero-pills span svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; justify-content: center; }
@media (min-width: 980px) {
  .hero-actions { justify-content: flex-start; flex-wrap: nowrap; }
  .hero-actions .btn { white-space: nowrap; }
}

.hero-logo-col { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px; }
@media (min-width: 980px) {
  .hero-logo-col { display: flex; align-items: center; justify-content: center; gap: 8px; }
}
.hero-logo-col img { width: 100%; max-width: 190px; opacity: 0.78; filter: drop-shadow(0 0 32px rgba(212, 175, 55, 0.2)); }
@media (min-width: 980px) { .hero-logo-col img { max-width: 340px; opacity: 0.96; } }
.hero-logo-col .tagline { color: var(--gold); font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-align: center; }

.hero-stats-band { margin-top: 50px; border-top: 1px solid var(--gold-soft); padding-top: 36px; }
.hero-stats-band .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; text-align: center; }
@media (min-width: 768px) { .hero-stats-band .stats-grid { grid-template-columns: repeat(5, 1fr); } }
.stat-item strong { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 2.8vw, 2.2rem); color: var(--gold); font-weight: 800; }
.stat-item span { color: var(--light-text); font-size: 0.82rem; font-weight: 600; }

/* ---------- About section (Home, Black+Gold) ---------- */
.about-grid { display: grid; gap: 50px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; } }
.about-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.about-photo .ribbon {
  position: absolute; top: 20px; left: -8px; background: var(--gradient-gold); color: #1a1305; font-weight: 700;
  font-family: var(--font-head); font-size: 0.8rem; padding: 8px 18px; border-radius: 0 var(--radius-full) var(--radius-full) 0;
  box-shadow: var(--shadow-md);
}
.about-text ul.checks { margin-top: 22px; display: grid; gap: 12px; }
.about-text ul.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-weight: 600; }
.about-text ul.checks li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gradient-gold);
  color: #1a1305; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; margin-top: 1px;
}
.about-text .mission-box {
  margin-top: 26px; padding: 22px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.about-text .mission-box h3 { color: var(--gold); margin-bottom: 8px; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.about-text .mission-box h3 svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Why Join / Expertise Cards ---------- */
.why-grid, .expertise-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.why-card, .expertise-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 24px; transition: all var(--transition); box-shadow: var(--shadow-md); text-align: center;
}
.expertise-card { box-shadow: none; background: rgba(255, 255, 255, 0.025); }
.why-card { text-align: left; }
.why-card:hover, .expertise-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.expertise-card:hover { transform: none; background: var(--surface); box-shadow: none; }
.why-card .icon, .expertise-card .icon {
  width: 54px; height: 54px; border-radius: var(--radius-md); background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #1a1305; margin-bottom: 18px;
}
.expertise-card .icon { margin: 0 auto 16px; }
.why-card h3, .expertise-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.why-card p, .expertise-card p { font-size: 0.92rem; }
/* Golden line icons without the filled tile (Benefits / Training / Expertise / Rank Structure) */
#what-you-get .why-card .icon,
#training-ecosystem .expertise-card .icon,
#expertise .expertise-card .icon,
#rank-structure .why-card .icon {
  width: 52px; height: 52px; border-radius: 0; background: none; color: var(--gold);
}
#what-you-get .why-card .icon svg,
#training-ecosystem .expertise-card .icon svg,
#expertise .expertise-card .icon svg,
#rank-structure .why-card .icon svg { width: 100%; height: 100%; display: block; }

/* ---------- Card grids (Commandos / Blog / Testimonials) ---------- */
.grid-3 { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-6 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); align-items: stretch; }

.commando-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: all var(--transition); box-shadow: var(--shadow-md); display: flex; flex-direction: column; height: 100%;
}
.commando-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.commando-card .photo { aspect-ratio: 1/1; overflow: hidden; position: relative; background: var(--gradient-purple); }
.commando-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.commando-card:hover .photo img { transform: scale(1.06); }
.commando-card .rank-tag {
  position: absolute; top: 12px; left: 12px; background: rgba(11, 11, 11, 0.75); color: var(--gold); font-size: 0.7rem;
  font-family: var(--font-head); font-weight: 600; padding: 5px 12px; border-radius: var(--radius-full); backdrop-filter: blur(4px);
  border: 1px solid var(--gold-soft);
}
.commando-card .body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.commando-card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.commando-card .city { color: var(--text-soft); font-size: 0.85rem; margin-bottom: 10px; display: flex; gap: 6px; align-items: center; }
.commando-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.commando-card .tags span {
  background: var(--accent-soft); color: var(--accent); font-size: 0.72rem; font-weight: 700;
  padding: 4px 10px; border-radius: var(--radius-full);
}
.commando-card .actions { display: flex; flex-direction: column; gap: 8px; }
.commando-card .actions .btn { width: 100%; }
.commando-card .actions + .actions { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, 0.15); }

.blog-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: all var(--transition); box-shadow: var(--shadow-md); display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.blog-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--gradient-purple); position: relative; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; filter: saturate(0.9) contrast(1.08) brightness(0.96); }
.blog-card .thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 8, 4, 0.05) 0%, rgba(10, 8, 4, 0.35) 100%),
    linear-gradient(135deg, rgba(212, 175, 55, 0.18), transparent 60%);
  mix-blend-mode: multiply;
}
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-soft); margin-bottom: 10px; align-items: center; flex-wrap: wrap; }
.blog-card .category-pill {
  background: var(--accent-soft); color: var(--accent); font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.72rem;
}
.blog-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.blog-card p.excerpt { font-size: 0.9rem; margin-bottom: 16px; flex: 1; }
.blog-card .read-more { font-weight: 700; color: var(--accent); font-size: 0.9rem; display: inline-flex; gap: 6px; align-items: center; }

.featured-blog {
  display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); margin-bottom: 40px;
}
@media (min-width: 800px) { .featured-blog { grid-template-columns: 1.1fr 1fr; } }
.featured-blog .thumb { aspect-ratio: 16/10; background: var(--gradient-purple); }
.featured-blog .thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-blog .body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.featured-blog .body h2 { font-size: 1.6rem; margin-bottom: 14px; }

.testimonial-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 26px; box-shadow: var(--shadow-md); transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold); }
.testimonial-card .stars { color: var(--gold); margin-bottom: 14px; font-size: 0.95rem; letter-spacing: 2px; }
.testimonial-card p.quote { color: var(--text); font-size: 0.97rem; margin-bottom: 20px; }
.testimonial-card .person { display: flex; gap: 12px; align-items: center; }
.testimonial-card .person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-soft); }
.testimonial-card .person strong { display: block; font-size: 0.92rem; }
.testimonial-card .person span { font-size: 0.78rem; color: var(--text-soft); }

/* ---------- Training Programs ---------- */
.program-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px; position: relative; overflow: hidden; box-shadow: var(--shadow-md); transition: all var(--transition);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.program-card .num {
  position: absolute; top: -10px; right: 10px; font-family: var(--font-head); font-size: 4.5rem; font-weight: 800;
  color: var(--accent-soft); line-height: 1;
}
.program-card h3 { margin-bottom: 10px; position: relative; }
.program-card p { font-size: 0.92rem; position: relative; }
.program-card .duration {
  margin-top: 16px; display: inline-flex; gap: 6px; align-items: center; font-size: 0.78rem; font-weight: 700;
  color: var(--accent); position: relative;
}

/* ---------- Why Choose / Founder Message / Become A Commando triptych ---------- */
.triptych { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .triptych { grid-template-columns: 1fr 1.1fr 1fr; } }
.triptych-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-md); }
.triptych-panel h3 { color: var(--gold); font-size: 1rem; margin-bottom: 18px; letter-spacing: 0.03em; }
.triptych-panel ul { display: grid; gap: 14px; }
.triptych-panel ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text); }
.triptych-panel ul li::before { content: "✓"; color: var(--gold); font-weight: 800; }
.triptych-panel.center { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.founder-msg-photo {
  width: 100%; max-width: 300px; margin: 0 auto 12px;
  background: radial-gradient(58% 58% at 50% 42%, rgba(212, 175, 55, 0.13), transparent 70%);
}
.founder-msg-photo img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.55));
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}
.triptych-panel.center .quote-mark { font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.triptych-panel.center p.msg { font-style: italic; color: var(--text-muted); margin-bottom: 18px; }
.triptych-panel.center .signature { font-family: 'Poppins'; font-style: italic; color: var(--gold); font-size: 1.2rem; }
.triptych-panel .icon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0; }
.triptych-panel .icon-grid div { text-align: center; font-size: 0.78rem; color: var(--text-muted); }
.triptych-panel .icon-grid div span { display: block; font-size: 1.4rem; margin-bottom: 6px; }
.triptych-panel .icon-grid div span svg { width: 30px; height: 30px; color: var(--gold); display: inline-block; }

/* ---------- Community Highlights ---------- */
.highlight-strip { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.highlight-card {
  border-radius: var(--radius-md); overflow: hidden; position: relative; aspect-ratio: 1/1;
  background: var(--gradient-purple); display: flex; align-items: flex-end; padding: 20px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.highlight-card.gold { background: var(--gradient-gold); }
.highlight-card span { color: #fff; font-weight: 800; font-family: var(--font-head); font-size: 1rem; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.highlight-card.gold span { color: #1a1305; text-shadow: none; }

/* ---------- Contact CTA / Need Expert Guidance form band ---------- */
.contact-cta {
  background: var(--gradient-gold); border-radius: var(--radius-lg); padding: 56px 40px; text-align: center;
  color: #1a1305; position: relative; overflow: hidden;
}
.contact-cta h2 { color: #1a1305; margin-bottom: 14px; }
.contact-cta p { color: #3a2e0c; max-width: 560px; margin: 0 auto 30px; }
.contact-cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.guidance-band {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-lg);
}
.guidance-fields { display: grid; gap: 18px; }
@media (min-width: 760px) {
  .guidance-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guidance-field-message { grid-column: 1 / -1; }
}
.guidance-field label {
  display: block; margin-bottom: 7px; color: var(--text); font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 600;
}
.guidance-band input, .guidance-band textarea {
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); width: 100%; resize: vertical;
}
.guidance-band input:focus, .guidance-band textarea:focus { border-color: var(--accent); }
.guidance-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Footer (fixed Black + Gold, 4 columns) ---------- */
.site-footer { background: var(--black); color: var(--light-text); padding: 64px 0 0; margin-top: 0; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 44px; }
.footer-grid .brand-col .brand { color: #fff; margin-bottom: 14px; }
.footer-grid p { color: #94a3b8; font-size: 0.9rem; }
.footer-grid h4 { font-family: var(--font-head); color: var(--gold); font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.03em; }
.footer-grid ul li { margin-bottom: 10px; }
#footerContact li { display: flex; align-items: center; gap: 10px; }
#footerContact li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.footer-grid ul li a { color: #94a3b8; font-size: 0.9rem; transition: color var(--transition); }
.footer-grid ul li a:hover { color: var(--gold); }
.social-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(212, 175, 55, 0.08); border: 1px solid var(--gold-soft); display: flex;
  align-items: center; justify-content: center; transition: all var(--transition); color: var(--gold);
}
.social-row svg { width: 18px; height: 18px; }
.social-row a:hover { background: var(--purple); border-color: var(--purple); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.15); padding: 22px 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: #64748b;
}
.footer-bottom a { color: #94a3b8; }

/* ---------- Page Header (sub-pages) ---------- */
.page-header {
  padding: calc(var(--header-h) + 50px) 0 60px; text-align: center;
  background: radial-gradient(circle at 50% 0%, var(--accent-soft), transparent 60%);
}
.page-header .eyebrow { margin-bottom: 14px; }
.breadcrumb { font-size: 0.85rem; color: var(--text-soft); margin-top: 10px; }
.breadcrumb a { color: var(--accent); font-weight: 600; }

/* ---------- Toolbar: search / filters ---------- */
.toolbar {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between;
  margin-bottom: 34px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px 18px;
}
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box input {
  width: 100%; padding: 12px 16px 12px 42px; border-radius: var(--radius-full); border: 1.5px solid var(--border);
  background: var(--bg-alt); color: var(--text); transition: border-color var(--transition);
}
.search-box input:focus { outline: none; border-color: var(--accent); }
.search-box .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-soft); }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-row select {
  padding: 11px 16px; border-radius: var(--radius-full); border: 1.5px solid var(--border); background: var(--bg-alt);
  color: var(--text); font-weight: 600; font-size: 0.88rem;
}
.filter-toggle {
  display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: var(--radius-full);
  border: 1.5px solid var(--border); background: var(--bg-alt); color: var(--text); font-weight: 600;
  font-size: 0.88rem; cursor: pointer; user-select: none;
}
.filter-toggle input { accent-color: var(--accent); }
.results-meta { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 20px; }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-soft); }
.no-results .icon { font-size: 2.6rem; margin-bottom: 14px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination button {
  min-width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); font-weight: 700; transition: all var(--transition);
}
.pagination button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.pagination button.active { background: var(--btn-primary-bg); color: var(--btn-primary-text); border-color: transparent; }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- Commando Profile ---------- */
.profile-hero { display: grid; gap: 40px; padding: 50px 0; }
@media (min-width: 860px) { .profile-hero { grid-template-columns: 320px 1fr; } }
.profile-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1/1; background: var(--gradient-purple); border: 1px solid var(--border); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-info .rank-badge {
  display: inline-flex; gap: 8px; align-items: center; background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 0.78rem; padding: 6px 16px; border-radius: var(--radius-full); margin-bottom: 14px;
}
.profile-info h1 { margin-bottom: 8px; }
.profile-info .city-line { color: var(--text-soft); font-weight: 600; margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.profile-info .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.profile-info .tags span { background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.78rem; padding: 6px 14px; border-radius: var(--radius-full); }
.profile-stat-row { display: flex; gap: 30px; margin: 24px 0; flex-wrap: wrap; }
.profile-stat-row div strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--accent); }
.profile-stat-row div span { font-size: 0.8rem; color: var(--text-soft); }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.profile-about { padding: 10px 0 50px; }
.profile-about h2 { margin-bottom: 16px; font-size: 1.4rem; }
.related-section { padding: 50px 0; }

/* ---------- Blog Detail ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 50px 0 70px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 0.88rem; color: var(--text-soft); margin: 18px 0 26px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-md); aspect-ratio: 16/9; background: var(--gradient-purple); border: 1px solid var(--border); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body p { font-size: 1.06rem; color: var(--text); margin-bottom: 22px; line-height: 1.85; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0; }
.article-tags span { background: var(--accent-soft); color: var(--accent); font-size: 0.78rem; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-full); }
.share-row { display: flex; gap: 10px; align-items: center; margin: 36px 0; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.share-row span.label { font-weight: 700; font-size: 0.9rem; margin-right: 6px; }
.share-row a, .share-row button {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--text); transition: all var(--transition);
}
.share-row a:hover, .share-row button:hover { background: var(--btn-primary-bg); color: var(--btn-primary-text); border-color: transparent; }

/* ---------- Contact Page ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.founder-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  margin-bottom: 24px; display: flex; gap: 20px; align-items: center; box-shadow: var(--shadow-md);
  background-image: linear-gradient(135deg, rgba(124,58,237,0.05), rgba(212,175,55,0.05));
}
.founder-card img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); flex-shrink: 0; }
.founder-card h4 { margin-bottom: 4px; }
.founder-card span.role { color: var(--accent); font-weight: 700; font-size: 0.85rem; }
.contact-info-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px;
  margin-bottom: 18px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-md);
}
.contact-info-card .icon {
  width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--btn-primary-bg); color: var(--btn-primary-text);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem;
}
.contact-info-card h4 { margin-bottom: 4px; }
.contact-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-tabs { display: flex; gap: 6px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.form-tab {
  padding: 12px 18px; font-weight: 700; font-size: 0.9rem; color: var(--text-soft); border-bottom: 2px solid transparent;
  transition: all var(--transition); background: none;
}
.form-tab:hover { color: var(--accent); }
.form-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.contact-cta-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 28px 0 6px; }
.contact-cta-row a {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 22px 14px;
  border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); color: var(--text);
  transition: all var(--transition); font-weight: 700; font-size: 0.86rem;
}
.contact-cta-row a .icon-circle {
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.contact-cta-row a .icon-circle svg { width: 22px; height: 22px; }
.contact-cta-row a:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--bg-alt); transition: border-color var(--transition); resize: vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); }
.form-group .error-msg { color: #DC2626; font-size: 0.8rem; margin-top: 6px; display: none; }
.form-group.has-error input, .form-group.has-error textarea { border-color: #DC2626; }
.form-group.has-error .error-msg { display: block; }
.form-success {
  display: none; background: #DCFCE7; color: #166534; padding: 16px 20px; border-radius: var(--radius-sm);
  margin-bottom: 20px; font-weight: 600; font-size: 0.9rem;
}
.form-success.show { display: block; }
.map-wrap { border-radius: var(--radius-md); overflow: hidden; margin-top: 20px; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(0.15); }
.faq-section { margin-top: 70px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 14px; overflow: hidden; background: var(--surface); }
.faq-q {
  width: 100%; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; text-align: left; font-size: 0.98rem; color: var(--text);
}
.faq-q .plus { transition: transform var(--transition); font-size: 1.2rem; color: var(--accent); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition); padding: 0 24px; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { font-size: 0.93rem; }

/* ---------- 404 ---------- */
.error-page { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 20px 60px; }
.error-page .container { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .error-page .container { grid-template-columns: 1fr 1fr; } }
.error-page .error-photo { display: flex; justify-content: center; order: 2; }
.error-page .error-photo img { max-height: 480px; }
.error-page .error-content { order: 1; text-align: center; }
@media (min-width: 860px) { .error-page .error-content { text-align: left; } }
.error-page .code {
  font-family: var(--font-head); font-size: clamp(4.5rem, 14vw, 7rem); font-weight: 800; background: var(--gradient-purple);
  -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1;
}
.error-page h1 { margin: 10px 0 14px; }
.error-page p { max-width: 420px; margin: 0 0 30px; }
@media (max-width: 859px) { .error-page p { margin: 0 auto 30px; } }
.error-page .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
@media (min-width: 860px) { .error-page .actions { justify-content: flex-start; } }

/* ---------- WhatsApp Floating Button ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); transition: transform var(--transition);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 900; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--accent); display: flex;
  align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: all var(--transition);
}
.back-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Skeleton loaders ---------- */
.skeleton { background: linear-gradient(90deg, var(--border) 25%, var(--bg-alt) 50%, var(--border) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 320px; border-radius: var(--radius-md); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.lazy-img { opacity: 0; transition: opacity 0.4s ease; }
.lazy-img.loaded { opacity: 1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .contact-cta { padding: 44px 24px; }

  .hero { padding-top: calc(var(--header-h) + 14px); padding-bottom: 44px; }
  .hero-grid { display: flex; flex-direction: column; gap: 24px; }
  .hero-center-col { order: 1; }
  .hero-founder-col { order: 2; }
  .hero-founder-col img { max-height: 360px; }
  .hero-actions { margin-bottom: 8px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats-band { margin-top: 28px; padding-top: 28px; }

  #featuredCommandos, #testimonialsGrid, #latestBlogs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 320px);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 14px;
  }
  #featuredCommandos > *, #testimonialsGrid > *, #latestBlogs > * { scroll-snap-align: start; }

  .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .expertise-card { padding: 20px 12px; }
  .expertise-card h3 { font-size: 0.9rem; }

  .guidance-actions .btn { width: 100%; }

  .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .back-top { left: auto; right: 22px; bottom: calc(86px + env(safe-area-inset-bottom)); }
}

#expertise.section { padding-block: 72px; }
#testimonials.section { padding-block: 96px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* =========================================================
   KKC MOBILE OPTIMIZATION PATCH
   Add at END of style.css
   ========================================================= */

/* ---------- Tablet ---------- */
@media (max-width: 980px) {

  /* Founder message first */
  .triptych {
    display: flex;
    flex-direction: column;
  }

  .triptych-panel.center {
    order: -1;
  }

  /* Show logo on mobile/tablet */
  .hero-logo-col {
    display: flex;
  }

  .hero-logo-col img {
    max-width: 250px;
  }

  /* Better hero spacing */
  .hero {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .hero-founder-col img {
    max-height: 350px;
    width: auto;
    transform: translateY(-20px);
  }

  .hero-center-col {
    text-align: center;
  }

  .hero-pills {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

}

/* ---------- Mobile ---------- */
@media (max-width: 480px) {

  /* Header */
  .brand-text span {
    display: none !important;
  }

  .brand-text strong {
    font-size: 0.8rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-gold.btn-sm {
    padding: 8px 12px;
    font-size: 0.7rem;
  }

  /* Hero Buttons */
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Hero Image */
  .hero-founder-col img {
    max-height: 280px;
  }

  /* Hero Content */
  .hero-center-col h1 {
    font-size: 2rem;
  }

  .hero-value {
    font-size: 0.95rem;
  }

  /* Stats */
  .stat-item strong {
    font-size: 1.5rem;
  }

  .stat-item span {
    font-size: 0.75rem;
  }

  /* Guidance Form */
  .guidance-actions {
    flex-direction: column;
  }

  .guidance-actions .btn {
    width: 100%;
  }

  /* Footer */
  .footer-grid ul li {
    word-break: break-word;
  }

  /* Floating Buttons */
  .wa-float {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }

  .wa-float svg {
    width: 24px;
    height: 24px;
  }

  .back-top {
    width: 42px;
    height: 42px;
    bottom: 18px;
    left: 18px;
  }

  /* Better touch targets */
  .btn {
    min-height: 48px;
  }

}

/* ---------- Small Phones ---------- */
@media (max-width: 360px) {

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-text {
    max-width: 78px;
    overflow: hidden;
  }

  .brand-text strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }

  .header-actions .btn-gold.btn-sm {
    padding: 7px 10px;
    font-size: 0.64rem;
  }

  .hero-center-col h1 {
    font-size: 1.8rem;
  }

  .hero-value {
    font-size: 0.9rem;
  }

  .stat-item strong {
    font-size: 1.35rem;
  }

  .stat-item span {
    font-size: 0.7rem;
  }

  .hero-pills span {
    font-size: 0.7rem;
    padding: 6px 12px;
  }

  .btn {
    font-size: 0.85rem;
  }

}

/* ---------- Landscape Phones ---------- */
@media (max-height: 500px) and (orientation: landscape) {

  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero-founder-col img {
    max-height: 220px;
  }

}

/* ---------- Safety Overflow Fix ---------- */

html,
body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  overflow-x: hidden;
}

.hero-grid,
.about-grid,
.triptych,
.grid-3,
.grid-4,
.grid-6,
.expertise-grid,
.footer-grid {
  overflow-x: hidden;
}

/* ---------- Better Mobile Cards ---------- */

@media (max-width: 480px) {

  .commando-card,
  .blog-card,
  .testimonial-card,
  .triptych-panel,
  .why-card,
  .expertise-card {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

}

.cta-microtrust{
    display:flex;
    flex-wrap:wrap;
    gap:8px 20px;
    margin-top:16px;
    justify-content:center;
}
@media (min-width: 980px) { .cta-microtrust { justify-content:flex-start; } }

.cta-microtrust span{
    color:var(--gold);
    font-family:var(--font-head);
    font-weight:600;
    font-size:.82rem;
}

/* ---------- Hero Slider (Style-1 dynamic hero) ---------- */
.hero-slider { position: relative; }
/* Only the left-side photo + content animate; the KKC logo column never gets .hero-anim */
.hero-anim { transition: opacity .5s ease-in-out, transform .5s ease-in-out; will-change: opacity, transform; }
.hero-anim.is-exiting { opacity: 0; transform: translateY(16px); }
.hero-anim.is-entering { opacity: 0; transform: translateY(-16px); }
@media (prefers-reduced-motion: reduce) {
  .hero-anim { transition: none; }
  .hero-anim.is-exiting, .hero-anim.is-entering { opacity: 1; transform: none; }
}
/* Commando short bio: hard cap at 2 lines, no layout shift */
.hero-bio-clamp { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hero-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 44px; height: 44px; border-radius: var(--radius-full); padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(11, 11, 11, 0.55); color: var(--gold);
  border: 1px solid var(--gold-soft); line-height: 0;
  cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.hero-slider-btn svg { width: 20px; height: 20px; display: block; }
.hero-slider-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.hero-slider-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hero-slider-prev { left: 2px; }
.hero-slider-next { right: 2px; }
@media (min-width: 980px) {
  .hero-slider-prev { left: 6px; }
  .hero-slider-next { right: 6px; }
}
@media (max-width: 640px) {
  .hero-slider-btn { width: 38px; height: 38px; top: 36%; }
  .hero-slider-btn svg { width: 17px; height: 17px; }
}

/* ---------- Commando Code ---------- */
.code-grid{ display:grid; gap:18px; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); }
.code-item{
    text-align:center; padding:30px 18px; background:var(--surface); border:1px solid var(--border);
    border-radius:var(--radius-md); box-shadow:var(--shadow-md); transition:all var(--transition);
}
.code-item:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:var(--gold); }
.code-item .num{
    display:block; font-family:var(--font-head); font-weight:800; font-size:1.7rem; color:var(--gold); margin-bottom:10px;
}
.code-item h3{ font-size:1rem; letter-spacing:0.02em; }

/* ---------- Join The Movement ---------- */
.join-movement-box{
    max-width:1120px;
    margin:0 auto;
    text-align:center;
    background:
      radial-gradient(circle at 50% 0, rgba(212, 175, 55, 0.10), transparent 42%),
      var(--surface);
    border:1px solid rgba(212, 175, 55, 0.42);
    border-radius:var(--radius-lg);
    padding:clamp(40px, 6vw, 64px) clamp(24px, 5vw, 60px);
    box-shadow:var(--shadow-lg), 0 0 34px rgba(212, 175, 55, 0.10);
}
.join-movement-box h2{ margin:14px 0 18px; }
.join-movement-box p{ font-size:1.05rem; max-width:660px; margin:0 auto 30px; }
.movement-benefits{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  margin:0 auto 30px;
}
.movement-benefits > div{
  min-height:112px;
  padding:18px 12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:var(--text);
  font-family:var(--font-head);
  font-size:0.86rem;
  font-weight:600;
  background:rgba(255, 255, 255, 0.025);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
}
.movement-benefits svg{ width:30px; height:30px; color:var(--gold); display:block; }
.movement-actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }

/* ---------- Founder showcase ---------- */
.founder-section{ padding-block:80px; }
.founder-container{ max-width:1320px; }
.founder-showcase{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap:40px;
  align-items:stretch;
}
.founder-showcase::after{
  content:"";
  position:absolute;
  top:34px;
  bottom:34px;
  left:50%;
  width:1px;
  transform:translateX(-50%);
  background:linear-gradient(to bottom, transparent, rgba(244, 217, 118, 0.75) 20%, rgba(212, 175, 55, 0.75) 80%, transparent);
  box-shadow:0 0 14px rgba(212, 175, 55, 0.42);
  pointer-events:none;
}
.founder-showcase-card{
  min-width:0;
  min-height:620px;
  padding:40px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.055), transparent 38%),
    var(--surface);
  border:1px solid rgba(212, 175, 55, 0.42);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg), 0 0 28px rgba(212, 175, 55, 0.08);
  transition:transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.founder-showcase-card:hover{
  transform:translateY(-4px);
  border-color:rgba(244, 217, 118, 0.72);
  box-shadow:var(--shadow-lg), 0 0 40px rgba(212, 175, 55, 0.17);
}
.founder-showcase-card h3{
  color:var(--gold);
  font-size:1.08rem;
  letter-spacing:0.04em;
}
.why-join-card{ display:flex; flex-direction:column; justify-content:center; }
.why-join-card h3{ margin-bottom:30px; }
.why-join-card ul{ display:grid; gap:22px; }
.why-join-card li{
  display:flex;
  gap:14px;
  align-items:flex-start;
  color:var(--text);
  font-size:0.98rem;
}
.why-join-card li::before{
  content:"✓";
  flex:0 0 26px;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  color:#1a1305;
  font-weight:800;
  background:var(--gradient-gold);
  border-radius:50%;
  box-shadow:0 0 14px rgba(212, 175, 55, 0.24);
}
.founder-message-card{
  display:flex;
  flex-direction:column;
  text-align:center;
}
.founder-portrait-frame{
  flex:1 1 68%;
  min-height:390px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:12px;
  background:
    radial-gradient(circle at 50% 42%, rgba(212, 175, 55, 0.15), transparent 64%),
    #0d0b08;
  border:1px solid rgba(244, 217, 118, 0.72);
  border-radius:22px;
  box-shadow:inset 0 0 24px rgba(212, 175, 55, 0.08), 0 14px 34px rgba(0, 0, 0, 0.42), 0 0 20px rgba(212, 175, 55, 0.11);
}
.founder-portrait-frame img{
  display:block;
  width:100%;
  height:100%;
  max-height:410px;
  object-fit:contain;
  object-position:center;
}
.founder-message-copy{ padding-top:24px; }
.founder-message-copy h3{ margin-bottom:12px; }
.founder-message-copy p{
  color:var(--text-muted);
  font-style:italic;
  line-height:1.55;
  margin-bottom:8px;
}
.founder-message-copy .signature{
  display:block;
  color:var(--gold);
  font-family:'Dancing Script', cursive;
  font-size:clamp(2rem, 3vw, 2.7rem);
  font-weight:700;
  line-height:1.15;
}
@media (max-width: 900px){
  .founder-showcase{ gap:28px; }
  .founder-showcase-card{ min-height:570px; padding:30px; }
  .founder-showcase::after{ display:none; }
  .founder-portrait-frame{ min-height:330px; }
}
@media (max-width: 699px){
  .movement-benefits{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .movement-actions .btn{ width:100%; }
  .founder-section{ padding-block:60px; }
  .founder-showcase{ display:flex; flex-direction:column; }
  .founder-message-card{ order:-1; }
  .founder-showcase-card{ min-height:0; padding:28px 24px; }
  .founder-portrait-frame{ min-height:300px; }
  .why-join-card h3{ margin-bottom:24px; }
  .why-join-card ul{ gap:18px; }
}

/* ---------- Founder image — desktop prominence (Task 6) ---------- */
@media (min-width: 1100px) {
  .about-grid { grid-template-columns: 1fr 1.05fr; gap: 60px; }
  .about-photo { box-shadow: var(--shadow-lg), var(--shadow-glow); }
}


/* ============END KKC MOBILE OPTIMIZATION PATCH========== */

