/* KSEAlert homepage — professional financial landing layout */

:root {
  --kse-navy: #0a192f;
  --kse-navy-mid: #112240;
  --kse-navy-light: #1d3461;
  --kse-accent: #0077ff;
  --kse-accent-green: #00c853;
  --kse-accent-green-dark: #00a379;
  --kse-hero-glow: rgba(0, 119, 255, 0.15);
}

body.kse-home-page {
  background: #f4f7fb;
}

body.kse-home-page .site-main {
  padding: 0;
}

body.kse-home-page .site-header {
  background: var(--kse-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
}

body.kse-home-page .kse-brand span {
  color: #fff;
}

body.kse-home-page .kse-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

body.kse-home-page .kse-nav a:hover,
body.kse-home-page .kse-nav a.is-active {
  color: #fff;
}

body.kse-home-page .kse-nav a.is-active {
  border-bottom: 2px solid var(--kse-accent);
  padding-bottom: 2px;
}

body.kse-home-page .kse-search {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

body.kse-home-page .kse-search input {
  color: #fff;
}

body.kse-home-page .kse-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

body.kse-home-page .kse-btn-soft {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

body.kse-home-page .kse-btn-signup {
  background: var(--kse-accent);
  color: #fff;
  border-color: var(--kse-accent);
  box-shadow: 0 6px 18px rgba(0, 119, 255, 0.35);
}

body.kse-home-page .site-footer {
  background: #050d18;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  padding: 48px 0 24px;
}

body.kse-home-page .site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

body.kse-home-page .site-footer strong {
  color: #fff;
}

body.kse-home-page .kse-nav-dropdown > summary {
  color: rgba(255, 255, 255, 0.82);
}

/* Home layout */
.kse-home-v2 {
  display: grid;
  gap: 0;
}

/* Hero */
.kse-hero-v2 {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--kse-hero-glow), transparent),
    linear-gradient(160deg, var(--kse-navy) 0%, var(--kse-navy-mid) 55%, #0d2240 100%);
  color: #e8f2ff;
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}

.kse-hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
}

.kse-hero-v2-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.kse-hero-v2 h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kse-hero-v2 h1 .kse-highlight {
  color: var(--kse-accent-green);
}

.kse-hero-v2-lead {
  margin: 16px 0 0;
  color: rgba(200, 224, 248, 0.88);
  font-size: 1.05rem;
  max-width: 52ch;
  line-height: 1.6;
}

.kse-hero-v2-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kse-btn-lg {
  padding: 13px 22px;
  font-size: 0.95rem;
  border-radius: 12px;
}

.kse-btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.kse-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.kse-hero-note {
  margin-top: 14px;
  font-size: 0.84rem;
  color: rgba(180, 210, 240, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}

.kse-hero-note .fa {
  color: var(--kse-accent-green);
}

/* Hero market widget */
.kse-hero-widget {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.kse-hero-widget-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.kse-hero-widget-head h2 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(200, 224, 248, 0.85);
}

.kse-hero-widget-head strong {
  display: block;
  font-size: 1.75rem;
  color: #fff;
  margin-top: 4px;
}

.kse-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.15);
  color: var(--kse-accent-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.kse-live-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kse-accent-green);
  animation: kse-pulse 1.6s ease infinite;
}

@keyframes kse-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.kse-hero-widget-body {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 14px;
}

.kse-hero-chart-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  min-height: 280px;
}


.kse-hero-stats {
  display: grid;
  gap: 10px;
}

.kse-hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px;
}

.kse-hero-stat span {
  display: block;
  font-size: 0.72rem;
  color: rgba(180, 210, 240, 0.7);
  margin-bottom: 4px;
}

.kse-hero-stat strong {
  font-size: 0.92rem;
  color: #fff;
}

.kse-breadth-bar {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}

.kse-breadth-bar .adv {
  background: var(--kse-accent-green);
}

.kse-breadth-bar .dec {
  background: var(--kse-down);
}

.kse-market-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--kse-accent-green);
  font-weight: 700;
}

.kse-market-status.is-closed {
  color: #f0a030;
}

/* Index strip */
.kse-index-strip-v2 {
  margin-top: -36px;
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
}

.kse-index-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 14px;
  align-items: stretch;
}

.kse-index-tile {
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 30px rgba(8, 36, 64, 0.1);
  border: 1px solid var(--kse-line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kse-index-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(8, 36, 64, 0.14);
}

.kse-index-tile-label {
  font-size: 0.82rem;
  color: var(--kse-muted);
  font-weight: 600;
}

.kse-index-tile-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--kse-text);
  margin-top: 2px;
}

.kse-index-tile-change {
  font-size: 0.88rem;
  font-weight: 700;
}

.kse-index-spark {
  width: 72px;
  height: 36px;
}

.kse-view-all-indices {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  font-weight: 700;
  color: var(--kse-brand);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.9rem;
}

/* Sections */
.kse-home-section {
  padding: 56px 0;
}

.kse-home-section--light {
  background: #f4f7fb;
}

.kse-home-section--white {
  background: #fff;
}

.kse-section-title {
  text-align: center;
  margin-bottom: 36px;
}

.kse-section-title h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kse-section-title h2 .kse-highlight {
  color: var(--kse-brand);
}

.kse-section-title p {
  margin: 10px auto 0;
  color: var(--kse-muted);
  max-width: 58ch;
  font-size: 1rem;
}

/* Feature cards */
.kse-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.kse-feature-tile {
  background: #fff;
  border: 1px solid var(--kse-line);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(8, 36, 64, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.kse-feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(8, 36, 64, 0.1);
}

.kse-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.kse-feature-icon--blue {
  background: #e8f2ff;
  color: var(--kse-brand);
}

.kse-feature-icon--green {
  background: #e0f8ef;
  color: var(--kse-accent-green-dark);
}

.kse-feature-icon--purple {
  background: #f0e8ff;
  color: #7c4dff;
}

.kse-feature-icon--orange {
  background: #fff3e8;
  color: #e65100;
}

.kse-feature-tile h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.kse-feature-tile p {
  margin: 0;
  color: var(--kse-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.kse-section-cta-center {
  text-align: center;
  margin-top: 28px;
}

/* Live snapshot */
.kse-snapshot-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.45fr;
  gap: 18px;
  align-items: start;
}


.kse-snapshot-metrics {
  display: grid;
  gap: 12px;
}

.kse-metric-card {
  background: #fff;
  border: 1px solid var(--kse-line);
  border-radius: 14px;
  padding: 16px;
}

.kse-metric-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--kse-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kse-metric-card strong {
  display: block;
  font-size: 1.25rem;
  margin-top: 6px;
}

.kse-metric-card em {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 4px;
}

.kse-sector-list {
  background: #fff;
  border: 1px solid var(--kse-line);
  border-radius: 16px;
  padding: 16px;
}

.kse-sector-list h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.kse-sector-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #eef3f8;
}

.kse-sector-item:last-child {
  border-bottom: 0;
}

.kse-sector-name {
  font-weight: 600;
  font-size: 0.88rem;
}

.kse-snapshot-heatmap {
  background: #fff;
  border: 1px solid var(--kse-line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  box-shadow: 0 8px 24px rgba(8, 36, 64, 0.06);
}

.kse-live-heatmap-host--compact .lhm-ov-list {
  max-height: 380px;
}

.kse-snapshot-heatmap--primary .kse-live-heatmap-host--compact {
  flex: 1;
  min-height: 340px;
  border-radius: 12px;
  overflow: hidden;
}

.kse-snapshot-heatmap h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.kse-snapshot-heatmap .kse-link-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--kse-blue, #0a72c8);
  text-decoration: none;
}

.kse-snapshot-heatmap .kse-link-more:hover {
  text-decoration: underline;
}

/* Snapshot / movers tab switchers — segmented control (override legacy theme) */
.kse-home-page .kse-tab-switcher,
.kse-home-page .kse-home-tab-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid #cfe0ee;
  border-radius: 12px;
  background: #eef4fa;
}

.kse-home-page .kse-tab-btn {
  margin: 0;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  padding: 8px 12px !important;
  font-family: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  line-height: 1.2 !important;
  background: transparent !important;
  background-image: none !important;
  color: #3e5f79 !important;
  box-shadow: none !important;
}

.kse-home-page .kse-tab-btn:hover {
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: #b8d4ef !important;
  color: #0e4f8b !important;
}

.kse-home-page .kse-tab-btn.is-active {
  border-color: #0b64be !important;
  background: linear-gradient(135deg, #0a5eb7, #0f7dde) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(8, 82, 158, 0.22);
}

.kse-snapshot-heatmap .lhm-tabs {
  margin-bottom: 12px;
  padding: 4px;
  border-radius: 12px;
  background: #eef4fa;
  border-color: #cfe0ee;
}

.kse-snapshot-heatmap .lhm-tab {
  font-size: 0.8rem !important;
  min-height: 36px;
  padding: 9px 10px !important;
  text-transform: none !important;
}

.kse-snapshot-heatmap .lhm-tab.lhm-tab-active {
  background: linear-gradient(135deg, #0a5eb7, #0f7dde) !important;
  box-shadow: 0 4px 12px rgba(8, 82, 158, 0.22) !important;
}

/* Movers + analysis */
.kse-insights-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

.kse-movers-card {
  background: #fff;
  border: 1px solid var(--kse-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(8, 36, 64, 0.06);
}

.kse-movers-card-head {
  padding: 16px 18px 0;
}

.kse-movers-card-head h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.kse-featured-card {
  background: #fff;
  border: 1px solid var(--kse-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(8, 36, 64, 0.06);
}

.kse-featured-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--kse-navy), var(--kse-brand));
  display: flex;
  align-items: center;
  justify-content: center;
}

.kse-featured-thumb .fa {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.35);
}

.kse-featured-body {
  padding: 18px;
}

.kse-featured-body h3 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--kse-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kse-featured-meta {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--kse-brand);
  letter-spacing: 0.02em;
}

.kse-featured-body h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.kse-featured-body p {
  margin: 0 0 14px;
  color: var(--kse-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.kse-read-link {
  color: var(--kse-brand);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
}

/* News feed */
.kse-news-grid-v2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}

.kse-news-feed {
  background: #fff;
  border: 1px solid var(--kse-line);
  border-radius: 16px;
  overflow: hidden;
}

.kse-news-feed-head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--kse-line);
}

.kse-news-feed-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.kse-news-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #eef3f8;
  align-items: start;
}

.kse-news-item:last-child {
  border-bottom: 0;
}

.kse-news-time {
  font-size: 0.78rem;
  color: var(--kse-muted);
  white-space: nowrap;
  min-width: 52px;
}

.kse-news-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.kse-news-tag--results {
  background: #dcf5ec;
  color: #0b6e46;
}

.kse-news-tag--corporate {
  background: #f0e8ff;
  color: #5e35b1;
}

.kse-news-tag--regulatory {
  background: #e8f2ff;
  color: #1565c0;
}

.kse-news-tag--market {
  background: #fff3e0;
  color: #e65100;
}

.kse-news-item a {
  text-decoration: none;
  color: var(--kse-text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.kse-news-item a:hover {
  color: var(--kse-brand);
}

.kse-news-symbol {
  font-size: 0.78rem;
  color: var(--kse-muted);
  font-weight: 700;
  margin-right: 6px;
}

.kse-alerts-card {
  background: linear-gradient(160deg, var(--kse-navy), var(--kse-navy-light));
  border-radius: 16px;
  padding: 28px 24px;
  color: #e8f2ff;
}

.kse-alerts-card .fa-bell {
  font-size: 2rem;
  color: var(--kse-accent);
  margin-bottom: 12px;
}

.kse-alerts-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #fff;
}

.kse-alerts-card p {
  margin: 0 0 18px;
  color: rgba(200, 224, 248, 0.8);
  font-size: 0.9rem;
  line-height: 1.55;
}

.kse-alerts-checklist {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.kse-alerts-checklist li {
  font-size: 0.86rem;
  color: rgba(200, 224, 248, 0.85);
  padding-left: 22px;
  position: relative;
}

.kse-alerts-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--kse-accent-green);
  font-weight: 700;
}

/* Testimonials */
.kse-testimonials-rating {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: var(--kse-muted);
}

.kse-testimonials-rating strong {
  color: #0a2540;
}

.kse-testimonials-rating a {
  color: var(--kse-brand);
  font-weight: 700;
  text-decoration: none;
}

.kse-testimonials-rating a:hover {
  text-decoration: underline;
}

.kse-testimonials-stars {
  color: #f5a623;
  letter-spacing: 1px;
  margin-right: 4px;
}

.kse-testimonial-stars {
  color: #f5a623;
  font-size: 0.82rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.kse-testimonials-wrap {
  position: relative;
  padding: 0 28px;
}

.kse-testimonials-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  container-type: inline-size;
}

.kse-testimonials-viewport::-webkit-scrollbar {
  display: none;
}

.kse-testimonials-track {
  display: flex;
  gap: 18px;
  width: max-content;
}

.kse-testimonial-card {
  flex: 0 0 calc((100cqw - 36px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--kse-line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(8, 36, 64, 0.06);
}

.kse-testimonial-card blockquote {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: #3d586f;
  line-height: 1.6;
  font-style: italic;
}

.kse-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kse-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--kse-brand), var(--kse-accent-green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.kse-testimonial-author strong {
  display: block;
  font-size: 0.92rem;
}

.kse-testimonial-author span {
  font-size: 0.8rem;
  color: var(--kse-muted);
}

.kse-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--kse-line);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(8, 36, 64, 0.1);
  z-index: 2;
}

.kse-carousel-btn--prev {
  left: 0;
}

.kse-carousel-btn--next {
  right: 0;
}

.kse-carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Final CTA */
.kse-final-cta {
  background: linear-gradient(160deg, var(--kse-navy) 0%, #0d2240 100%);
  padding: 64px 0;
  color: #e8f2ff;
}

.kse-final-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.kse-final-cta h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
}

.kse-final-cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.kse-final-cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(200, 224, 248, 0.85);
}

.kse-final-cta-feature .fa {
  color: var(--kse-accent-green);
}

.kse-btn-green {
  background: var(--kse-accent-green);
  color: #fff;
  border-color: var(--kse-accent-green);
  box-shadow: 0 10px 28px rgba(0, 200, 83, 0.35);
  padding: 16px 28px;
  font-size: 1rem;
  border-radius: 12px;
}

.kse-final-cta-note {
  margin-top: 10px;
  font-size: 0.82rem;
  color: rgba(180, 210, 240, 0.65);
  text-align: center;
}

/* Footer grid (home) */
.kse-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr) 1.2fr;
  gap: 28px;
}

.kse-footer-brand p {
  margin: 10px 0 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.kse-footer-social {
  display: flex;
  gap: 10px;
}

.kse-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}

.kse-footer-social a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.kse-footer-col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.kse-footer-col a {
  display: block;
  text-decoration: none;
  font-size: 0.84rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.kse-footer-col a:hover {
  color: #fff;
}

.kse-footer-app {
  text-align: center;
}

.kse-footer-qr {
  width: 88px;
  height: 88px;
  background: #fff;
  border-radius: 10px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #333;
}

.kse-footer-store-btns {
  display: grid;
  gap: 8px;
}

.kse-footer-store-btns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-size: 0.78rem;
  color: #fff;
}

.kse-footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.kse-footer-bottom .fa-heart {
  color: #e53935;
}

/* Responsive */
@media (max-width: 1120px) {
  .kse-hero-v2-grid,
  .kse-snapshot-grid,
  .kse-insights-grid,
  .kse-news-grid-v2,
  .kse-final-cta-grid {
    grid-template-columns: 1fr;
  }

  .kse-features-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .kse-testimonial-card {
    flex-basis: calc((100cqw - 18px) / 2);
  }

  .kse-index-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .kse-view-all-indices {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .kse-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kse-hero-widget-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body.kse-home-page .kse-nav {
    background: var(--kse-navy-mid);
    border-color: rgba(255, 255, 255, 0.12);
  }

  body.kse-home-page .kse-nav a {
    color: rgba(255, 255, 255, 0.9);
  }

  body.kse-home-page .kse-mobile-menu {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
  }

  .kse-hero-v2 {
    padding: 36px 0 56px;
  }

  .kse-features-row,
  .kse-index-strip-inner {
    grid-template-columns: 1fr;
  }

  .kse-testimonial-card {
    flex-basis: 100cqw;
  }

  .kse-testimonials-wrap {
    padding: 0 36px;
  }

  .kse-footer-grid {
    grid-template-columns: 1fr;
  }

  body.kse-home-page .kse-nav-dropdown > summary {
    color: #1b3a55;
  }
}
