/* ==========================================================================
   KAYAN AL AMIR TAG EL DIN — v15 GLOBAL FLAGSHIP DESIGN SYSTEM
   Full-Width Monumental Layout · High-Legibility Arabic Typography · 60fps Motion
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --ink: #061016;
  --ink-2: #0b1c24;
  --ink-3: #112934;
  --paper: #f6f2e9;
  --paper-2: #ece4d4;
  --cream-card: #fffdf9;
  --gold: #c9a45e;
  --gold-bright: #ebd197;
  --gold-deep: #967334;
  --emerald: #18b785;
  --cyan: #2bc4e8;
  --white: #ffffff;
  --muted-dark: #445459;
  --muted-light: rgba(255, 253, 248, 0.80);
  --base-fs: 17.5px;
  --container-max: 1680px;
  --pad-x: clamp(18px, 3.2vw, 54px);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --shadow-lux: 0 24px 64px rgba(5, 14, 20, 0.14);
  --shadow-dark: 0 28px 72px rgba(0, 0, 0, 0.46);
  --scroll-progress: 0%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: var(--base-fs);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Cairo', 'Tajawal', 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.82;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Scroll Progress Top Ribbon */
.kayan-progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  height: 4px;
  width: var(--scroll-progress);
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--cyan));
  z-index: 9999;
  box-shadow: 0 0 16px rgba(235, 209, 151, 0.8);
  transition: width 0.08s linear;
}

/* Global Wide Container */
.g-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ==========================================================================
   STICKY EXECUTIVE HEADER & NAVIGATION (WIDE & CLEAR)
   ========================================================================== */
.kayan-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(6, 16, 22, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(235, 209, 151, 0.22);
  color: var(--white);
}

.kayan-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.kayan-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.kayan-brand-emblem {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), #8d6828);
  color: var(--ink);
  font-weight: 900;
  font-size: 24px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(201, 164, 94, 0.38);
}

.kayan-brand-text strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
}

.kayan-brand-text small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  font-weight: 600;
}

.kayan-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 22px);
  flex-wrap: wrap;
}

.kayan-nav-links a {
  font-size: 0.94rem;
  font-weight: 700;
  color: rgba(255, 253, 248, 0.90);
  padding: 7px 11px;
  border-radius: 9px;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.kayan-nav-links a:hover,
.kayan-nav-links a.active-nav {
  color: var(--ink);
  background: var(--gold-bright);
}

.kayan-nav-links a.nav-pill-special {
  border: 1px solid rgba(235, 209, 151, 0.45);
  background: rgba(201, 164, 94, 0.14);
  color: var(--gold-bright);
}

.kayan-nav-links a.nav-pill-special:hover {
  background: var(--gold-bright);
  color: var(--ink);
}

.kayan-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tool-chip-btn {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border: 1px solid rgba(235, 209, 151, 0.30);
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tool-chip-btn:hover,
.tool-chip-btn.is-active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold-bright);
}

.font-scale-group {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(235, 209, 151, 0.28);
  border-radius: 9px;
  overflow: hidden;
}

.font-scale-group button {
  background: transparent;
  color: var(--gold-bright);
  border: none;
  padding: 6px 9px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}

.font-scale-group button:hover,
.font-scale-group button.active {
  background: var(--gold);
  color: var(--ink);
}

.kayan-burger {
  display: none;
  background: rgba(201, 164, 94, 0.18);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.kayan-mobile-drawer {
  display: none;
  background: #07141c;
  border-bottom: 2px solid var(--gold);
  padding: 18px var(--pad-x) 24px;
}

.kayan-mobile-drawer.open {
  display: block;
}

.kayan-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kayan-mobile-grid a {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(235, 209, 151, 0.22);
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ==========================================================================
   HERO SECTION — GRAND GLOBAL SPLIT SHOWCASE (ZERO PORTRAIT CROPPING/SHADING)
   ========================================================================== */
.kayan-hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 164, 94, 0.22), transparent 36%),
    radial-gradient(circle at 16% 78%, rgba(43, 196, 232, 0.13), transparent 38%),
    linear-gradient(135deg, #040c11 0%, #091922 52%, #0d2430 100%);
  color: var(--white);
  padding: clamp(36px, 4.5vw, 72px) 0 clamp(44px, 5vw, 80px);
  overflow: hidden;
  border-bottom: 1px solid rgba(235, 209, 151, 0.24);
}

.kayan-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.kayan-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(28px, 3.6vw, 58px);
  align-items: center;
}

.hero-crown-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(201, 164, 94, 0.24), rgba(201, 164, 94, 0.08));
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 8px 28px rgba(201, 164, 94, 0.18);
}

.hero-crown-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold-bright);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.kayan-hero h1 {
  font-size: clamp(2.25rem, 4.1vw, 3.85rem);
  font-weight: 900;
  line-height: 1.24;
  margin: 0 0 18px;
  color: var(--white);
}

.kayan-hero h1 span {
  color: var(--gold-bright);
  display: block;
}

.hero-lead {
  font-size: clamp(1.04rem, 1.25vw, 1.22rem);
  color: rgba(255, 253, 248, 0.88);
  line-height: 1.92;
  margin: 0 0 24px;
  max-width: 760px;
}

/* 4 Audience Worlds Quick Jump Matrix inside Hero */
.hero-worlds-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 26px;
}

.hero-world-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(235, 209, 151, 0.30);
  border-radius: 13px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: right;
}

.hero-world-chip:hover {
  background: rgba(201, 164, 94, 0.22);
  border-color: var(--gold-bright);
  transform: translateY(-3px);
}

.hero-world-chip span {
  font-size: 1.25rem;
}

.hero-world-chip strong {
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 800;
}

.hero-world-chip small {
  font-size: 0.76rem;
  color: var(--gold-bright);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-gold-xl {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 34px rgba(201, 164, 94, 0.34);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.btn-gold-xl:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(201, 164, 94, 0.48);
}

.btn-outline-xl {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 15px 24px;
  border-radius: 13px;
  border: 1.5px solid rgba(235, 209, 151, 0.45);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.24s ease;
}

.btn-outline-xl:hover {
  background: rgba(235, 209, 151, 0.16);
  border-color: var(--gold-bright);
  transform: translateY(-3px);
}

.hero-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-kpi-item strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1.2;
}

.hero-kpi-item span {
  font-size: 0.84rem;
  color: rgba(255, 253, 248, 0.80);
}

/* Right/Left Hero Portrait Showcase Frame — Unobstructed Authentic Portrait */
.hero-portrait-stage {
  position: relative;
}

.hero-orbit-ring {
  position: absolute;
  inset: -18px;
  border-radius: 28px;
  border: 1px dashed rgba(235, 209, 151, 0.32);
  pointer-events: none;
  animation: gentle-float 7s ease-in-out infinite alternate;
}

@keyframes gentle-float {
  0% { transform: translateY(-5px); }
  100% { transform: translateY(6px); }
}

.hero-portrait-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(235, 209, 151, 0.62);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), 0 0 48px rgba(201, 164, 94, 0.18);
  background: #061118;
}

.hero-portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 38% center;
  display: block;
}

.hero-portrait-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: linear-gradient(90deg, #07141d, #0f2632);
  border-top: 1px solid rgba(235, 209, 151, 0.30);
}

.hero-portrait-caption strong {
  color: var(--gold-bright);
  font-size: 0.98rem;
  font-weight: 800;
}

.hero-portrait-caption span {
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.84rem;
}

/* ==========================================================================
   QUICK PORTALS RIBBON (6 MAJOR PORTALS & TOOLS)
   ========================================================================== */
.kayan-portals-ribbon {
  background: #081821;
  border-bottom: 1px solid rgba(235, 209, 151, 0.22);
  padding: 16px 0;
}

.kayan-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.ribbon-portal-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(235, 209, 151, 0.22);
  border-radius: 13px;
  padding: 13px 15px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.22s ease;
  cursor: pointer;
}

.ribbon-portal-card:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.ribbon-portal-card small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 600;
}

/* ==========================================================================
   UNIVERSAL SECTION HEADERS & SPACING
   ========================================================================== */
.g-section {
  padding: clamp(64px, 7vw, 108px) 0;
  position: relative;
}

.g-section-dark {
  background: linear-gradient(145deg, #061117 0%, #0b1f29 55%, #081720 100%);
  color: var(--white);
}

.g-section-cream {
  background: linear-gradient(180deg, #faf7f0 0%, #f1eadb 100%);
  color: var(--ink);
}

.g-section-sand {
  background: #ece3d2;
  color: var(--ink);
}

.sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  background: rgba(201, 164, 94, 0.16);
  border: 1px solid rgba(201, 164, 94, 0.38);
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.g-section-dark .sec-kicker {
  color: var(--gold-bright);
  background: rgba(201, 164, 94, 0.15);
  border-color: rgba(235, 209, 151, 0.36);
}

.sec-title {
  font-size: clamp(1.95rem, 3.4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
}

.sec-title span {
  color: var(--gold-deep);
}

.g-section-dark .sec-title span {
  color: var(--gold-bright);
}

.sec-desc {
  max-width: 650px;
  font-size: 1.03rem;
  line-height: 1.9;
  margin: 12px 0 0;
  color: var(--muted-dark);
}

.g-section-dark .sec-desc {
  color: var(--muted-light);
}

/* ==========================================================================
   ABOUT & EXECUTIVE VISION SECTION (#about)
   ========================================================================== */
.about-exec-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.exec-portrait-box {
  background: var(--ink-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lux);
}

.exec-portrait-box img {
  width: 100%;
  height: auto;
  display: block;
}

.exec-portrait-meta {
  padding: 22px 24px;
  color: var(--white);
  background: linear-gradient(135deg, #07131a, #102833);
}

.exec-portrait-meta h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: var(--gold-bright);
}

.exec-portrait-meta p {
  margin: 0 0 16px;
  font-size: 0.94rem;
  color: rgba(255, 253, 248, 0.82);
}

.about-narrative-card {
  background: var(--cream-card);
  border: 1px solid rgba(8, 19, 24, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.2vw, 44px);
  box-shadow: var(--shadow-lux);
}

.about-narrative-card h3 {
  font-size: 1.65rem;
  margin: 0 0 16px;
  color: var(--ink);
  font-weight: 800;
}

.about-narrative-card p {
  font-size: 1.04rem;
  color: #2b3a3f;
  margin: 0 0 16px;
  line-height: 1.95;
}

.pillars-4-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.pillar-mini-card {
  background: #f5efe2;
  border: 1px solid rgba(201, 164, 94, 0.42);
  border-radius: 14px;
  padding: 18px 20px;
}

.pillar-mini-card strong {
  display: block;
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.pillar-mini-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted-dark);
  line-height: 1.75;
}

/* ==========================================================================
   THE 4 GLOBAL AUDIENCE HUBS (WOMEN, BUSINESSMEN, STUDENTS, KIDS)
   ========================================================================== */
.audience-nav-strip {
  background: var(--ink);
  padding: 22px 0;
  border-top: 1px solid rgba(235, 209, 151, 0.25);
  border-bottom: 1px solid rgba(235, 209, 151, 0.25);
}

.audience-4-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.aud-jump-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1.5px solid rgba(235, 209, 151, 0.30);
  border-radius: 16px;
  padding: 18px 20px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.aud-jump-card:hover {
  background: linear-gradient(135deg, rgba(201, 164, 94, 0.26), rgba(201, 164, 94, 0.10));
  border-color: var(--gold-bright);
  transform: translateY(-4px);
}

.aud-jump-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(201, 164, 94, 0.2);
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 26px;
  flex-shrink: 0;
}

.aud-jump-card strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
}

.aud-jump-card span {
  font-size: 0.84rem;
  color: var(--gold-bright);
}

/* Shared 4-Card Showcase Grid for Audience Suites */
.suite-4-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.suite-lux-card {
  background: var(--cream-card);
  border: 1.5px solid rgba(8, 19, 24, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lux);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  cursor: pointer;
}

.suite-lux-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 30px 70px rgba(8, 19, 24, 0.2);
}

.g-section-dark .suite-lux-card {
  background: rgba(13, 33, 44, 0.88);
  border-color: rgba(235, 209, 151, 0.25);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}

.g-section-dark .suite-lux-card:hover {
  border-color: var(--gold-bright);
}

.suite-visual {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: #08151d;
}

.suite-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.suite-lux-card:hover .suite-visual img {
  transform: scale(1.05);
}

.suite-badge-top {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(6, 16, 22, 0.88);
  color: var(--gold-bright);
  border: 1px solid rgba(235, 209, 151, 0.5);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.suite-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.suite-body h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.35;
}

.suite-body p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.88;
  color: var(--muted-dark);
  flex: 1;
}

.g-section-dark .suite-body p {
  color: rgba(255, 253, 248, 0.82);
}

.suite-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.suite-tags span {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(201, 164, 94, 0.16);
  color: var(--gold-deep);
}

.g-section-dark .suite-tags span {
  background: rgba(235, 209, 151, 0.14);
  color: var(--gold-bright);
}

.suite-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(150, 150, 150, 0.22);
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--gold-deep);
}

.g-section-dark .suite-action-bar {
  color: var(--gold-bright);
}

/* Feature Banner Inside Audience Sections */
.audience-hero-banner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(235, 209, 151, 0.30);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 38px);
  margin-bottom: 34px;
}

.g-section-cream .audience-hero-banner,
.g-section-sand .audience-hero-banner {
  background: var(--cream-card);
  border-color: rgba(201, 164, 94, 0.45);
  box-shadow: var(--shadow-lux);
}

.audience-hero-banner img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1.5px solid rgba(235, 209, 151, 0.45);
}

/* ==========================================================================
   KIDS INTERACTIVE SMART CITY BUILDER WIDGET (#kids-innovators)
   ========================================================================== */
.kids-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(24, 183, 133, 0.18), transparent 38%),
    radial-gradient(circle at 85% 75%, rgba(235, 209, 151, 0.18), transparent 40%),
    linear-gradient(145deg, #061922 0%, #0a2834 55%, #071b24 100%);
  color: var(--white);
}

.kids-builder-shell {
  margin-top: 38px;
  background: rgba(6, 18, 25, 0.9);
  border: 2px solid rgba(24, 183, 133, 0.55);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 38px);
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 30px;
  align-items: center;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

.kids-choice-group {
  margin-bottom: 18px;
}

.kids-choice-group label {
  display: block;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.kids-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.kid-pill-btn {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kid-pill-btn:hover,
.kid-pill-btn.active {
  background: linear-gradient(135deg, #18b785, #129169);
  color: #ffffff;
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.kids-stage-canvas {
  background: radial-gradient(circle at 50% 30%, #113547, #06131b);
  border: 2px solid rgba(235, 209, 151, 0.45);
  border-radius: 20px;
  padding: 18px;
  text-align: center;
}

.kids-svg-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #071923;
  margin-bottom: 14px;
}

/* ==========================================================================
   SOFTWARE SHOWCASE CARDS (HOMEPAGE 12 + /software-guide 110)
   ========================================================================== */
.sw-controls-bar {
  position: sticky;
  top: 73px;
  z-index: 900;
  background: rgba(246, 242, 233, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(8, 19, 24, 0.14);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 30px;
  box-shadow: 0 14px 38px rgba(6, 16, 22, 0.08);
}

.sw-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.sw-search-input {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.02rem;
  border-radius: 13px;
  border: 1.5px solid rgba(8, 19, 24, 0.22);
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.sw-search-input:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(201, 164, 94, 0.22);
}

.sw-cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.sw-cat-btn {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(8, 19, 24, 0.18);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.sw-cat-btn:hover,
.sw-cat-btn.active {
  background: var(--ink);
  color: var(--gold-bright);
  border-color: var(--gold);
}

.sw-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sw-prog-card {
  background: var(--cream-card);
  border: 1.5px solid rgba(8, 19, 24, 0.13);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 42px rgba(6, 16, 22, 0.08);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
  cursor: pointer;
}

.sw-prog-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold);
  box-shadow: 0 28px 64px rgba(6, 16, 22, 0.18);
}

.g-section-dark .sw-prog-card {
  background: #0b1f29;
  border-color: rgba(235, 209, 151, 0.24);
  color: var(--white);
}

.sw-prog-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  background: #07131b;
  overflow: hidden;
}

.sw-prog-thumb img,
.sw-prog-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sw-prog-card:hover .sw-prog-thumb img {
  transform: scale(1.04);
}

.sw-prog-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sw-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.g-section-dark .sw-meta-top {
  color: var(--gold-bright);
}

.sw-ext-pill {
  font-family: monospace;
  background: rgba(8, 19, 24, 0.07);
  padding: 3px 9px;
  border-radius: 6px;
  direction: ltr;
}

.g-section-dark .sw-ext-pill {
  background: rgba(255, 255, 255, 0.1);
}

.sw-prog-body h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 900;
  direction: ltr;
  text-align: right;
}

.sw-prog-body p {
  margin: 0 0 16px;
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--muted-dark);
  flex: 1;
}

.g-section-dark .sw-prog-body p {
  color: rgba(255, 253, 248, 0.83);
}

.sw-prog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(140, 140, 140, 0.2);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--gold-deep);
}

.g-section-dark .sw-prog-cta {
  color: var(--gold-bright);
}

/* ==========================================================================
   INTERACTIVE TOOLS: ATELIER, CONCIERGE, BEFORE/AFTER, ESTIMATOR, EGYPT MAP
   ========================================================================== */
.interactive-2col {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: stretch;
}

.lux-panel {
  background: rgba(11, 29, 39, 0.92);
  border: 1.5px solid rgba(235, 209, 151, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.8vw, 36px);
  color: var(--white);
}

.g-section-cream .lux-panel,
.g-section-sand .lux-panel {
  background: var(--cream-card);
  color: var(--ink);
  border-color: rgba(8, 19, 24, 0.14);
  box-shadow: var(--shadow-lux);
}

.choice-grid-btns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.choice-btn {
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  border: 1.5px solid rgba(201, 164, 94, 0.32);
  border-radius: 12px;
  padding: 13px 15px;
  text-align: right;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.g-section-cream .choice-btn,
.g-section-sand .choice-btn {
  background: #f6f1e6;
}

.choice-btn:hover,
.choice-btn.active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink) !important;
  border-color: var(--gold-bright);
  box-shadow: 0 10px 25px rgba(201, 164, 94, 0.28);
}

.swatch-row {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.swatch-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(235, 209, 151, 0.28);
  font-size: 0.86rem;
  font-weight: 700;
}

.swatch-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Before / After Architectural Slider */
.ba-stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--gold);
  user-select: none;
  background: #050e14;
}

.ba-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before-layer {
  filter: grayscale(100%) contrast(145%) brightness(0.72) sepia(25%) hue-rotate(155deg);
}

.ba-after-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ba-Night-mode .ba-after-img {
  filter: brightness(0.82) contrast(1.16) saturate(1.22);
}

.ba-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold-bright);
  box-shadow: 0 0 18px rgba(0,0,0,0.8);
  pointer-events: none;
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--ink);
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.ba-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

/* ==========================================================================
   SERVICES 9-GRID, GALLERY 3-COL GRAND SHOWCASE, EDUCATION 37-GRID, FAQ
   ========================================================================== */
.services-3x3-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.srv-card-v15 {
  background: var(--cream-card);
  border: 1.5px solid rgba(8, 19, 24, 0.12);
  border-radius: 18px;
  padding: 26px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 34px rgba(6, 16, 22, 0.06);
}

.srv-card-v15:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 24px 56px rgba(6, 16, 22, 0.16);
}

.srv-num {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.srv-card-v15 h3 {
  font-size: 1.35rem;
  margin: 0 0 10px;
  font-weight: 800;
}

.srv-card-v15 p {
  margin: 0 0 18px;
  color: var(--muted-dark);
  font-size: 0.98rem;
  flex: 1;
}

/* Grand 3-Column Museum Gallery */
.gallery-v15-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gal-card-v15 {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #07131b;
  border: 1.5px solid rgba(235, 209, 151, 0.28);
  cursor: pointer;
  box-shadow: var(--shadow-dark);
}

.gal-card-v15 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gal-card-v15:hover img {
  transform: scale(1.06);
}

.gal-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,12,18,0.08) 32%, rgba(4,12,18,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: var(--white);
}

.gal-card-overlay small {
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.gal-card-overlay h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.38;
}

/* Education 3-Col Cards */
.edu-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.edu-card-v15 {
  background: var(--cream-card);
  border: 1.5px solid rgba(8, 19, 24, 0.13);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 14px 36px rgba(6, 16, 22, 0.07);
}

.edu-card-v15:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 26px 60px rgba(6, 16, 22, 0.16);
}

.edu-card-v15 h3 {
  font-size: 1.38rem;
  font-weight: 800;
  margin: 10px 0 8px;
}

.edu-card-v15 ul {
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.edu-card-v15 li {
  padding: 8px 18px 8px 0;
  border-top: 1px solid rgba(8, 19, 24, 0.09);
  font-size: 0.93rem;
  position: relative;
  color: #2f3e43;
}

.edu-card-v15 li::before {
  content: "◆";
  color: var(--gold-deep);
  font-size: 0.72rem;
  position: absolute;
  right: 0;
  top: 11px;
}

/* FAQ Accordion */
.faq-item-v15 {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(235, 209, 151, 0.25);
  border-radius: 15px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-btn-v15 {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 20px 24px;
  text-align: right;
  font-size: 1.08rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-ans-v15 {
  display: none;
  padding: 0 24px 20px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.98rem;
  line-height: 1.9;
  border-top: 1px solid rgba(235, 209, 151, 0.15);
  padding-top: 14px;
}

.faq-item-v15.open .faq-ans-v15 {
  display: block;
}

/* Dual App QR Cards */
.apps-2col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.app-store-card {
  background: rgba(12, 31, 41, 0.92);
  border: 1.5px solid rgba(235, 209, 151, 0.34);
  border-radius: 22px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.app-qr-box {
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
}

.app-qr-box img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

/* Contact Grid */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.contact-card-v15 {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(235, 209, 151, 0.3);
  border-radius: 18px;
  padding: 24px;
  color: var(--white);
  transition: all 0.24s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card-v15:hover {
  border-color: var(--gold-bright);
  background: rgba(201, 164, 94, 0.16);
  transform: translateY(-4px);
}

/* ==========================================================================
   UNIVERSAL INTERACTIVE MODAL (OPENS FOR ANY PROGRAM, SUITE, SERVICE, STAGE, IMAGE)
   ========================================================================== */
.kayan-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(3, 10, 15, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 34px);
  overflow-y: auto;
}

.kayan-modal-backdrop.open {
  display: flex;
}

.kayan-modal-dialog {
  background: #081822;
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 24px;
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.78);
  position: relative;
  animation: modal-pop 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.kayan-modal-close {
  position: sticky;
  top: 14px;
  float: left;
  margin: 14px 0 0 14px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-bright);
  background: rgba(6, 16, 22, 0.92);
  color: var(--gold-bright);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.kayan-modal-media {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-bottom: 1px solid rgba(235, 209, 151, 0.26);
  background: #040c11;
}

.kayan-modal-content {
  padding: clamp(22px, 3.2vw, 36px);
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.modal-info-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(235, 209, 151, 0.24);
  border-radius: 14px;
  padding: 16px 18px;
}

.modal-info-box h4 {
  margin: 0 0 8px;
  color: var(--gold-bright);
  font-size: 0.96rem;
}

/* Floating WhatsApp VIP Button */
.kayan-float-wa {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 1100;
  background: linear-gradient(135deg, #1ad079, #119e59);
  color: #ffffff;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 14px 34px rgba(17, 158, 89, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

/* Footer */
.kayan-footer {
  background: #040b10;
  color: rgba(255, 253, 248, 0.78);
  border-top: 1px solid rgba(235, 209, 151, 0.22);
  padding: 40px 0;
  font-size: 0.94rem;
}

.kayan-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (DESKTOP -> TABLET -> MOBILE / CANVAS SIDE PANEL)
   ========================================================================== */
@media (max-width: 1220px) {
  .kayan-nav-links {
    display: none;
  }
  .kayan-burger {
    display: inline-flex;
  }
  .kayan-ribbon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sw-cards-grid,
  .gallery-v15-grid,
  .edu-cards-grid,
  .services-3x3-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-channels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .kayan-hero-grid,
  .about-exec-grid,
  .audience-hero-banner,
  .kids-builder-shell,
  .interactive-2col,
  .apps-2col-grid {
    grid-template-columns: 1fr;
  }
  .audience-4-tabs,
  .hero-worlds-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .suite-4-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --base-fs: 16.5px;
  }
  .kayan-ribbon-grid,
  .hero-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sw-cards-grid,
  .gallery-v15-grid,
  .edu-cards-grid,
  .services-3x3-grid,
  .pillars-4-grid,
  .choice-grid-btns,
  .modal-info-grid,
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
  .kayan-mobile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .kayan-mobile-grid a {
    font-size: 0.86rem;
    padding: 10px 10px;
    text-align: center;
  }
  .app-store-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-qr-box {
    margin: 0 auto;
  }
  .font-scale-group {
    display: none;
  }
}


/* ==========================================================================
   v16 ULTRA-WIDE MONUMENTAL SCALE & PHOTOREALISTIC PROGRAM HUD UPGRADE
   ========================================================================== */
:root {
  --base-fs: 18.5px;
  --container-max: 1820px;
  --pad-x: clamp(16px, 2.4vw, 44px);
}

body {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.kayan-hero h1 {
  font-size: clamp(2.45rem, 4.5vw, 4.25rem);
  line-height: 1.22;
}

.sec-title {
  font-size: clamp(2.1rem, 3.8vw, 3.55rem);
}

.suite-visual {
  height: 310px;
}

.suite-body h3 {
  font-size: 1.52rem;
}

.suite-body p {
  font-size: 1.04rem;
}

/* Generous auto-fitting card grids so cards NEVER squeeze small on mid-width or Canvas panels! */
.sw-cards-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 390px), 1fr)) !important;
  gap: 26px !important;
}

.gallery-v15-grid,
.edu-cards-grid,
.services-3x3-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 370px), 1fr)) !important;
  gap: 24px !important;
}

/* Photorealistic Studio + Glassmorphic HUD Card Thumbnail (Canvas & Web) */
.sw-prog-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.4;
  background: #06121a;
  overflow: hidden;
  border-bottom: 2px solid rgba(201, 164, 94, 0.35);
}

.sw-hud-canvas-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sw-hud-canvas-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.12);
  transition: transform 0.5s ease;
}

.sw-prog-card:hover .sw-hud-canvas-card img {
  transform: scale(1.06);
}

.sw-hud-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,12,18,0.58) 0%, rgba(4,12,18,0.10) 42%, rgba(4,12,18,0.92) 100%);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.sw-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.sw-hud-pill {
  background: rgba(6, 16, 24, 0.86);
  border: 1px solid rgba(235, 209, 151, 0.55);
  color: #ebd197;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.sw-hud-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(6, 16, 24, 0.86);
  border: 1px solid rgba(235, 209, 151, 0.42);
  border-radius: 13px;
  padding: 10px 14px;
}

.sw-hud-mono {
  width: 54px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.05rem;
  color: #fff;
  background: rgba(8, 20, 29, 0.95);
  flex-shrink: 0;
}

.sw-outputs-mini-list {
  margin: 0 0 16px;
  padding: 12px 14px;
  list-style: none;
  background: rgba(201, 164, 94, 0.10);
  border-right: 3px solid var(--gold);
  border-radius: 10px;
  font-size: 0.91rem;
}

.sw-outputs-mini-list li {
  margin-bottom: 4px;
  color: #243439;
  font-weight: 600;
}

.g-section-dark .sw-outputs-mini-list li {
  color: rgba(255, 253, 248, 0.90);
}

.pillar-mini-card,
.hero-kpi-item {
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.pillar-mini-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-deep);
  background: #fffdf8;
}

.hero-kpi-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(235, 209, 151, 0.24);
  border-radius: 13px;
  padding: 12px 14px;
}

.hero-kpi-item:hover {
  background: rgba(201, 164, 94, 0.20);
  border-color: var(--gold-bright);
  transform: translateY(-3px);
}

@keyframes monorail-glide {
  0% { transform: translateX(70px); }
  50% { transform: translateX(-75px); }
  100% { transform: translateX(70px); }
}

.kid-anim-train {
  animation: monorail-glide 5.5s ease-in-out infinite;
}


/* ==========================================================================
   v17 MULTI-PAGE ARCHITECTURE · SIDE-BY-SIDE TOPBAR · FLOATING BACK-TO-TOP
   ========================================================================== */
.kayan-header-inner {
  flex-wrap: nowrap !important;
}

.kayan-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

.header-home-quick-btn {
  display: none;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink) !important;
  border: none;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.subpage-action-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.subpage-action-strip a,
.subpage-action-strip button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Floating Back-to-Top Button */
.kayan-back-top-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1150;
  background: rgba(6, 16, 22, 0.92);
  color: var(--gold-bright);
  border: 1.5px solid var(--gold);
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 7px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}

.kayan-back-top-btn.visible {
  display: inline-flex;
}

.kayan-back-top-btn:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}

/* Compact Hub Cards on Multi-Page Homepage */
.hub-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}

.hub-dir-card {
  background: var(--cream-card);
  border: 1.5px solid rgba(8, 19, 24, 0.13);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 38px rgba(6, 16, 22, 0.08);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  cursor: pointer;
}

.hub-dir-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 26px 58px rgba(6, 16, 22, 0.17);
}

.hub-dir-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.hub-dir-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hub-dir-body h3 {
  margin: 6px 0 8px;
  font-size: 1.32rem;
  font-weight: 800;
}

.hub-dir-body p {
  margin: 0 0 14px;
  font-size: 0.96rem;
  color: var(--muted-dark);
  flex: 1;
}

@media (max-width: 1220px) {
  .header-home-quick-btn {
    display: inline-flex;
  }
  .kayan-brand-text small {
    display: none;
  }
}

@media (max-width: 680px) {
  .tool-chip-btn.hide-on-xs {
    display: none;
  }
  .kayan-brand-text strong {
    font-size: 0.95rem;
  }
  .kayan-brand-emblem {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }
  .kayan-back-top-btn {
    bottom: 74px;
    right: 14px;
    padding: 9px 14px;
    font-size: 0.82rem;
  }
}

/* KAYAN_V18_MEDIA_CARDS */
.edu-card-v15.edu-card-has-thumb {
  overflow: hidden;
  padding-top: 0;
}
.edu-card-thumb {
  position: relative;
  margin: 0 -26px 16px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1b22;
}
.edu-card-thumb img,
.srv-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.edu-card-v15:hover .edu-card-thumb img,
.srv-card-v18:hover .srv-card-thumb img {
  transform: scale(1.06);
}
.edu-card-stage-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(6, 16, 22, 0.84);
  color: #ebd197;
  border: 1px solid rgba(201, 164, 94, 0.45);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.srv-card-v18 {
  background: var(--cream-card);
  border: 1.5px solid rgba(8, 19, 24, 0.13);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.28s ease;
  box-shadow: 0 14px 36px rgba(6, 16, 22, 0.07);
}
.srv-card-v18:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 26px 60px rgba(6, 16, 22, 0.16);
}
.srv-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1b22;
}
.srv-num-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(6, 16, 22, 0.86);
  color: #ebd197;
  border: 1px solid rgba(201, 164, 94, 0.55);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}
.srv-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.srv-card-body h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #081318;
}
.srv-card-body p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: rgba(8, 19, 24, 0.78);
  margin: 0 0 16px;
  flex: 1;
}

/* KAYAN_V18_NAV_UX */
.kayan-drawer-top-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.kayan-drawer-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(235, 209, 151, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.kayan-drawer-top-btn.is-home {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  border-color: transparent;
}
@media (max-width: 680px) {
  .subpage-action-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .subpage-action-strip::-webkit-scrollbar {
    display: none;
  }
  .subpage-action-strip a,
  .subpage-action-strip button {
    flex: 0 0 auto;
    padding: 9px 14px;
    font-size: 0.86rem;
  }
}
.kayan-float-home-btn {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 1150;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  border: none;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.25s ease;
}
.kayan-float-home-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
@media (max-width: 680px) {
  .kayan-float-home-btn {
    bottom: 74px;
    left: 14px;
    padding: 9px 14px;
    font-size: 0.82rem;
  }
}


/* ==========================================================================
   v19 LUXURY EXECUTIVE UPGRADE — 5-PILLAR MASTERY, WOMEN VIP & TECH STUDIOS
   ========================================================================== */
.hero-5pillars-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 20px;
}

.hero-pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(201, 164, 94, 0.14);
  border: 1px solid rgba(235, 209, 151, 0.42);
  color: #fffdf8;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.hero-pillar-badge b {
  color: var(--gold-bright);
}

/* Keep top HUD pills subtle so bottom glass dock of prog-XXX.webp shines 100% unobstructed */
.sw-prog-thumb {
  aspect-ratio: 5 / 3 !important;
  background: #051017;
}

.sw-hud-overlay {
  background: linear-gradient(180deg, rgba(4, 12, 18, 0.56) 0%, rgba(4, 12, 18, 0.0) 34%, rgba(4, 12, 18, 0.0) 100%) !important;
  pointer-events: none;
}

/* Executive Split Spotlight (Businesswomen & Tech Mastery) */
.exec-spotlight-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 3.6vw, 52px);
  align-items: center;
}

.exec-visual-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(235, 209, 151, 0.58);
  box-shadow: 0 28px 70px rgba(5, 14, 20, 0.34);
  background: #07141d;
}

.exec-visual-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  display: block;
}

.exec-visual-float-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  left: 16px;
  background: rgba(6, 16, 22, 0.90);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(235, 209, 151, 0.48);
  border-radius: 14px;
  padding: 12px 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vip-feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 12px;
}

.vip-feature-list li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(235, 209, 151, 0.26);
  border-right: 4px solid var(--gold-bright);
  border-radius: 13px;
  padding: 13px 16px;
  font-size: 0.98rem;
  line-height: 1.8;
}

.g-section-cream .vip-feature-list li {
  background: #fffdf9;
  border-color: rgba(201, 164, 94, 0.36);
  border-right: 4px solid var(--gold-deep);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(6, 16, 22, 0.05);
}

.vip-steps-4grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.vip-step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(235, 209, 151, 0.28);
  border-radius: 18px;
  padding: 22px 20px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.vip-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
}

.g-section-cream .vip-step-card {
  background: #fffdf9;
  border-color: rgba(201, 164, 94, 0.35);
  box-shadow: 0 14px 36px rgba(6, 16, 22, 0.06);
}

.vip-step-num {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tech-3pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 34px;
}

.tech-pillar-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(235, 209, 151, 0.30);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.26s ease, border-color 0.26s ease;
}

.tech-pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
}

.tech-pillar-card img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
}

.tech-pillar-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 1080px) {
  .exec-spotlight-grid {
    grid-template-columns: 1fr;
  }
  .vip-steps-4grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tech-3pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .vip-steps-4grid {
    grid-template-columns: 1fr;
  }
}


/* === KAYAN EYE-COMFORT PEARL WHITE THEME === */
:root {
  --ink: #0b1f2e;
  --ink-2: #153042;
  --ink-3: #234358;
  --paper: #fcfbf8;
  --paper-2: #f4efe4;
  --cream-card: #ffffff;
  --gold: #b88728;
  --gold-bright: #946615;
  --gold-deep: #85590f;
  --emerald: #0d7a56;
  --cyan: #0b6490;
  --white: #ffffff;
  --muted-dark: #334756;
  --muted-light: #3a4f5e;
  --shadow-lux: 0 14px 40px rgba(11, 31, 46, 0.07);
  --shadow-dark: 0 16px 44px rgba(11, 31, 46, 0.09);
}

html, body {
  background: #fcfbf8 !important;
  color: #0b1f2e !important;
}

/* Sticky Pearl-White Header */
.kayan-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(184, 135, 40, 0.28) !important;
  box-shadow: 0 8px 28px rgba(11, 31, 46, 0.06) !important;
  color: #0b1f2e !important;
}

.kayan-brand-emblem {
  background: linear-gradient(135deg, #c99838, #966817) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(150, 104, 23, 0.28) !important;
}

.kayan-brand-text strong {
  color: #0b1f2e !important;
}

.kayan-brand-text small {
  color: #8c5f12 !important;
}

.kayan-nav-links a {
  color: #1c3344 !important;
}

.kayan-nav-links a:hover,
.kayan-nav-links a.active-nav {
  background: #0b1f2e !important;
  color: #ffffff !important;
}

.kayan-nav-links a.nav-pill-special {
  background: #fbf5e6 !important;
  border: 1px solid rgba(184, 135, 40, 0.48) !important;
  color: #7d530d !important;
}

.kayan-nav-links a.nav-pill-special:hover,
.kayan-nav-links a.nav-pill-special.active-nav {
  background: linear-gradient(135deg, #c59231, #946615) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.tool-chip-btn {
  background: #f6f2e8 !important;
  color: #0b1f2e !important;
  border: 1px solid rgba(184, 135, 40, 0.38) !important;
}

.tool-chip-btn:hover,
.tool-chip-btn.is-active {
  background: #0b1f2e !important;
  color: #ffffff !important;
  border-color: #0b1f2e !important;
}

.font-scale-group {
  background: #f6f2e8 !important;
  border: 1px solid rgba(184, 135, 40, 0.36) !important;
}

.font-scale-group button {
  color: #1c3344 !important;
}

.font-scale-group button:hover,
.font-scale-group button.active {
  background: #0b1f2e !important;
  color: #ffffff !important;
}

.kayan-burger {
  background: #fbf5e6 !important;
  border: 1.5px solid #b88728 !important;
  color: #0b1f2e !important;
}

.header-home-quick-btn {
  background: #0b1f2e !important;
  color: #ffffff !important;
}

/* Mobile Drawer in Clean Pearl White */
.kayan-mobile-drawer {
  background: #ffffff !important;
  border-bottom: 2px solid #b88728 !important;
  box-shadow: 0 18px 40px rgba(11, 31, 46, 0.12) !important;
}

.kayan-mobile-grid a {
  background: #f9f6ee !important;
  border: 1px solid rgba(184, 135, 40, 0.30) !important;
  color: #0b1f2e !important;
}

.kayan-drawer-top-btn {
  background: #f5efe2 !important;
  border: 1px solid rgba(184, 135, 40, 0.45) !important;
  color: #0b1f2e !important;
}

.kayan-drawer-top-btn.is-home {
  background: #0b1f2e !important;
  color: #ffffff !important;
}

/* Hero Section — Soft Pearl White & Warm Alabaster */
.kayan-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 164, 94, 0.14), transparent 40%),
    radial-gradient(circle at 14% 80%, rgba(14, 116, 144, 0.07), transparent 42%),
    linear-gradient(135deg, #ffffff 0%, #faf7f0 55%, #f3ede0 100%) !important;
  color: #0b1f2e !important;
  border-bottom: 1px solid rgba(184, 135, 40, 0.25) !important;
}

.kayan-hero::before {
  background-image:
    linear-gradient(rgba(11, 31, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 46, 0.035) 1px, transparent 1px) !important;
}

.hero-crown-pill {
  background: #fbf5e6 !important;
  border: 1.5px solid #c59434 !important;
  color: #7d530d !important;
  box-shadow: 0 6px 20px rgba(184, 135, 40, 0.12) !important;
}

.hero-crown-dot {
  background: #b88728 !important;
  box-shadow: 0 0 10px rgba(184, 135, 40, 0.6) !important;
}

.kayan-hero h1 {
  color: #0b1f2e !important;
}

.kayan-hero h1 span {
  color: #946615 !important;
}

.hero-pillar-badge {
  background: #ffffff !important;
  border: 1px solid rgba(184, 135, 40, 0.42) !important;
  color: #183142 !important;
  box-shadow: 0 4px 14px rgba(11, 31, 46, 0.05) !important;
}

.hero-pillar-badge b {
  color: #8c5f12 !important;
}

.hero-lead {
  color: #2b3e4e !important;
}

.hero-world-chip {
  background: #ffffff !important;
  border: 1.5px solid rgba(184, 135, 40, 0.32) !important;
  box-shadow: 0 8px 22px rgba(11, 31, 46, 0.05) !important;
}

.hero-world-chip:hover {
  background: #fbf5e6 !important;
  border-color: #b88728 !important;
}

.hero-world-chip strong {
  color: #0b1f2e !important;
}

.hero-world-chip small {
  color: #8c5f12 !important;
}

.btn-gold-xl {
  background: linear-gradient(135deg, #c69332, #956715) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(150, 104, 23, 0.26) !important;
}

.btn-gold-xl:hover {
  box-shadow: 0 16px 36px rgba(150, 104, 23, 0.36) !important;
}

.btn-outline-xl {
  background: #ffffff !important;
  color: #0b1f2e !important;
  border: 1.5px solid rgba(11, 31, 46, 0.24) !important;
  box-shadow: 0 6px 18px rgba(11, 31, 46, 0.04) !important;
}

.btn-outline-xl:hover {
  background: #fbf5e6 !important;
  border-color: #b88728 !important;
  color: #0b1f2e !important;
}

.hero-kpi-strip {
  border-top: 1px solid rgba(11, 31, 46, 0.12) !important;
}

.hero-kpi-item {
  background: #ffffff !important;
  border: 1px solid rgba(184, 135, 40, 0.28) !important;
  box-shadow: 0 6px 18px rgba(11, 31, 46, 0.04) !important;
}

.hero-kpi-item:hover {
  background: #fbf5e6 !important;
  border-color: #b88728 !important;
}

.hero-kpi-item strong {
  color: #8c5f12 !important;
}

.hero-kpi-item span {
  color: #3a4f5e !important;
}

.hero-portrait-frame {
  border: 2px solid rgba(184, 135, 40, 0.55) !important;
  box-shadow: 0 24px 60px rgba(11, 31, 46, 0.16) !important;
  background: #ffffff !important;
}

.hero-portrait-caption {
  background: #ffffff !important;
  border-top: 1px solid rgba(184, 135, 40, 0.30) !important;
}

.hero-portrait-caption strong {
  color: #0b1f2e !important;
}

.hero-portrait-caption span {
  color: #415665 !important;
}

/* All Sections — Soft Alternating White & Warm Ivory */
.g-section-dark {
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ec 100%) !important;
  color: #0b1f2e !important;
  border-top: 1px solid rgba(11, 31, 46, 0.06);
  border-bottom: 1px solid rgba(11, 31, 46, 0.06);
}

.g-section-cream {
  background: linear-gradient(180deg, #fcfbf8 0%, #f4efe3 100%) !important;
  color: #0b1f2e !important;
}

.g-section-sand {
  background: #f3ede0 !important;
  color: #0b1f2e !important;
}

.sec-kicker,
.g-section-dark .sec-kicker {
  color: #85590f !important;
  background: #fbf4e4 !important;
  border: 1px solid rgba(184, 135, 40, 0.42) !important;
}

.sec-title,
.g-section-dark .sec-title {
  color: #0b1f2e !important;
}

.sec-title span,
.g-section-dark .sec-title span {
  color: #946615 !important;
}

.sec-desc,
.g-section-dark .sec-desc {
  color: #364b5a !important;
}

/* Portrait & About Box */
.exec-portrait-box {
  background: #ffffff !important;
  border: 2px solid rgba(184, 135, 40, 0.5) !important;
}

.exec-portrait-meta {
  background: #ffffff !important;
  color: #0b1f2e !important;
  border-top: 1px solid rgba(184, 135, 40, 0.25) !important;
}

.exec-portrait-meta h3 {
  color: #0b1f2e !important;
}

.exec-portrait-meta p {
  color: #364b5a !important;
}

.about-narrative-card {
  background: #ffffff !important;
  border: 1px solid rgba(184, 135, 40, 0.28) !important;
}

.pillar-mini-card {
  background: #faf6ec !important;
  border: 1px solid rgba(184, 135, 40, 0.36) !important;
}

/* Cards, Suites, Software Cards, Panels, Tech Cards, Steps */
.suite-lux-card,
.g-section-dark .suite-lux-card,
.sw-prog-card,
.g-section-dark .sw-prog-card,
.lux-panel,
.g-section-dark .lux-panel,
.vip-step-card,
.tech-pillar-card,
.app-store-card,
.contact-card-v15,
.faq-item-v15,
.hub-dir-card,
.edu-card-v15,
.srv-card-v15,
.srv-card-v18,
.audience-hero-banner {
  background: #ffffff !important;
  color: #0b1f2e !important;
  border: 1.5px solid rgba(11, 31, 46, 0.11) !important;
  box-shadow: 0 12px 34px rgba(11, 31, 46, 0.06) !important;
}

.suite-lux-card:hover,
.sw-prog-card:hover,
.vip-step-card:hover,
.tech-pillar-card:hover,
.contact-card-v15:hover,
.hub-dir-card:hover,
.edu-card-v15:hover,
.srv-card-v15:hover,
.srv-card-v18:hover {
  border-color: #b88728 !important;
  box-shadow: 0 20px 48px rgba(11, 31, 46, 0.12) !important;
}

.suite-body h3,
.sw-prog-body h3,
.hub-dir-body h3,
.edu-card-v15 h3,
.srv-card-v15 h3,
.srv-card-body h3,
.lux-panel h3,
.vip-step-card h3,
.tech-pillar-body h3,
.app-store-card h3 {
  color: #0b1f2e !important;
}

.suite-body p,
.g-section-dark .suite-body p,
.sw-prog-body p,
.g-section-dark .sw-prog-body p,
.hub-dir-body p,
.srv-card-v15 p,
.srv-card-body p,
.vip-step-card p,
.tech-pillar-body p,
.app-store-card p {
  color: #334756 !important;
}

.sw-meta-top,
.g-section-dark .sw-meta-top,
.sw-prog-cta,
.g-section-dark .sw-prog-cta,
.suite-action-bar,
.g-section-dark .suite-action-bar {
  color: #8c5f12 !important;
}

.sw-ext-pill,
.g-section-dark .sw-ext-pill {
  background: #f3eee2 !important;
  color: #1c3344 !important;
}

.sw-outputs-mini-list,
.g-section-dark .sw-outputs-mini-list {
  background: #faf6ec !important;
  border-right: 3px solid #b88728 !important;
}

.sw-outputs-mini-list li,
.g-section-dark .sw-outputs-mini-list li {
  color: #1f3444 !important;
}

.suite-tags span,
.g-section-dark .suite-tags span {
  background: #f8f2e4 !important;
  color: #7d530d !important;
  border: 1px solid rgba(184, 135, 40, 0.25);
}

.vip-feature-list li {
  background: #ffffff !important;
  border: 1px solid rgba(184, 135, 40, 0.30) !important;
  border-right: 4px solid #b88728 !important;
  color: #1a3040 !important;
  box-shadow: 0 6px 20px rgba(11, 31, 46, 0.04) !important;
}

.vip-step-num {
  color: #ffffff !important;
  background: linear-gradient(135deg, #c69332, #956715) !important;
}

/* Interactive Choice Buttons, Tabs & Swatches */
.sw-controls-bar {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(184, 135, 40, 0.28) !important;
}

.sw-cat-btn {
  background: #ffffff !important;
  color: #183040 !important;
  border: 1px solid rgba(11, 31, 46, 0.16) !important;
}

.sw-cat-btn:hover,
.sw-cat-btn.active {
  background: #0b1f2e !important;
  color: #ffffff !important;
  border-color: #0b1f2e !important;
}

.choice-btn {
  background: #f8f5ec !important;
  color: #0b1f2e !important;
  border: 1.5px solid rgba(184, 135, 40, 0.32) !important;
}

.choice-btn:hover,
.choice-btn.active {
  background: #0b1f2e !important;
  color: #ffffff !important;
  border-color: #0b1f2e !important;
  box-shadow: 0 8px 22px rgba(11, 31, 46, 0.16) !important;
}

.swatch-chip {
  background: #f7f3e8 !important;
  border: 1px solid rgba(184, 135, 40, 0.35) !important;
  color: #0b1f2e !important;
}

/* Kids Section & Interactive Builder in Joyful Light Ivory */
.kids-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3faf7 100%) !important;
  color: #0b1f2e !important;
}

.kids-builder-shell {
  background: #ffffff !important;
  border: 2px solid rgba(13, 122, 86, 0.35) !important;
  color: #0b1f2e !important;
  box-shadow: 0 20px 54px rgba(11, 31, 46, 0.08) !important;
}

.kids-choice-group label {
  color: #0b1f2e !important;
}

.kid-pill-btn {
  background: #f4f8f6 !important;
  color: #0b1f2e !important;
  border: 1.5px solid rgba(13, 122, 86, 0.28) !important;
}

.kid-pill-btn:hover,
.kid-pill-btn.active {
  background: linear-gradient(135deg, #129169, #0d7a56) !important;
  color: #ffffff !important;
  border-color: #0d7a56 !important;
}

/* FAQ Accordion Light */
.faq-btn-v15 {
  color: #0b1f2e !important;
}

.faq-ans-v15 {
  color: #334756 !important;
  border-top: 1px solid rgba(11, 31, 46, 0.09) !important;
}

/* Floating Photo Tags — Frosted Ivory Glass on Photos */
.exec-visual-frame {
  background: #ffffff !important;
  border: 2px solid rgba(184, 135, 40, 0.45) !important;
  box-shadow: 0 20px 52px rgba(11, 31, 46, 0.12) !important;
}

.exec-visual-float-tag {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(184, 135, 40, 0.48) !important;
  color: #0b1f2e !important;
  box-shadow: 0 10px 28px rgba(11, 31, 46, 0.14) !important;
}

/* Universal Modal — Crisp White Eye-Comfort Card */
.kayan-modal-backdrop {
  background: rgba(11, 31, 46, 0.58) !important;
}

.kayan-modal-dialog {
  background: #ffffff !important;
  color: #0b1f2e !important;
  border: 2px solid rgba(184, 135, 40, 0.55) !important;
  box-shadow: 0 32px 84px rgba(11, 31, 46, 0.24) !important;
}

.kayan-modal-close {
  background: #ffffff !important;
  color: #0b1f2e !important;
  border: 1.5px solid #b88728 !important;
  box-shadow: 0 6px 16px rgba(11, 31, 46, 0.14) !important;
}

.modal-info-box {
  background: #faf7f0 !important;
  border: 1px solid rgba(184, 135, 40, 0.32) !important;
  color: #0b1f2e !important;
}

.modal-info-box h4 {
  color: #85590f !important;
}

/* Footer & Floating Back-to-Top */
.kayan-footer {
  background: #f3eee2 !important;
  color: #2c3f4e !important;
  border-top: 1px solid rgba(184, 135, 40, 0.32) !important;
}

.kayan-back-top-btn {
  background: #ffffff !important;
  color: #0b1f2e !important;
  border: 1.5px solid #b88728 !important;
  box-shadow: 0 10px 28px rgba(11, 31, 46, 0.16) !important;
}

.kayan-float-home-btn {
  background: #0b1f2e !important;
  color: #ffffff !important;
}


/* Gallery & Photo Overlays High-Contrast Polish */
.gal-card-v15 {
  background: #ffffff !important;
  border: 1.5px solid rgba(184, 135, 40, 0.30) !important;
  box-shadow: 0 14px 36px rgba(11, 31, 46, 0.08) !important;
}
.gal-card-overlay {
  background: linear-gradient(180deg, rgba(6,16,22,0.0) 30%, rgba(6,16,22,0.88) 100%) !important;
  color: #ffffff !important;
}
.gal-card-overlay small {
  color: #f3d796 !important;
}
.gal-card-overlay h3 {
  color: #ffffff !important;
}
.suite-badge-top,
.edu-card-stage-pill,
.srv-num-badge {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #0b1f2e !important;
  border: 1px solid rgba(184, 135, 40, 0.55) !important;
  box-shadow: 0 6px 18px rgba(11, 31, 46, 0.14) !important;
}
.kids-stage-canvas {
  background: #f4faf7 !important;
  border: 1.5px solid rgba(13, 122, 86, 0.32) !important;
}


/* === v20 AAA EYE-COMFORT CONTRAST POLISH (ZERO LOW-CONTRAST BUTTONS OR SVG) === */
.btn-gold-xl {
  background: linear-gradient(135deg, #f4dc96, #dfb04b) !important;
  color: #081824 !important;
  border: 1px solid rgba(140, 94, 16, 0.36) !important;
  box-shadow: 0 10px 26px rgba(150, 104, 23, 0.20) !important;
}

.btn-gold-xl:hover {
  background: linear-gradient(135deg, #eccd78, #cfa038) !important;
  color: #051018 !important;
}

.kayan-brand-emblem {
  background: #0b1f2e !important;
  color: #f5dc96 !important;
  border: 1.5px solid #c99838 !important;
}

.vip-step-num {
  background: #0b1f2e !important;
  color: #f5dc96 !important;
}

.kayan-nav-links a.nav-pill-special:hover,
.kayan-nav-links a.nav-pill-special.active-nav {
  background: #0b1f2e !important;
  color: #f5dc96 !important;
  border-color: #0b1f2e !important;
}

.kayan-float-wa {
  background: #0a6847 !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 12px 30px rgba(10, 104, 71, 0.30) !important;
}

.kayan-float-wa span {
  color: #ffffff !important;
}

.ba-handle-knob {
  background: #ffffff !important;
  color: #0b1f2e !important;
  border: 2px solid #b88728 !important;
}

/* Preserve crisp bright text inside dark-sky Kids SVG illustration */
.kids-svg-wrap svg text {
  color: #ffffff !important;
}


/* === v20.1 SINGLE-LINE HEADER, ABOVE-THE-FOLD HERO & NON-OVERLAPPING FLOATING BUTTONS === */
.kayan-nav-links {
  flex-wrap: nowrap !important;
  gap: clamp(4px, 0.65vw, 12px) !important;
}

.kayan-nav-links a {
  font-size: clamp(0.80rem, 0.86vw, 0.92rem) !important;
  padding: 6px clamp(7px, 0.7vw, 11px) !important;
}

@media (max-width: 1180px) {
  .kayan-nav-links {
    display: none !important;
  }
  .kayan-burger {
    display: inline-flex !important;
  }
  .header-home-quick-btn {
    display: inline-flex !important;
  }
}

.kayan-hero {
  padding: clamp(28px, 3.2vw, 52px) 0 clamp(36px, 4vw, 60px) !important;
}

.kayan-hero h1 {
  font-size: clamp(1.95rem, 2.95vw, 3.05rem) !important;
  line-height: 1.28 !important;
  margin-bottom: 14px !important;
}

.kayan-float-home-btn {
  bottom: 82px !important;
  left: 22px !important;
}

@media (max-width: 680px) {
  .kayan-float-home-btn {
    bottom: 132px !important;
    left: 14px !important;
  }
}


/* === v20.2 PERFECT 1366px LAPTOP HEADER FIT (ZERO OVERFLOW / ZERO CLIPPING) === */
@media (max-width: 1580px) {
  .kayan-brand-text small,
  .tool-chip-btn.hide-on-xs {
    display: none !important;
  }
  .kayan-header-inner {
    gap: 10px !important;
  }
  .kayan-nav-links {
    gap: 4px !important;
  }
  .kayan-nav-links a {
    font-size: 0.82rem !important;
    padding: 6px 8px !important;
  }
}
@media (max-width: 1180px) {
  .kayan-nav-links {
    display: none !important;
  }
  .kayan-burger,
  .header-home-quick-btn {
    display: inline-flex !important;
  }
}


/* ==========================================================================
   v21 ENGINEERS' INTERACTIVE ENCYCLOPEDIA & SHORTCUTS WORKSTATION (PEARL-IVORY)
   ========================================================================== */
.sw-hook-banner {
  background: linear-gradient(135deg, #fdf9ee 0%, #f6eed8 100%);
  border: 1px solid rgba(184, 135, 40, 0.42);
  border-right: 4px solid #b88728;
  border-radius: 12px;
  padding: 10px 13px;
  margin: 0 0 11px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0b1f2e;
  line-height: 1.65;
}

.sw-card-mini-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 13px;
  padding: 9px 10px;
  background: #f8f6f0;
  border: 1px dashed rgba(11, 31, 46, 0.18);
  border-radius: 11px;
}

.sw-mini-kbd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(11, 31, 46, 0.18);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.77rem;
  font-weight: 700;
  color: #153042;
  cursor: pointer;
  transition: all 0.18s ease;
}

.sw-mini-kbd-chip:hover {
  border-color: #b88728;
  background: #fdf7e7;
  transform: translateY(-1px);
}

.sw-mini-kbd-chip kbd {
  background: #0b1f2e;
  color: #f6df9d;
  font-family: 'DejaVu Sans Mono', 'Consolas', monospace;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  direction: ltr;
  unicode-bidi: embed;
}

.sw-card-dual-actions {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.sw-card-btn-story,
.sw-card-btn-keys {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sw-card-btn-story {
  background: #0b1f2e;
  color: #ffffff;
  border: 1px solid #0b1f2e;
}

.sw-card-btn-story:hover {
  background: #16364d;
}

.sw-card-btn-keys {
  background: linear-gradient(135deg, #f6e1a4, #e2b451);
  color: #091926;
  border: 1px solid rgba(140, 95, 18, 0.38);
}

.sw-card-btn-keys:hover {
  background: linear-gradient(135deg, #efd382, #d4a33b);
}

/* Modal Tabs & Interactive Shortcut Workstation */
.kayan-modal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(184, 135, 40, 0.28);
}

.kayan-modal-tab-btn {
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  background: #f6f2e8;
  color: #153042;
  border: 1.5px solid rgba(184, 135, 40, 0.34);
  transition: all 0.2s ease;
}

.kayan-modal-tab-btn.active {
  background: #0b1f2e;
  color: #f6df9d;
  border-color: #0b1f2e;
  box-shadow: 0 8px 20px rgba(11, 31, 46, 0.16);
}

.pro-secret-callout {
  background: linear-gradient(135deg, #eefaf5 0%, #e4f5ee 100%);
  border: 1.5px solid rgba(13, 122, 86, 0.38);
  border-right: 5px solid #0d7a56;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 16px 0;
  color: #0b2920;
}

.pro-secret-callout strong {
  display: block;
  color: #08583e;
  font-size: 1rem;
  margin-bottom: 6px;
}

.workflow-4steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}

.workflow-step-item {
  background: #faf7f0;
  border: 1px solid rgba(184, 135, 40, 0.32);
  border-radius: 13px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.workflow-step-badge {
  background: #0b1f2e;
  color: #f6df9d;
  font-weight: 900;
  font-size: 0.82rem;
  min-width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Shortcuts Cheat-Sheet Table / Cards */
.sc-toolbar-box {
  background: #faf7ef;
  border: 1px solid rgba(184, 135, 40, 0.34);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.sc-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.sc-search-input {
  flex: 1;
  min-width: 220px;
  padding: 11px 15px;
  border-radius: 10px;
  border: 1.5px solid rgba(11, 31, 46, 0.22);
  background: #ffffff;
  color: #0b1f2e;
  font-size: 0.95rem;
  font-weight: 600;
}

.sc-search-input:focus {
  outline: none;
  border-color: #b88728;
  box-shadow: 0 0 0 3px rgba(184, 135, 40, 0.16);
}

.sc-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 11px;
  max-height: 460px;
  overflow-y: auto;
  padding: 4px 2px;
}

.sc-item-card {
  background: #ffffff;
  border: 1.5px solid rgba(11, 31, 46, 0.13);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.sc-item-card:hover {
  border-color: #b88728;
  box-shadow: 0 8px 22px rgba(11, 31, 46, 0.07);
}

.sc-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.kayan-kbd {
  display: inline-block;
  background: #0b1f2e;
  color: #f7e1a0;
  border: 1px solid #c99838;
  border-bottom-width: 3px;
  padding: 4px 11px;
  border-radius: 8px;
  font-family: 'DejaVu Sans Mono', 'Consolas', monospace;
  font-size: 0.88rem;
  font-weight: 800;
  direction: ltr;
  unicode-bidi: embed;
  letter-spacing: 0.02em;
}

.sc-cmd-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: #85590f;
  direction: ltr;
  unicode-bidi: embed;
}

.sc-desc-txt {
  margin: 0;
  font-size: 0.91rem;
  color: #1e3444;
  line-height: 1.68;
  font-weight: 600;
}

.sc-actions-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(11, 31, 46, 0.10);
}

.sc-cat-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #415868;
  background: #f3efe4;
  padding: 2px 9px;
  border-radius: 999px;
}

.sc-mini-btn {
  background: #f6f2e7;
  color: #0b1f2e;
  border: 1px solid rgba(184, 135, 40, 0.38);
  border-radius: 7px;
  padding: 3px 9px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s;
}

.sc-mini-btn:hover,
.sc-mini-btn.is-fav {
  background: #0b1f2e;
  color: #f6df9d;
  border-color: #0b1f2e;
}

/* Mode Switcher Banner on /software-guide */
.sw-mode-switcher-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(184, 135, 40, 0.25);
}

.sw-mode-pill {
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  background: #f7f3e8;
  color: #0b1f2e;
  border: 1.5px solid rgba(184, 135, 40, 0.36);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.sw-mode-pill.active {
  background: #0b1f2e;
  color: #f6df9d;
  border-color: #0b1f2e;
  box-shadow: 0 10px 24px rgba(11, 31, 46, 0.14);
}

.radar-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 16px;
}

@media (max-width: 720px) {
  .workflow-4steps-grid,
  .sw-card-dual-actions {
    grid-template-columns: 1fr;
  }
}
