/* =====================================================
   GULF SALARY REALITY  —  style.css  v2.0
   Premium Financial Tool UI  |  2026 Edition
   Mobile-first · Trust-forward · SEO-clean
   ===================================================== */

/* ─── DESIGN TOKENS ─── */
:root {
  --blue-900:  #0f2952;
  --blue-800:  #1a3f7a;
  --blue-700:  #1d4ed8;
  --blue-600:  #2563eb;
  --blue-500:  #3b82f6;
  --blue-100:  #dbeafe;
  --blue-50:   #eff6ff;

  --teal-500:  #0ea5e9;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --red-500:   #ef4444;
  --red-100:   #fee2e2;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8faff;
  --white:     #ffffff;

  --primary:       var(--blue-600);
  --primary-dark:  var(--blue-700);
  --primary-light: var(--blue-50);

  --text:        var(--slate-900);
  --text-muted:  var(--slate-500);
  --text-light:  var(--slate-400);
  --border:      var(--slate-200);
  --bg:          var(--slate-50);

  --shadow-sm: 0 1px 4px rgba(15,41,82,.06);
  --shadow:    0 2px 12px rgba(15,41,82,.09);
  --shadow-lg: 0 8px 32px rgba(15,41,82,.13);
  --shadow-xl: 0 20px 60px rgba(15,41,82,.15);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'Space Grotesk', monospace;

  --transition: 0.2s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.4s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); text-decoration: underline; }
ul { list-style: none; }
button { font-family: var(--font-body); }

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── CARD ─── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--blue-100);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
  text-decoration: none;
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--blue-50);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1da851; color: var(--white); text-decoration: none; transform: translateY(-1px); }
.btn-facebook { background: #1877F2; color: var(--white); }
.btn-facebook:hover { background: #1260c9; color: var(--white); text-decoration: none; }
.btn-copy { background: var(--slate-800); color: var(--white); }
.btn-copy:hover { background: var(--slate-900); text-decoration: none; color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: var(--radius); }
.btn-full { width: 100%; margin-top: 10px; }

/* ─── HEADER / NAV ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.logo-icon { font-size: 1.6rem; }
.logo-text {
  font-size: 1.22rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -.02em;
}
.logo-text strong { color: var(--primary); }
.logo-white .logo-text { color: var(--white); }
.logo-white .logo-text strong { color: #93c5fd; }

.nav-links { display: none; gap: 4px; align-items: center; }
.nav-link {
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  font-size: .88rem;
  transition: all var(--transition);
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
  background: var(--blue-50);
  color: var(--primary);
  text-decoration: none;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 14px 20px 22px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 72px 0 68px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #eef6ff 0%, #f0f9ff 45%, #ecfdf5 100%);
  z-index: -1;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.1) 0%, transparent 70%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.07) 0%, transparent 70%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-size: .82rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -.025em;
}
.highlight {
  background: linear-gradient(135deg, var(--blue-600), #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.stat-pill {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--white);
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.trust-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-mono);
  line-height: 1;
}
.trust-label {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ─── EEAT RIBBON ─── */
.eeat-ribbon {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
  padding: 20px 0;
  border-top: 3px solid var(--blue-500);
}
.eeat-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  justify-content: center;
  align-items: center;
}
.eeat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 600;
}
.eeat-item a { color: #93c5fd; }
.eeat-item a:hover { color: var(--white); }
.eeat-icon { font-size: 1rem; }

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; margin-bottom: 40px; }
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.section-sub { color: var(--text-muted); font-size: 1rem; max-width: 520px; margin: 0 auto; }

/* ─── CALCULATOR ─── */
.calculator-section { padding: 72px 0; }
.calc-wrapper { display: grid; grid-template-columns: 1fr; gap: 28px; }

/* FORM ELEMENTS */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
select.form-control {
  cursor: pointer;
  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 d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.input-with-badge { position: relative; }
.input-with-badge .form-control { padding-right: 72px; }
.currency-badge {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--blue-50);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 6px;
  font-family: var(--font-mono);
  letter-spacing: .04em;
}
.form-hint {
  display: block;
  font-size: .76rem;
  color: var(--text-light);
  margin-top: 5px;
  min-height: 1.2em;
  transition: color var(--transition);
}

/* RADIO CARDS */
.radio-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.radio-group--2 { grid-template-columns: repeat(2, 1fr); }
.radio-card { cursor: pointer; position: relative; }
.radio-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.radio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  transition: all var(--transition);
  text-align: center;
  user-select: none;
}
.radio-content:hover { border-color: var(--blue-300, #93c5fd); background: var(--blue-50); }
.radio-card input:checked + .radio-content {
  border-color: var(--primary);
  background: var(--blue-50);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.radio-icon { font-size: 1.3rem; margin-bottom: 5px; }
.radio-text { font-size: .8rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.radio-desc { font-size: .7rem; color: var(--text-light); margin-top: 2px; }

/* CALC ERROR */
#calcError {
  display: none;
  background: var(--red-100);
  color: #b91c1c;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* GOSI NOTE */
#gosiNote {
  display: none;
  background: var(--blue-50);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  font-size: .82rem;
  color: var(--slate-700);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ─── RESULTS PANEL ─── */
.calc-results { display: flex; flex-direction: column; gap: 20px; }
@keyframes fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
.calc-results { animation: fadeUp .35s ease; }

/* SCORE CARD */
.score-card { overflow: hidden; }
.score-card.score-green { border-color: var(--green-500); border-width: 2px; }
.score-card.score-yellow { border-color: var(--amber-500); border-width: 2px; }
.score-card.score-red { border-color: var(--red-500); border-width: 2px; }
.score-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.score-emoji { font-size: 3rem; line-height: 1; }
.score-title { font-size: 1.3rem; font-weight: 800; line-height: 1.2; color: var(--text); }
.score-subtitle { color: var(--text-muted); font-size: .9rem; margin-top: 5px; line-height: 1.5; }
.score-meter { height: 10px; background: var(--slate-100); border-radius: 100px; overflow: hidden; margin-bottom: 7px; }
.score-bar { height: 100%; border-radius: 100px; width: 0%; transition: width 1.1s cubic-bezier(.4,0,.2,1); }
.score-labels { display: flex; justify-content: space-between; font-size: .7rem; color: var(--text-light); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* BREAKDOWN */
.breakdown-row { display: flex; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--slate-100); gap: 12px; }
.breakdown-label { display: flex; align-items: center; gap: 7px; font-size: .88rem; color: var(--text-muted); flex: 1; font-weight: 500; }
.breakdown-bar-wrap { flex: 1.2; height: 6px; background: var(--slate-100); border-radius: 100px; overflow: hidden; display: none; }
.breakdown-bar-fill { height: 100%; border-radius: 100px; background: var(--primary); transition: width .9s cubic-bezier(.4,0,.2,1); }
.breakdown-amount { font-size: .94rem; font-weight: 800; color: var(--text); text-align: right; min-width: 100px; font-family: var(--font-mono); }
.breakdown-total { border-top: 2px solid var(--border); padding-top: 16px; margin-top: 4px; }
.total-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-weight: 600; font-size: .95rem; }
.savings-row { font-size: 1.15rem; font-weight: 900; margin-top: 4px; }
.total-val { font-family: var(--font-mono); font-weight: 900; font-size: 1.08rem; }
.red-val { color: var(--red-500); }
.green-val { color: var(--green-500); }

/* USD EQUIVALENT */
#usdEquivalent {
  display: block;
  font-size: .8rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 4px;
  font-family: var(--font-mono);
}

/* COMPARISON BARS */
.compare-bars { display: flex; flex-direction: column; gap: 14px; }
.compare-bar-item {}
.compare-bar-label { display: flex; justify-content: space-between; font-size: .84rem; margin-bottom: 5px; font-weight: 600; color: var(--slate-700); }
.compare-bar-track { height: 9px; background: var(--slate-100); border-radius: 100px; overflow: hidden; }
.compare-bar-fill { height: 100%; border-radius: 100px; width: 0%; transition: width 1s cubic-bezier(.4,0,.2,1); }
.fill-primary { background: var(--primary); }
.fill-accent  { background: var(--green-500); }
.fill-warning { background: var(--amber-500); }

/* PROJECTION */
.projection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.projection-item { background: var(--slate-50); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 12px; text-align: center; transition: var(--transition); }
.projection-item:hover { background: var(--blue-50); border-color: var(--blue-100); }
.projection-period { font-size: .74rem; color: var(--text-light); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; }
.projection-amount { font-size: 1rem; font-weight: 900; color: var(--primary); font-family: var(--font-mono); }

/* WARNING BOXES */
.warning-box { border-radius: var(--radius); padding: 18px 20px; border: 2px solid; }
.warning-red   { background: var(--red-100);   border-color: var(--red-500);   color: #991b1b; }
.warning-yellow { background: var(--amber-100); border-color: var(--amber-500); color: #92400e; }
.warning-box h4 { font-size: 1rem; margin-bottom: 7px; font-weight: 800; }
.warning-box p  { font-size: .88rem; line-height: 1.6; }

/* SHARE */
.share-desc { font-size: .86rem; color: var(--text-muted); margin-bottom: 14px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* ─── COMPARE TABLE ─── */
.compare-section { padding: 72px 0; background: var(--white); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 700px; }
.compare-table th {
  background: var(--blue-900);
  color: var(--white);
  padding: 15px 18px;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--slate-700); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: var(--blue-50); }
.row-highlight td { background: #f0f7ff; }
.flag { font-size: 1.1rem; margin-right: 5px; }
.tag { display: inline-block; padding: 4px 11px; border-radius: 100px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.tag-green  { background: var(--green-100); color: #15803d; }
.tag-yellow { background: var(--amber-100); color: #b45309; }
.tag-blue   { background: var(--blue-100);  color: var(--blue-700); }
.table-note { margin-top: 14px; font-size: .78rem; color: var(--text-light); text-align: center; font-style: italic; }

/* ─── HOW IT WORKS ─── */
.how-section { padding: 72px 0; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.step-card { padding: 36px 28px; text-align: center; border-top: 4px solid var(--primary); }
.step-num { font-size: 3.2rem; font-weight: 900; color: var(--blue-100); font-family: var(--font-mono); line-height: 1; margin-bottom: 10px; }
.step-icon { font-size: 2.2rem; margin-bottom: 14px; }
.step-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: .92rem; line-height: 1.6; }

/* ─── BLOG ─── */
.blog-section { padding: 72px 0; background: var(--white); }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.blog-card { transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.blog-tag { display: inline-block; background: var(--blue-50); color: var(--primary); font-size: .72rem; font-weight: 800; padding: 4px 11px; border-radius: 100px; margin-bottom: 11px; text-transform: uppercase; letter-spacing: .06em; }
.blog-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 11px; line-height: 1.4; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); text-decoration: none; }
.blog-card p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; margin-bottom: 14px; }
.blog-meta { display: flex; gap: 14px; font-size: .76rem; color: var(--text-light); margin-bottom: 13px; font-weight: 600; }
.read-more { font-size: .86rem; font-weight: 800; color: var(--primary); }
.read-more:hover { text-decoration: underline; }
.blog-cta { text-align: center; margin-top: 36px; }

/* ─── FAQ ─── */
.faq-section { padding: 72px 0; }
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--transition); }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--slate-50); }
.faq-icon { font-size: 1.4rem; color: var(--primary); flex-shrink: 0; transition: transform var(--transition); font-weight: 300; }
.faq-answer { display: none; padding: 0 22px 18px; }
.faq-answer p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.faq-answer.open { display: block; }
.faq-question.open .faq-icon { transform: rotate(45deg); }

/* ─── CTA SECTION ─── */
.contact-cta-section { padding: 72px 0; background: var(--white); }
.cta-box {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-900) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-box h2 { font-size: 2rem; font-weight: 900; margin-bottom: 14px; letter-spacing: -.02em; }
.cta-box p { opacity: .85; font-size: 1.02rem; margin-bottom: 30px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-box .btn-primary { background: var(--white); color: var(--primary); box-shadow: 0 4px 18px rgba(0,0,0,.2); }
.cta-box .btn-primary:hover { background: #f0f7ff; transform: translateY(-2px); color: var(--primary-dark); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 44px; }
.footer-brand p { font-size: .86rem; line-height: 1.7; margin-top: 14px; max-width: 290px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-col h4 { color: var(--white); font-size: .82rem; font-weight: 800; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .07em; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: var(--slate-400); font-size: .86rem; transition: color var(--transition); text-decoration: none; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 26px; text-align: center; }
.footer-bottom p { font-size: .8rem; line-height: 1.7; }
.footer-disclaimer { color: rgba(255,255,255,.28); margin-top: 7px; font-size: .76rem; }

/* ─── BLOG PAGE ─── */
.blog-hero { background: linear-gradient(135deg, var(--blue-50), #ecfdf5); padding: 56px 0 44px; text-align: center; }
.blog-listing { padding: 56px 0; }
.blog-listing-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

/* ─── ARTICLE PAGE ─── */
.article-header { background: linear-gradient(135deg, var(--blue-50), #f0fdf4); padding: 56px 0 44px; }
.article-category { display: inline-block; background: var(--blue-50); color: var(--primary); font-size: .76rem; font-weight: 800; padding: 5px 15px; border-radius: 100px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.article-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; line-height: 1.2; color: var(--text); margin-bottom: 18px; letter-spacing: -.02em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: .83rem; color: var(--text-muted); font-weight: 600; }
.article-eeat { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-sm); padding: 12px 18px; margin-top: 18px; font-size: .8rem; color: var(--blue-700); font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-body { padding: 56px 0; max-width: 740px; margin: 0 auto; }
.article-body h2 { font-size: 1.5rem; font-weight: 900; margin: 40px 0 16px; color: var(--text); letter-spacing: -.02em; }
.article-body h3 { font-size: 1.18rem; font-weight: 800; margin: 28px 0 12px; color: var(--text); }
.article-body p { font-size: .97rem; line-height: 1.8; color: #374151; margin-bottom: 18px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 18px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { font-size: .97rem; line-height: 1.75; color: #374151; margin-bottom: 7px; }
.article-body strong { color: var(--text); font-weight: 800; }
.info-box { background: var(--blue-50); border-left: 4px solid var(--primary); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; }
.info-box p { margin: 0; font-size: .92rem; color: var(--blue-800); }
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .88rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table th { background: var(--blue-900); color: var(--white); padding: 13px 16px; text-align: left; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--slate-700); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--slate-50); }

/* ─── STATIC PAGES ─── */
.page-hero { background: linear-gradient(135deg, var(--blue-50), #f0fdf4); padding: 56px 0 40px; }
.page-content { padding: 56px 0; max-width: 740px; margin: 0 auto; }
.page-content h2 { font-size: 1.35rem; font-weight: 800; margin: 36px 0 12px; color: var(--text); }
.page-content p { font-size: .95rem; line-height: 1.8; color: #374151; margin-bottom: 16px; }
.page-content ul { padding-left: 22px; list-style: disc; margin-bottom: 16px; }
.page-content li { font-size: .95rem; line-height: 1.75; color: #374151; margin-bottom: 5px; }

/* ─── CONTACT PAGE ─── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
.contact-form .form-group { margin-bottom: 20px; }
textarea.form-control { min-height: 130px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: var(--transition); }
.contact-item:hover { box-shadow: var(--shadow); }
.contact-item-icon { font-size: 1.6rem; }
.contact-item h4 { font-size: .94rem; font-weight: 800; margin-bottom: 5px; }
.contact-item p, .contact-item a { font-size: .86rem; color: var(--text-muted); line-height: 1.5; }
.contact-item a { color: var(--primary); font-weight: 600; }

/* ─── RESPONSIVE ─── */
@media (min-width: 560px) {
  .projection-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid, .blog-listing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .breakdown-bar-wrap { display: block; }
}
@media (min-width: 800px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .calc-wrapper { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1.6fr 1fr; }
}
@media (min-width: 1000px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid .blog-card:first-child { grid-column: span 2; }
}

/* ─── UTILITIES ─── */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.hero-title { animation: fadeInUp .5s ease both; }
.hero-sub   { animation: fadeInUp .5s ease .1s both; }
.hero-cta   { animation: fadeInUp .5s ease .22s both; }
