/* ============================================================
   KEYSTONES KONSULTANT — Global Stylesheet
   Design System: Premium Corporate Dark
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:       #070c18;
  --surface:    #0e1628;
  --card:       #131f35;
  --border:     #1c2d47;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim:   #c9a84c22;
  --green:      #1ea85a;
  --green-dim:  #1ea85a22;
  --blue:       #2471b8;
  --blue-dim:   #2471b822;
  --text:       #cdd6e0;
  --muted:      #6b7f96;
  --white:      #ffffff;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-card: 12px;
  --radius-btn:  8px;
  --nav-h:       72px;
  --container:   1100px;
  --pad-section: 80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 15px; overflow-x: hidden; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.2;
}

h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
h2 { font-size: 32px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }
h5 { font-size: 13px; font-weight: 700; }

p { color: var(--text); font-size: 15px; line-height: 1.75; }

.text-gold   { color: var(--gold); }
.text-green  { color: var(--green); }
.text-blue   { color: var(--blue); }
.text-muted  { color: var(--muted); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.text-left   { text-align: left; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 36px;
}

.section-pad { padding: var(--pad-section) 0; }
.section-pad-sm { padding: 48px 0; }

.surface-bg { background: var(--surface); }
.navy-bg    { background: var(--navy); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo svg { width: 40px; height: 40px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .logo-main {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo-text .logo-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

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

.nav-cta {
  margin-left: 12px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--gold);
  background: var(--gold-dim);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--muted);
  background: rgba(255,255,255,0.04);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: #23c469;
  border-color: #23c469;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,168,90,0.3);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: #2d84d6;
  border-color: #2d84d6;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(36,113,184,0.3);
}

.btn-sm  { padding: 8px 18px; font-size: 13px; }
.btn-lg  { padding: 16px 36px; font-size: 15px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Pillar Cards */
.card-pillar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card-pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transition: height 0.3s;
}
.card-pillar.green::before { background: var(--green); }
.card-pillar.blue::before  { background: var(--blue); }
.card-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* Service Cards */
.card-service {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: all 0.25s;
}
.card-service:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

/* Stat Cards */
.card-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* Inline Stats Bar */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  flex-wrap: wrap;
}
.stats-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 40px;
  border-right: 1px solid var(--border);
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stats-bar-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Office Cards */
.card-office {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}
.card-office .office-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.card-office h3 { font-size: 18px; margin-bottom: 16px; }
.card-office .office-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text);
}
.card-office .office-detail i {
  color: var(--gold);
  width: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}
.card-office .office-detail a { color: var(--text); transition: color 0.2s; }
.card-office .office-detail a:hover { color: var(--gold); }

/* Testimonial Card */
.card-testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px 56px;
  text-align: center;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.card-testimonial .quote-icon {
  font-size: 64px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 8px;
  display: block;
}
.card-testimonial blockquote {
  font-size: 18px;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 24px;
}
.card-testimonial .testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}
.card-testimonial .testimonial-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge-gold  { background: var(--gold-dim); color: var(--gold); }
.badge-green { background: var(--green-dim); color: var(--green); }
.badge-blue  { background: var(--blue-dim); color: var(--blue); }
.badge-muted { background: rgba(255,255,255,0.06); color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.tag:hover, .tag.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.tag i { font-size: 13px; }

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   ICON BOXES (Why Choose / Value Props)
   ============================================================ */
.icon-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s;
}
.icon-box:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.icon-box .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.icon-box .icon-wrap i { font-size: 26px; color: var(--gold); }
.icon-box h3 { font-size: 16px; margin-bottom: 10px; }
.icon-box p  { font-size: 13px; color: var(--muted); }

.icon-box.green-accent .icon-wrap { background: var(--green-dim); }
.icon-box.green-accent .icon-wrap i { color: var(--green); }
.icon-box.blue-accent  .icon-wrap { background: var(--blue-dim); }
.icon-box.blue-accent  .icon-wrap i { color: var(--blue); }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  position: relative;
  transition: all 0.25s;
}
.process-step:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.process-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 15px; margin-bottom: 8px; }
.process-step p  { font-size: 13px; color: var(--muted); line-height: 1.6; }
.process-step .step-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 20px;
  color: var(--border);
}

/* ============================================================
   SECTION HEADERS (reusable)
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p  { font-size: 15px; color: var(--muted); }

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 { margin-bottom: 20px; }
.hero .hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero BG decoration */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(36,113,184,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Page Hero (non-home) */
.page-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: var(--muted); transition: color 0.2s; }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb i { font-size: 10px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.page-hero p  { font-size: 16px; color: var(--muted); max-width: 560px; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form-group label span { color: var(--gold); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7f96' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--card);
  color: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { margin-top: 8px; }
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.form-note i { color: var(--gold); margin-right: 4px; }

/* ============================================================
   3-PARTY MODEL (Renewable Energy)
   ============================================================ */
.model-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.model-node {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  text-align: center;
  min-width: 180px;
  transition: all 0.25s;
}
.model-node:hover { border-color: var(--gold); }
.model-node .model-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.model-node .model-icon i { font-size: 22px; color: var(--gold); }
.model-node h4 { font-size: 15px; margin-bottom: 6px; }
.model-node p  { font-size: 12px; color: var(--muted); }

.model-node.center-node {
  border-color: var(--gold);
  background: var(--gold-dim);
  transform: scale(1.05);
  z-index: 2;
}
.model-node.center-node .model-icon { background: var(--gold); }
.model-node.center-node .model-icon i { color: var(--navy); }
.model-node.center-node h4 { color: var(--gold); }

.model-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  color: var(--muted);
  font-size: 11px;
}
.model-arrow i { font-size: 24px; color: var(--gold); }

/* ============================================================
   TABS
   ============================================================ */
.tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  margin-bottom: -1px;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   SECTOR BLOCKS (sectors.html)
   ============================================================ */
.sector-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.sector-block::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
}
.sector-block-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.sector-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sector-icon i { font-size: 22px; color: var(--gold); }
.sector-block-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.sector-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
.sector-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid rgba(28,45,71,0.5);
}
.sector-col ul li:last-child { border-bottom: none; }
.sector-col ul li i {
  margin-top: 3px;
  font-size: 12px;
  flex-shrink: 0;
}
.sector-col ul li.pain i { color: #e05252; }
.sector-col ul li.help i { color: var(--green); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--surface) 0%, #0a1220 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p  { color: var(--muted); max-width: 520px; margin: 0 auto 32px; font-size: 15px; }
.cta-banner-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Cross-sell CTA */
.crosssell-cta {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.crosssell-cta .cta-text h3 { font-size: 20px; margin-bottom: 8px; }
.crosssell-cta .cta-text p  { font-size: 14px; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li a i { width: 14px; font-size: 12px; color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}
.footer-contact-item i {
  color: var(--gold);
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item a { color: var(--muted); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--muted); margin: 0; }
.footer-bottom a { color: var(--muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   MAPS PLACEHOLDER
   ============================================================ */
.map-placeholder {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-card);
}

/* ============================================================
   SOCIAL ICONS ROW
   ============================================================ */
.social-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s;
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.social-link i { font-size: 16px; }

/* ============================================================
   VISION / MISSION / VALUES
   ============================================================ */
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.25s;
}
.value-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.value-card .value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-card .value-icon i { font-size: 20px; color: var(--gold); }
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thankyou-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}
.thankyou-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(30,168,90,0.15);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.thankyou-icon i { font-size: 36px; color: var(--green); }

.next-steps {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}
.next-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  text-align: center;
  max-width: 220px;
}
.next-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--font-head);
}
.next-step h4 { font-size: 14px; margin-bottom: 6px; }
.next-step p  { font-size: 12px; color: var(--muted); }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}
.error-code {
  font-family: var(--font-head);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  opacity: 0.4;
  margin-bottom: 8px;
}
.error-nav-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============================================================
   UTILITY: SECTION DIVIDER GRADIENT
   ============================================================ */
.gradient-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — 1024px (Tablets Landscape)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --pad-section: 64px; }

  .container { padding: 0 24px; }

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

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

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

  .sector-block-body { grid-template-columns: 1fr; gap: 20px; }

  .stats-bar-item { padding: 10px 24px; }
}

/* ============================================================
   RESPONSIVE — 768px (Tablets Portrait)
   ============================================================ */
@media (max-width: 768px) {
  :root { --pad-section: 52px; }

  .container { padding: 0 20px; }

  h2 { font-size: 26px; }
  h3 { font-size: 18px; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: 1; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Hero */
  .hero { min-height: auto; padding-top: var(--nav-h); }
  .hero-inner { padding: 60px 0; }
  .hero .hero-sub { font-size: 15px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; }

  /* Pillar cards */
  .card-pillar { padding: 28px 24px; }

  /* Model diagram */
  .model-diagram { flex-direction: column; }
  .model-arrow { flex-direction: row; transform: none; }
  .model-arrow i { transform: rotate(90deg); }

  /* Testimonial */
  .card-testimonial { padding: 32px 24px; }
  .card-testimonial blockquote { font-size: 15px; }

  /* Stats bar */
  .stats-bar { gap: 0; }
  .stats-bar-item { padding: 12px 16px; border-right: none; border-bottom: 1px solid var(--border); width: 50%; }
  .stats-bar-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stats-bar-item:last-child { border-bottom: none; }

  /* CTA Banner */
  .cta-banner-btns { flex-direction: column; align-items: center; }

  /* Cross-sell */
  .crosssell-cta { flex-direction: column; text-align: center; }

  /* Tabs */
  .tab-nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }

  /* Sectors */
  .sector-block { padding: 28px 24px; }
}

/* ============================================================
   RESPONSIVE — 480px (Large Phones)
   ============================================================ */
@media (max-width: 480px) {
  :root { --pad-section: 40px; }

  h2 { font-size: 22px; }

  .stats-bar-item { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .stats-bar-item:last-child { border-bottom: none; }

  .btn { padding: 11px 22px; font-size: 13px; }
  .btn-lg { padding: 13px 28px; font-size: 14px; }

  .card-testimonial { padding: 28px 20px; }

  .form-wrap { padding: 24px 20px; }

  .next-steps { flex-direction: column; align-items: center; }

  .section-header { margin-bottom: 32px; }
}

/* ============================================================
   RESPONSIVE — 320px (Small Phones)
   ============================================================ */
@media (max-width: 320px) {
  .container { padding: 0 14px; }
  h1 { font-size: 28px; }
  h2 { font-size: 20px; }
  .nav-logo .logo-text .logo-main { font-size: 13px; }
}
