* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #101010;
  --ink: #202020;
  --red: #c94141;
  --red-dark: #a92d31;
  --cream: #f4eee3;
  --white: #fff;
  --muted: #6e6e6e;
  --line: #e7e2da;
}
html { scroll-behavior: smooth; }
body { font-family: "Inter", Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; }
.brand strong, .brand small { display: block; line-height: 1.1; letter-spacing: .04em; }
.brand strong { font-size: 15px; font-weight: 800; }
.brand small { font-size: 11px; font-weight: 700; color: var(--red-dark); margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 700; }
.main-nav a:not(.nav-whatsapp):hover { color: var(--red-dark); }
.nav-whatsapp { background: var(--black); color: #fff; padding: 11px 17px; border-radius: 4px; }
.nav-whatsapp:hover { background: var(--red-dark); }
.menu-toggle { display: none; border: 0; background: none; cursor: pointer; }
.menu-toggle span { width: 25px; height: 2px; display: block; background: var(--black); margin: 5px; }

.hero { position: relative; overflow: hidden; background: var(--cream); min-height: 630px; display: flex; align-items: center; }
.hero-pattern { position: absolute; inset: 0 0 0 53%; background: repeating-linear-gradient(135deg, transparent 0 38px, rgba(201,65,65,.08) 39px 40px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; padding: 90px 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--red-dark); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; margin-bottom: 22px; }
.eyebrow span { width: 28px; height: 3px; background: var(--red); display: inline-block; }
.eyebrow.light { color: #f3caca; }
.hero h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1.04; letter-spacing: -.06em; max-width: 700px; font-weight: 800; }
.hero-tagline { margin: 14px 0 0; color: var(--black); font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: -.02em; font-style: italic; }
.hero-tagline em { color: var(--orange); font-style: italic; }
h1 em, h2 em { color: var(--red-dark); font-style: normal; }
.hero-text { color: #5d5a55; max-width: 540px; margin: 26px 0 30px; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 25px; padding: 14px 21px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; transition: .2s ease; }
.btn span { font-size: 19px; line-height: 0; }
.btn-primary { background: var(--red-dark); color: #fff; }
.btn-primary:hover { background: var(--black); transform: translateY(-2px); }
.btn-outline { border-color: #bdb4a7; color: var(--black); }
.btn-outline:hover { border-color: var(--black); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--red-dark); }
.hero-contact { margin-top: 34px; font-size: 11px; color: #777; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.status-dot { display: inline-block; width: 8px; height: 8px; background: #4c9b65; border-radius: 50%; margin-right: 8px; }
.hero-card { width: min(350px, 100%); aspect-ratio: 1/1.08; background: var(--black); color: #fff; padding: 42px; margin-left: auto; position: relative; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 20px 20px 0 var(--red); }
.bolt-mark { position: absolute; top: 25px; right: 35px; font-size: 145px; color: var(--red); line-height: 1; transform: skew(-8deg); }
.hero-card p { font-size: 12px; letter-spacing: .3em; color: #e9cfc0; font-weight: 800; }
.hero-card h2 { font-size: 42px; line-height: 1.05; letter-spacing: -.05em; margin: 10px 0 25px; }
.card-line { width: 55px; height: 4px; background: var(--red); margin-bottom: 14px; }
.hero-card > span { font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: #b8b8b8; }

.trust-strip { background: var(--black); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { padding: 24px 20px; border-right: 1px solid #333; display: flex; flex-direction: column; gap: 5px; }
.trust-grid div:first-child { border-left: 1px solid #333; }
.trust-grid strong { color: var(--red); font-size: 12px; }
.trust-grid span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #d4d4d4; font-weight: 700; }

.section { padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 48px; }
.section-heading h2, .about-copy h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.1; letter-spacing: -.05em; }
.section-heading > p { color: var(--muted); max-width: 430px; font-size: 14px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { border: 1px solid var(--line); padding: 34px 30px; position: relative; transition: .2s ease; background: #fff; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 35px rgba(0,0,0,.06); }
.service-card.featured { border-top: 4px solid var(--red); }
.service-icon { font-size: 29px; margin-bottom: 25px; }
.service-number { position: absolute; top: 34px; right: 30px; font-size: 11px; color: #aaa; font-weight: 800; }
.service-card h3 { font-size: 22px; letter-spacing: -.03em; margin-bottom: 12px; }
.service-card p { font-size: 13px; color: var(--muted); min-height: 65px; }
.service-card ul { list-style: none; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 15px; }
.service-card li { font-size: 12px; padding: 5px 0; color: #555; }
.service-card li::before { content: "✓"; color: var(--red-dark); font-weight: 800; margin-right: 8px; }
.text-link { display: inline-block; margin-top: 23px; color: var(--red-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }

.about-section { background: var(--cream); padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-visual { min-height: 390px; display: grid; place-items: center; background: repeating-linear-gradient(135deg, transparent 0 24px, rgba(201,65,65,.12) 25px 26px); }
.about-box { width: 72%; aspect-ratio: 1/1; background: var(--black); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 15px 15px 0 var(--red); text-align: center; }
.big-bolt { font-size: 110px; color: var(--red); line-height: 1; }
.about-box p { font-size: 11px; letter-spacing: .16em; font-weight: 800; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; margin: 22px 0 0; }
.about-copy .btn { margin-top: 28px; }

.quote-section { background: var(--black); color: #fff; padding: 100px 0; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.quote-section h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.05em; max-width: 520px; }
.quote-section > .container > div > p:not(.eyebrow) { color: #bdbdbd; font-size: 14px; max-width: 460px; margin-top: 22px; }
.contact-details { display: grid; gap: 13px; margin-top: 35px; }
.contact-details a, .contact-details p { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #eee; }
.contact-details span { width: 25px; color: #e36a6a; font-size: 18px; }
.quote-form { background: #fff; color: var(--ink); padding: 35px; border-top: 4px solid var(--red); }
.quote-form label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 8px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 1px solid #ddd; background: #fafafa; padding: 13px; font: inherit; font-size: 13px; margin-bottom: 18px; border-radius: 3px; outline: none; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--red); }
.full-width { width: 100%; }
.form-note { font-size: 10px; color: #888; text-align: center; margin-top: 13px; }

.site-footer { background: #090909; color: #fff; padding: 55px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-brand p { color: #888; font-size: 12px; margin-top: 18px; max-width: 230px; }
.site-footer h4 { color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.site-footer .footer-grid > div:not(.footer-brand) a { display: block; color: #999; font-size: 12px; margin: 9px 0; }
.site-footer a:hover { color: #e36a6a !important; }
.copyright { border-top: 1px solid #252525; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; color: #666; font-size: 10px; }
.copyright a { color: #aaa; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; width: 57px; height: 57px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 29px; z-index: 30; box-shadow: 0 7px 20px rgba(0,0,0,.2); transition: .2s; }
.floating-whatsapp:hover { transform: scale(1.08); }

@media (max-width: 850px) {
  .main-nav { gap: 16px; }
  .hero-grid, .about-grid, .quote-grid { gap: 45px; }
  .hero-grid { grid-template-columns: 1fr .75fr; }
  .hero-card { padding: 28px; box-shadow: 12px 12px 0 var(--red); }
  .hero-card h2 { font-size: 32px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: span 2; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 30px, 1140px); }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 9px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 20px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid #f0f0f0; }
  .main-nav .nav-whatsapp { text-align: center; margin-top: 12px; border: 0; }
  .hero { min-height: auto; }
  .hero-pattern { left: 0; opacity: .5; }
  .hero-grid { grid-template-columns: 1fr; padding: 75px 0 90px; gap: 50px; }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-text { font-size: 14px; }
  .hero-card { margin: 0 auto; width: min(290px, 90%); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div { padding: 18px 14px; }
  .trust-grid div:nth-child(3) { border-left: 1px solid #333; }
  .trust-grid span { font-size: 9px; }
  .section, .about-section, .quote-section { padding: 75px 0; }
  .section-heading, .about-grid, .quote-grid { grid-template-columns: 1fr; gap: 25px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .about-copy h2, .quote-section h2 { font-size: 38px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .service-card p { min-height: auto; }
  .about-visual { min-height: 300px; }
  .about-box { width: 70%; }
  .quote-grid { gap: 40px; }
  .quote-form { padding: 25px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: span 2; }
  .copyright { flex-direction: column; }
}


/* ===== KC PROFILE UPGRADE ===== */
.services-grid-large { grid-template-columns: repeat(3, 1fr); }
.service-more { margin-top: 25px; padding: 25px 28px; background: #f4eee3; display:flex; justify-content:space-between; align-items:center; gap:25px; }
.service-more strong, .service-more span { display:block; }
.service-more strong { font-size:15px; }
.service-more span { color:#6e6e6e; font-size:12px; margin-top:4px; }
.service-more .btn { white-space:nowrap; }

.capabilities-section { background:#111; color:#fff; padding:95px 0; }
.compact-heading { margin-bottom:38px; }
.capability-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.capability { border:1px solid #2e2e2e; padding:25px; min-height:205px; background:#151515; }
.capability span { color:var(--red); font-size:11px; font-weight:800; }
.capability h3 { font-size:19px; margin:20px 0 10px; }
.capability p { color:#aaa; font-size:12px; }

.projects-section { padding:95px 0; background:#fff; color:#202020; }
.project-highlights { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.project-stat { padding:30px; background:#f4eee3; border-left:4px solid var(--red); }
.project-stat strong { display:block; font-size:38px; letter-spacing:-.05em; color:#111; }
.project-stat span { display:block; color:#666; font-size:11px; margin-top:6px; }
.project-tags { display:flex; flex-wrap:wrap; gap:9px; margin-top:22px; }
.project-tags span { border:1px solid #ddd; border-radius:999px; padding:9px 13px; font-size:10px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }

.standards-section { padding:90px 0; background:#f4eee3; color:#202020; }
.standards-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.standards-section h2 { font-size:45px; line-height:1.05; letter-spacing:-.05em; }
.standards-section > .container > div > p:not(.eyebrow) { color:#666; max-width:500px; margin-top:18px; font-size:13px; }
.standards-card { background:#101010; color:#fff; padding:8px; }
.standards-card div { padding:22px; border-bottom:1px solid #333; }
.standards-card div:last-child { border-bottom:0; }
.standards-card strong { display:block; color:#fff; font-size:16px; }
.standards-card span { color:#aaa; font-size:10px; }

.memberships-section { padding:75px 0; background:#fff; color:#202020; text-align:center; }
.memberships-section .eyebrow { justify-content:center; }
.memberships-section h2 { font-size:35px; letter-spacing:-.04em; }
.membership-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:28px; }
.membership-grid div { border:1px solid #ddd; padding:25px 15px; font-weight:800; letter-spacing:.08em; }
.small-note { color:#888; font-size:10px; margin-top:14px; }

.back-top-btn { display:inline-flex; align-items:center; gap:10px; padding:10px 16px; border:1px solid #444; border-radius:5px; color:#ddd !important; font-size:10px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
.back-top-btn:hover { background:var(--red); border-color:var(--red); color:#fff !important; }
.back-to-top { position:fixed; right:24px; bottom:92px; z-index:25; display:flex; align-items:center; gap:8px; border:0; border-radius:5px; padding:11px 14px; background:#111; color:#fff; box-shadow:0 8px 22px rgba(0,0,0,.18); font-size:11px; font-weight:800; cursor:pointer; opacity:0; transform:translateY(12px); pointer-events:none; transition:.22s ease; }
.back-to-top.show { opacity:1; transform:translateY(0); pointer-events:auto; }
.back-to-top:hover { background:var(--red-dark); }

@media (max-width: 850px) {
  .services-grid-large { grid-template-columns:1fr 1fr; }
  .capability-grid { grid-template-columns:1fr 1fr; }
  .project-highlights { grid-template-columns:1fr; }
  .standards-grid { gap:40px; }
  .membership-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 650px) {
  .services-grid-large { grid-template-columns:1fr; }
  .service-more { align-items:flex-start; flex-direction:column; }
  .service-more .btn { width:100%; }
  .capability-grid { grid-template-columns:1fr; }
  .standards-grid { grid-template-columns:1fr; }
  .standards-section h2 { font-size:37px; }
  .membership-grid { grid-template-columns:1fr 1fr; }
  .back-to-top { right:15px; bottom:82px; }
  .back-to-top span { display:none; }
}

/* ===== V3 VISUAL POLISH ===== */
:root {
  --electric-yellow:#ffd21f;
  --electric-blue:#24a8ff;
  --cool-cyan:#48e0d0;
  --orange:#ff8a22;
}
.hero-card{border-left:5px solid var(--electric-yellow)}
.hero-card .bolt-mark{text-shadow:0 0 25px rgba(255,210,31,.18)}
.trust-grid strong{color:var(--electric-yellow)}
.trust-grid div:nth-child(2) strong{color:var(--electric-blue)}
.trust-grid div:nth-child(3) strong{color:var(--cool-cyan)}
.trust-grid div:nth-child(4) strong{color:var(--orange)}
.service-card:nth-child(1){border-top-color:var(--red)}
.service-card:nth-child(2){border-top:4px solid var(--electric-blue)}
.service-card:nth-child(3){border-top:4px solid var(--electric-yellow)}
.service-card:nth-child(4){border-top:4px solid var(--cool-cyan)}
.service-card:nth-child(5){border-top:4px solid var(--orange)}
.service-card:nth-child(6){border-top:4px solid #9b7cff}
.service-icon{text-shadow:0 0 18px rgba(255,210,31,.16)}
.capabilities-section{background:radial-gradient(circle at 85% 20%,rgba(36,168,255,.10),transparent 25%),radial-gradient(circle at 15% 80%,rgba(255,210,31,.08),transparent 25%),#111}
.capability:nth-child(1){border-top:3px solid var(--electric-blue)}
.capability:nth-child(2){border-top:3px solid var(--electric-yellow)}
.capability:nth-child(3){border-top:3px solid var(--orange)}
.capability:nth-child(4){border-top:3px solid var(--cool-cyan)}
.project-stat:nth-child(1){border-left-color:var(--electric-blue)}
.project-stat:nth-child(2){border-left-color:var(--electric-yellow)}
.project-stat:nth-child(3){border-left-color:var(--orange)}
.standards-card div:nth-child(1) strong{color:var(--electric-yellow)}
.standards-card div:nth-child(2) strong{color:var(--electric-blue)}
.standards-card div:nth-child(3) strong{color:var(--cool-cyan)}

.memberships-section{background:#f7f2e8}
.membership-intro{color:#6e6e6e;font-size:13px;max-width:680px;margin:0 auto 30px}
.membership-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;text-align:left}
.membership-item{display:flex;align-items:center;gap:18px;padding:22px 20px;background:#fff;border:1px solid #ded8cc;border-radius:7px;box-shadow:0 8px 22px rgba(0,0,0,.035);transition:.2s ease}
.membership-item:hover{transform:translateY(-3px);border-color:var(--electric-blue)}
.membership-icon{min-width:42px;height:42px;display:grid;place-items:center;background:#101010;color:var(--electric-yellow);border-radius:50%;font-size:10px;font-weight:800}
.membership-item:nth-child(2) .membership-icon{color:var(--electric-blue)}
.membership-item:nth-child(3) .membership-icon{color:var(--cool-cyan)}
.membership-item:nth-child(4) .membership-icon{color:var(--orange)}
.membership-item strong{font-size:13px;line-height:1.35}
.memberships-section .small-note{margin-top:18px}

/* WhatsApp is intentionally ABOVE the Back to Top button */
.floating-whatsapp{bottom:24px}
.back-to-top{bottom:94px}
@media(max-width:700px){
  .membership-list{grid-template-columns:1fr}
  .floating-whatsapp{bottom:18px}
  .back-to-top{bottom:84px}
}

/* ===== V4 REQUESTED CHANGES ===== */
:root{
  --electric-yellow:#ffd21f;
  --electric-blue:#24a8ff;
  --cool-cyan:#48e0d0;
  --orange:#ff8a22;
}

/* Home Affiliates panel */
.home-affiliates{padding:72px 0 78px;background:#101010;color:#fff;position:relative;overflow:hidden}
.home-affiliates::before{content:"";position:absolute;width:360px;height:360px;right:-120px;top:-160px;border-radius:50%;background:rgba(255,210,31,.07)}
.home-affiliates-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:30px}
.home-affiliates h2{font-size:42px;line-height:1.05;letter-spacing:-.045em}
.home-affiliates h2 em{color:var(--electric-yellow)}
.home-affiliates .eyebrow{color:#aaa}
.home-affiliates .eyebrow span{background:var(--electric-yellow)}
.home-affiliates-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}
.affiliate-mini{color:#fff;text-decoration:none;min-height:155px;padding:23px;border:2px solid var(--electric-yellow);background:#171717;display:flex;flex-direction:column;justify-content:space-between;transition:.2s ease}
.affiliate-mini:hover{transform:translateY(-5px);background:#fff;color:#111}
.affiliate-mini span{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#111;color:var(--electric-yellow);font-size:10px;font-weight:800}
.affiliate-mini strong{font-size:20px;letter-spacing:.02em}
.affiliate-mini small{color:#aaa;font-size:10px;line-height:1.4}
.affiliate-mini:hover small{color:#333}
.affiliate-1{--affiliate-color:var(--electric-yellow)}
.affiliate-2{--affiliate-color:var(--electric-blue)}
.affiliate-3{--affiliate-color:var(--cool-cyan)}
.affiliate-4{--affiliate-color:var(--orange)}
.affiliate-mini.affiliate-1,.membership-item.affiliate-1{border-color:var(--electric-yellow)}
.affiliate-mini.affiliate-2,.membership-item.affiliate-2{border-color:var(--electric-blue)}
.affiliate-mini.affiliate-3,.membership-item.affiliate-3{border-color:var(--cool-cyan)}
.affiliate-mini.affiliate-4,.membership-item.affiliate-4{border-color:var(--orange)}
.affiliate-mini.affiliate-2 span{color:var(--electric-blue)}
.affiliate-mini.affiliate-3 span{color:var(--cool-cyan)}
.affiliate-mini.affiliate-4 span{color:var(--orange)}

/* Full affiliate cards: larger and border matches numbered badge */
.membership-list{gap:18px}
.membership-item{min-height:86px;padding:27px 25px;border-width:2px;position:relative;text-decoration:none;color:#111}
.membership-item .membership-icon{width:47px;min-width:47px;height:47px;font-size:11px}
.membership-item.affiliate-1 .membership-icon{color:var(--electric-yellow)}
.membership-item.affiliate-2 .membership-icon{color:var(--electric-blue)}
.membership-item.affiliate-3 .membership-icon{color:var(--cool-cyan)}
.membership-item.affiliate-4 .membership-icon{color:var(--orange)}
.membership-item.affiliate-1:hover{border-color:var(--electric-yellow)}
.membership-item.affiliate-2:hover{border-color:var(--electric-blue)}
.membership-item.affiliate-3:hover{border-color:var(--cool-cyan)}
.membership-item.affiliate-4:hover{border-color:var(--orange)}
.affiliate-arrow{margin-left:auto;font-size:20px;font-weight:700;color:#777;transition:.2s ease}
.membership-item:hover .affiliate-arrow{transform:translateX(4px);color:#111}

/* SANS / OHS / COC hover: white text */
.standards-card div{transition:.2s ease;border-radius:4px}
.standards-card div:hover{background:var(--red);color:#fff}
.standards-card div:hover strong,.standards-card div:hover span{color:#fff!important}

/* Black print/small text for visibility */
.standards-section > .container > div > p:not(.eyebrow),
.memberships-section .small-note{color:#111}

/* WhatsApp above Back to Top */
.floating-whatsapp{bottom:24px}
.back-to-top{bottom:94px}

@media(max-width:850px){
  .home-affiliates-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .home-affiliates-head{align-items:flex-start;flex-direction:column}
  .home-affiliates h2{font-size:36px}
  .home-affiliates-grid{grid-template-columns:1fr}
  .affiliate-mini{min-height:135px}
  .membership-item{padding:22px 20px}
}

/* ===== V6 AFFILIATE HOVER BEHAVIOUR ===== */
/* Affiliate listings keep their individual colours by default. */
.membership-item.affiliate-1 { border-color: var(--electric-yellow); }
.membership-item.affiliate-2 { border-color: var(--electric-blue); }
.membership-item.affiliate-3 { border-color: var(--cool-cyan); }
.membership-item.affiliate-4 { border-color: var(--orange); }

/* Hover: enlarge slightly and switch the border to neutral. */
.membership-item.affiliate-1:hover,
.membership-item.affiliate-2:hover,
.membership-item.affiliate-3:hover,
.membership-item.affiliate-4:hover {
  border-color: #ded8cc;
  transform: scale(1.025);
  z-index: 2;
}

/* Full affiliate listings are display cards, not links. */
.membership-item { cursor: default; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.membership-item .affiliate-arrow { display: none; }

/* ===== V7 REQUESTED CHANGES ===== */
/* The four trust points now use the same colour-by-default / neutral-on-hover mechanism. */
.trust-grid { gap: 14px; padding: 14px 0; }
.trust-grid div {
  border: 2px solid var(--trust-color, #333) !important;
  border-radius: 7px;
  padding: 22px 20px;
  background: #151515;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.trust-grid div:nth-child(1) { --trust-color: var(--electric-yellow); }
.trust-grid div:nth-child(2) { --trust-color: var(--electric-blue); }
.trust-grid div:nth-child(3) { --trust-color: var(--cool-cyan); }
.trust-grid div:nth-child(4) { --trust-color: var(--orange); }
.trust-grid div:hover {
  transform: scale(1.025);
  border-color: #555 !important;
  background: #1c1c1c;
  z-index: 2;
  box-shadow: 0 12px 25px rgba(0,0,0,.16);
}
.trust-grid strong { color: var(--trust-color) !important; }
.trust-grid span { color: #d4d4d4; }

/* Replace the old bolt/text hero artwork with the supplied company logo as the card background. */
.hero-card {
  background-color: #fff;
  background-image: url("assets/kc-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  padding: 0;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,16,16,.78), rgba(16,16,16,0) 48%);
  pointer-events: none;
}
.hero-card-overlay {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 95px 28px 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-shadow: 0 1px 5px rgba(0,0,0,.4);
}
.hero-card-overlay strong {
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.hero-card-overlay span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #f0f0f0;
}
.bolt-mark, .hero-card > p, .hero-card > h2, .hero-card > .card-line { display: none; }

@media (max-width: 650px) {
  .trust-grid { gap: 10px; padding: 10px 0; }
  .trust-grid div { padding: 18px 14px; }
  .hero-card-overlay { padding: 75px 22px 22px; }
  .hero-card-overlay strong { font-size: 19px; }
}

/* ===== V8: RICHER BACKGROUNDS FROM THE ABOUT SECTION DOWN ===== */
.about-section,
.standards-section,
.memberships-section,
.quote-section,
.site-footer {
  position: relative;
  overflow: hidden;
}

/* About: deep industrial background with subtle circuit-like lines and light. */
.about-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,210,31,.12), transparent 23%),
    radial-gradient(circle at 88% 78%, rgba(36,168,255,.11), transparent 26%),
    linear-gradient(135deg, #0b0d10 0%, #11161b 48%, #080909 100%);
  color: #fff;
}
.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255,255,255,.08) 12.1% 12.2%, transparent 12.3% 100%),
    linear-gradient(0deg, transparent 0 72%, rgba(255,255,255,.06) 72.1% 72.2%, transparent 72.3% 100%),
    repeating-linear-gradient(135deg, transparent 0 54px, rgba(255,255,255,.035) 55px 56px);
  pointer-events: none;
}
.about-section .container { position: relative; z-index: 1; }
.about-copy h2 { color: #fff; }
.about-copy h2 em { color: var(--red); }
.about-copy > p:not(.eyebrow) { color: #c5cbd0; }
.about-copy .eyebrow { color: #f3d86b; }
.about-copy .btn-dark { background: var(--red-dark); }
.about-copy .btn-dark:hover { background: #fff; color: #111; }
.about-visual {
  background:
    radial-gradient(circle at center, rgba(255,255,255,.08), transparent 48%),
    repeating-linear-gradient(135deg, transparent 0 25px, rgba(255,210,31,.08) 26px 27px),
    #090b0d;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 25px 60px rgba(0,0,0,.28);
}
.about-box {
  background: linear-gradient(145deg, #15181c, #090a0b);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 15px 15px 0 var(--red);
}

/* Standards: blue-black technical feel instead of a flat cream block. */
.standards-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(36,168,255,.13), transparent 25%),
    radial-gradient(circle at 8% 85%, rgba(255,210,31,.08), transparent 24%),
    linear-gradient(125deg, #0a1118, #101820 55%, #080b0e);
  color: #fff;
}
.standards-section::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -190px;
  bottom: -230px;
  border: 1px solid rgba(36,168,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(36,168,255,.025), 0 0 0 70px rgba(36,168,255,.018);
  pointer-events: none;
}
.standards-section .container { position: relative; z-index: 1; }
.standards-section h2 { color: #fff; }
.standards-section h2 em { color: var(--electric-blue); }
.standards-section > .container > div > p:not(.eyebrow) { color: #b8c2ca; }
.standards-section .eyebrow { color: #8edbff; }
.standards-card {
  background: rgba(7,10,13,.82);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 22px 50px rgba(0,0,0,.25);
}
.standards-card div { border-bottom-color: rgba(255,255,255,.12); }
.standards-card div:hover { background: var(--red); }

/* Affiliations: a clean dark showcase with a subtle technical grid. */
.memberships-section {
  background:
    linear-gradient(rgba(10,10,10,.93), rgba(10,10,10,.93)),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255,255,255,.045) 59px 60px),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(255,255,255,.035) 59px 60px),
    #101010;
  color: #fff;
}
.memberships-section::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  left: -170px;
  top: -170px;
  border-radius: 50%;
  background: rgba(201,65,65,.12);
  filter: blur(3px);
}
.memberships-section .container { position: relative; z-index: 1; }
.memberships-section h2 { color: #fff; }
.membership-intro { color: #bfc3c7; }
.membership-item {
  background: rgba(22,22,22,.92);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}
.membership-item:hover { background: #191919; }
.memberships-section .small-note { color: #9ca3a8; }

/* Contact: dramatic red/black finish to pull attention toward the quote form. */
.quote-section {
  background:
    radial-gradient(circle at 0% 100%, rgba(201,65,65,.18), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(36,168,255,.10), transparent 25%),
    linear-gradient(135deg, #080909 0%, #131313 52%, #090909 100%);
}
.quote-section::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,65,65,.65), rgba(36,168,255,.5), transparent);
  transform: rotate(-3deg);
  pointer-events: none;
}
.quote-section .container { position: relative; z-index: 1; }
.quote-section h2 { color: #fff; }
.quote-section .eyebrow.light { color: #f3caca; }
.quote-form {
  background: rgba(255,255,255,.98);
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
}

/* Footer: keep it dark but add a little energy instead of a flat black slab. */
.site-footer {
  background:
    radial-gradient(circle at 75% 20%, rgba(255,210,31,.07), transparent 18%),
    radial-gradient(circle at 25% 80%, rgba(36,168,255,.06), transparent 20%),
    #070707;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 72px, rgba(255,255,255,.025) 73px 74px);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }

@media (max-width: 650px) {
  .about-section::before { opacity: .1; }
  .standards-section::after { width: 300px; height: 300px; right: -170px; }
}

/* ===== V9: BRIGHTER LOWER-PAGE LOOK ===== */
.about-section,
.standards-section,
.memberships-section,
.quote-section {
  position: relative;
  overflow: hidden;
}

/* Bright warm-neutral About section — keeps the palette tied to the KC logo */
.about-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(255,255,255,.98), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(255,210,31,.12), transparent 24%),
    linear-gradient(135deg, #fffdf8 0%, #f7f2e8 52%, #fffaf0 100%);
  color: #111;
}
.about-section::before {
  opacity: .32;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(201,65,65,.08) 48.2% 48.8%, transparent 49% 100%),
    repeating-linear-gradient(135deg, transparent 0 48px, rgba(16,16,16,.045) 49px 50px);
}
.about-copy h2 { color:#111; }
.about-copy h2 em { color:var(--red-dark); }
.about-copy > p:not(.eyebrow) { color:#4f4a3d; }
.about-copy .eyebrow { color:#8a6200; }
.about-copy .btn-dark { background:#111; color:#fff; }
.about-copy .btn-dark:hover { background:var(--red-dark); color:#fff; }
.about-visual {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.9), transparent 30%),
    repeating-linear-gradient(135deg, transparent 0 25px, rgba(201,65,65,.09) 26px 27px),
    rgba(255,255,255,.52);
  border:1px solid rgba(16,16,16,.1);
  box-shadow:0 22px 45px rgba(110,83,0,.13);
}
.about-box {
  background:#111;
  box-shadow:15px 15px 0 var(--red);
}

/* Bright warm-neutral standards section — tied to the KC red/cream identity */
.standards-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.95), transparent 26%),
    radial-gradient(circle at 10% 88%, rgba(255,210,31,.13), transparent 24%),
    linear-gradient(135deg, #fffdf8 0%, #f7f0e3 52%, #fffaf0 100%);
  color:#111;
}
.standards-section::after {
  border-color:rgba(201,65,65,.10);
  box-shadow:0 0 0 35px rgba(201,65,65,.025), 0 0 0 70px rgba(255,210,31,.035);
}
.standards-section h2 { color:#111; }
.standards-section h2 em { color:var(--red-dark); }
.standards-section > .container > div > p:not(.eyebrow) { color:#514c43; }
.standards-section .eyebrow { color:#8a6200; }
.standards-section .eyebrow span { background:var(--red); }
.standards-card { box-shadow:12px 12px 0 rgba(201,65,65,.13); }

/* Bright clean affiliation section */
.memberships-section {
  background:
    radial-gradient(circle at 8% 15%, rgba(72,224,208,.25), transparent 24%),
    radial-gradient(circle at 92% 85%, rgba(255,138,34,.18), transparent 24%),
    linear-gradient(135deg, #f7fffd 0%, #dffff8 48%, #fff7e5 100%);
}
.memberships-section h2 { color:#111; }
.memberships-section .membership-intro { color:#394b49; }
.membership-item {
  background:rgba(255,255,255,.9);
  box-shadow:0 10px 24px rgba(16,16,16,.07);
}
.membership-item:hover {
  box-shadow:0 16px 30px rgba(16,16,16,.11);
}

/* Bright contact section: white with energetic colour accents */
.quote-section {
  background:
    radial-gradient(circle at 12% 85%, rgba(255,210,31,.24), transparent 26%),
    radial-gradient(circle at 88% 15%, rgba(36,168,255,.2), transparent 27%),
    linear-gradient(135deg, #ffffff 0%, #f3fbff 55%, #fff5e9 100%);
  color:#111;
}
.quote-section > .container > div > p:not(.eyebrow) { color:#4d5960; }
.quote-section h2 { color:#111; }
.quote-section .eyebrow.light { color:#0878ba; }
.quote-section .eyebrow.light span { background:var(--electric-blue); }
.contact-details a, .contact-details p { color:#222; }
.contact-details span { color:var(--red-dark); }
.quote-form {
  box-shadow:0 20px 45px rgba(16,16,16,.1);
  border-top-color:var(--red-dark);
}

@media(max-width:650px){
  .about-section,
  .standards-section,
  .memberships-section,
  .quote-section { background-size:auto, auto, auto; }
}


/* ===== V12 REQUESTED CHANGES ===== */
/* Contact / quote section: pure black background. */
.quote-section {
  background: #000 !important;
  color: #fff;
}
.quote-section::before {
  display: none;
}

/* Header WhatsApp button: turn KC green on hover. */
.nav-whatsapp:hover {
  background: #25D366 !important;
  color: #fff !important;
}

/* The floating WhatsApp control is already green; keep it green while hovering. */
.floating-whatsapp:hover {
  background: #25D366;
  color: #fff;
  transform: scale(1.08);
}

/* V13: Keep the Contact/Quote section PURE BLACK while preserving readable content. */
.quote-section {
  background: #000 !important;
  color: #fff !important;
}
.quote-section h2,
.quote-section > .container > div > p:not(.eyebrow),
.quote-section .contact-details a,
.quote-section .contact-details p {
  color: #fff !important;
}
.quote-section .eyebrow.light { color: #fff !important; }
.quote-section .eyebrow.light span { background: var(--red-dark) !important; }
.quote-section .contact-details span { color: #e36a6a !important; }

/* ===== V14: FIX AFFILIATION READABILITY ===== */
/* Keep the bright affiliation background, but make every organisation name clearly readable. */
.memberships-section .membership-item {
  color: #111 !important;
  background: rgba(255,255,255,.94) !important;
}
.memberships-section .membership-item strong {
  color: #111 !important;
}
.memberships-section .membership-item:hover {
  background: #f2eee6 !important;
  color: #111 !important;
}
.memberships-section .membership-item:hover strong {
  color: #111 !important;
}
.memberships-section .membership-icon {
  background: #111;
}

/* ===== V15: AFFILIATION HOVER ===== */
/* Cards stay bright and readable by default; on hover they switch to a strong black/white treatment. */
.memberships-section .membership-item:hover {
  background: #000 !important;
  color: #fff !important;
  border-color: #ded8cc !important;
  box-shadow: 0 16px 30px rgba(16,16,16,.18);
}
.memberships-section .membership-item:hover strong {
  color: #fff !important;
}
.memberships-section .membership-item:hover .membership-icon {
  background: #fff !important;
  color: #111 !important;
}

/* ===== V15: AFFILIATION HOVER ===== */
/* Cards stay bright and readable by default; on hover they switch to a strong black/white treatment. */
.memberships-section .membership-item:hover {
  background: #000 !important;
  color: #fff !important;
  border-color: #ded8cc !important;
  box-shadow: 0 16px 30px rgba(16,16,16,.18);
}
.memberships-section .membership-item:hover strong {
  color: #fff !important;
}
.memberships-section .membership-item:hover .membership-icon {
  background: #fff !important;
  color: #111 !important;
}

/* ===== V16: TRUST CARD HOVER ===== */
/* Trust cards remain dark with their individual colours by default.
   On hover they become white with black text for maximum contrast. */
.trust-grid div:hover {
  background: #fff !important;
  border-color: #ded8cc !important;
  color: #111 !important;
}
.trust-grid div:hover strong,
.trust-grid div:hover span {
  color: #111 !important;
}

/* V20: accent only the ON in the hero slogan. */
.hero h1 .power-on-accent { color: var(--orange); }

/* V21: match “got you.” to the exact red used by “Power”. */
.hero-tagline em { color: var(--red-dark) !important; font-style: italic; }

/* ===== V22: OUR WORK PHOTO GALLERY ===== */
.work-gallery-section { padding: 95px 0; background: #f7f5f0; color: #202020; }
.work-gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:34px; }
.work-gallery-card { background:#fff; border:1px solid var(--line); overflow:hidden; transition:.22s ease; }
.work-gallery-card:hover { transform:translateY(-5px); box-shadow:0 18px 35px rgba(0,0,0,.09); }
.work-photo-placeholder { min-height:235px; padding:26px; display:flex; flex-direction:column; justify-content:flex-end; background:linear-gradient(135deg,#171717 0%,#303030 52%,#151515 100%); color:#fff; position:relative; overflow:hidden; }
.work-photo-placeholder::after { content:""; position:absolute; width:150px; height:150px; border:1px solid rgba(255,255,255,.16); transform:rotate(45deg); right:-45px; top:-45px; }
.work-photo-placeholder span { font-size:10px; text-transform:uppercase; letter-spacing:.14em; color:#f0a11a; font-weight:800; position:relative; z-index:1; }
.work-photo-placeholder strong { font-size:31px; letter-spacing:-.04em; margin-top:5px; position:relative; z-index:1; }
.work-card-copy { padding:20px 22px 23px; }
.work-card-copy > span { font-size:10px; font-weight:800; color:var(--red-dark); letter-spacing:.12em; }
.work-card-copy h3 { margin:7px 0 7px; font-size:19px; }
.work-card-copy p { margin:0; color:#666; font-size:12px; line-height:1.7; }
@media(max-width:850px){ .work-gallery-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:650px){ .work-gallery-grid { grid-template-columns:1fr; } .work-photo-placeholder { min-height:210px; } }
