/* NovaEnergie S.A. — Professional Energy Company */

:root {
  --primary: #1a237e;
  --primary-dark: #0d1461;
  --primary-mid: #0d47a1;
  --primary-light: #1565c0;
  --primary-bg: #e8eaf6;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --success: #16a34a;
  --success-bg: #dcfce7;
  --danger: #dc2626;
  --danger-bg: #fee2e2;
  --warning: #f59e0b;
  --warning-bg: #fef3c7;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --bg-dark2: #1e293b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  line-height: 1.6;
}

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

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.25; color: var(--text-primary); }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-secondary); line-height: 1.7; }

/* ============ CONTAINER ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.25rem; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 1.25rem; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.65rem 1.4rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; transition: all 0.2s;
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: white; box-shadow: 0 4px 14px rgba(26,35,126,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,35,126,0.4); }

.btn-outline {
  background: transparent; color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

.btn-outline-dark {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: white; }

.btn-white {
  background: white; color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white; box-shadow: 0 4px 14px rgba(245,158,11,0.3);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,0.4); }

.btn-ghost { color: var(--text-secondary); }
.btn-ghost:hover { color: var(--primary); background: var(--primary-bg); }

/* ============ SECTION HEADERS ============ */
.section-tag {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  background: var(--primary-bg); color: var(--primary);
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 1rem;
}
.section-title { margin-bottom: 0.75rem; }
.section-desc { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; }
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ============ HEADER / NAV ============ */
.site-header {
  background: linear-gradient(135deg, #0d1461 0%, #1a237e 50%, #0d47a1 100%);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
  height: 68px; gap: 1rem;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0; text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
}
.logo-icon svg { width: 26px; height: 26px; }
.logo-text { color: white; }
.logo-text h1 { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.3px; color: #fff; }
.logo-text span { font-size: 0.65rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 1.5px; }

.nav-menu {
  display: flex; align-items: center; gap: 0.15rem;
  flex: 1; justify-content: center;
}
.nav-link {
  color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 500;
  padding: 0.5rem 0.85rem; border-radius: var(--radius-sm);
  transition: all 0.2s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: white; background: rgba(255,255,255,0.12);
}

.nav-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.mobile-toggle {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; width: 40px; height: 40px;
  background: rgba(255,255,255,0.1); border-radius: 8px;
  cursor: pointer; gap: 5px;
}
.mobile-toggle span {
  display: block; width: 20px; height: 2px;
  background: white; border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none; background: #0d1461;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; color: rgba(255,255,255,0.85);
  padding: 0.85rem 1.5rem; font-size: 0.95rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: white; background: rgba(255,255,255,0.08); }
.mobile-menu .mobile-btns { padding: 1rem 1.5rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ============ INFO BAR ============ */
.info-bar {
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.info-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 6px 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.info-bar-item {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.7); font-size: 0.78rem;
}
.info-bar-item svg { opacity: 0.7; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #0d1461 0%, #1a237e 40%, #0d47a1 75%, #01579b 100%);
  padding: 5rem 1.25rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1200px; margin: 0 auto; position: relative;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  color: white; font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 1.5rem; letter-spacing: 0.5px;
}
.hero h1 { color: white; margin-bottom: 1.25rem; font-size: clamp(2rem, 4vw, 3rem); }
.hero h1 span { color: #fbbf24; }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-top: 2.5rem;
}
.hero-stat {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 1rem 1.25rem; backdrop-filter: blur(10px);
}
.hero-stat .number { font-size: 1.6rem; font-weight: 800; color: white; }
.hero-stat .label { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 2px; }

.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.hero-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-xl);
  padding: 2rem; width: 100%; max-width: 380px;
}
.hero-card-title { color: white; font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.hero-card-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
}
.hero-card-row:last-child { border-bottom: none; }
.hero-card-row .label { color: rgba(255,255,255,0.6); }
.hero-card-row .value { color: white; font-weight: 600; }
.hero-card-row .value.green { color: #4ade80; }
.hero-card-row .value.amber { color: #fbbf24; }

/* ============ ALERT BANNER ============ */
.alert-band {
  padding: 14px 1.25rem;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 0.88rem; font-weight: 500;
}
.alert-band.red { background: linear-gradient(135deg, #dc2626, #b91c1c); color: white; }
.alert-band.green { background: linear-gradient(135deg, #16a34a, #15803d); color: white; }
.alert-band.blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white; }
.alert-band a { color: white; text-decoration: underline; }

/* ============ SECTIONS ============ */
.section { padding: 5rem 1.25rem; }
.section-sm { padding: 3rem 1.25rem; }
.section-lg { padding: 7rem 1.25rem; }
.section.bg-white { background: white; }
.section.bg-light { background: var(--bg); }
.section.bg-primary {
  background: linear-gradient(135deg, #0d1461 0%, #1a237e 50%, #0d47a1 100%);
  color: white;
}
.section.bg-primary h2, .section.bg-primary h3 { color: white; }
.section.bg-primary p { color: rgba(255,255,255,0.75); }
.section.bg-dark { background: var(--bg-dark); color: white; }

/* ============ CARDS ============ */
.card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-sm); transition: all 0.3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }

.card-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon.blue { background: var(--primary-bg); color: var(--primary); }
.card-icon.green { background: var(--success-bg); color: var(--success); }
.card-icon.amber { background: var(--warning-bg); color: var(--warning); }
.card-icon.red { background: var(--danger-bg); color: var(--danger); }
.card-icon.purple { background: #f3e8ff; color: #7c3aed; }
.card-icon.teal { background: #ccfbf1; color: #0d9488; }

.card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.card p { font-size: 0.9rem; line-height: 1.65; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 0.88rem; font-weight: 600;
  margin-top: 1rem; transition: gap 0.2s;
}
.card .card-link:hover { gap: 10px; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ============ STATS BAR ============ */
.stats-bar {
  background: white; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin: -2rem auto 0; position: relative;
  max-width: 1100px;
}
.stat-item { text-align: center; padding: 1rem; }
.stat-item .stat-num {
  font-size: 2rem; font-weight: 800; color: var(--primary);
  line-height: 1; margin-bottom: 0.5rem;
}
.stat-item .stat-label { font-size: 0.85rem; color: var(--text-secondary); }
.stat-item + .stat-item { border-left: 1px solid var(--border); }

/* ============ SERVICE CARDS ============ */
.service-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: all 0.3s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--primary); }
.service-card-top {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  padding: 2rem; position: relative; overflow: hidden;
}
.service-card-top::after {
  content: ''; position: absolute; bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.06); border-radius: 50%;
}
.service-card-top .icon {
  width: 52px; height: 52px; background: rgba(255,255,255,0.15);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: white;
}
.service-card-top h3 { color: white; font-size: 1.1rem; }
.service-card-body { padding: 1.5rem; }
.service-card-body p { font-size: 0.9rem; margin-bottom: 1rem; }
.service-feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-secondary);
  padding: 0.4rem 0;
}
.service-feature svg { color: var(--success); flex-shrink: 0; }

/* ============ TARIFF TABLES ============ */
.tariff-table {
  width: 100%; border-collapse: collapse;
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.tariff-table thead { background: linear-gradient(135deg, var(--primary), var(--primary-mid)); }
.tariff-table thead th {
  color: white; padding: 1rem 1.25rem;
  text-align: left; font-weight: 600; font-size: 0.9rem;
}
.tariff-table tbody tr { border-bottom: 1px solid var(--border-light); transition: background 0.15s; }
.tariff-table tbody tr:hover { background: var(--bg); }
.tariff-table tbody td { padding: 1rem 1.25rem; font-size: 0.9rem; }
.tariff-table .price { font-weight: 700; color: var(--primary); }
.tariff-table .popular { background: #fef3c7; }

.tariff-card {
  background: white; border: 2px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem;
  text-align: center; transition: all 0.3s; position: relative;
}
.tariff-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(26,35,126,0.15);
}
.tariff-card-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: white; font-size: 0.75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap;
}
.tariff-price {
  font-size: 3rem; font-weight: 800; color: var(--primary);
  line-height: 1; margin: 1rem 0 0.25rem;
}
.tariff-price sup { font-size: 1.2rem; vertical-align: super; }
.tariff-price sub { font-size: 1rem; color: var(--text-secondary); font-weight: 500; }
.tariff-features { text-align: left; margin: 1.5rem 0; }
.tariff-feature {
  display: flex; align-items: center; gap: 10px;
  padding: 0.5rem 0; font-size: 0.9rem; color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}
.tariff-feature:last-child { border-bottom: none; }
.tariff-feature svg { color: var(--success); flex-shrink: 0; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 0.88rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 0.45rem;
}
.form-label span { color: var(--danger); }
.form-control {
  width: 100%; padding: 0.75rem 1rem;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; font-family: var(--font);
  transition: all 0.2s; background: white; color: var(--text-primary);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,35,126,0.08); }
.form-control::placeholder { color: var(--text-muted); }
.form-control.error { border-color: var(--danger); }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 0.35rem; display: none; }
.form-control.error + .form-error { display: block; }

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-card {
  background: white; border-radius: var(--radius-xl);
  padding: 2rem; box-shadow: var(--shadow);
}

/* ============ ACCORDION (FAQ) ============ */
.accordion-item {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 0.75rem;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%; padding: 1.1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 0.95rem; color: var(--text-primary);
  cursor: pointer; background: none; border: none;
  text-align: left; gap: 1rem;
  transition: background 0.2s;
}
.accordion-trigger:hover { background: var(--bg); }
.accordion-trigger .acc-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.3s, background 0.2s;
}
.accordion-trigger.active .acc-icon {
  transform: rotate(45deg); background: var(--primary); color: white;
}
.accordion-body {
  display: none; padding: 0 1.25rem 1.25rem;
}
.accordion-body.open { display: block; }
.accordion-body p { font-size: 0.92rem; line-height: 1.75; }

/* ============ NEWS CARDS ============ */
.news-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: all 0.3s;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-card-img {
  height: 200px; background: linear-gradient(135deg, var(--primary-bg), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.news-card-img .news-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: white;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 4px 10px; border-radius: 20px;
}
.news-card-body { padding: 1.25rem; }
.news-card-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.75rem;
}
.news-card h3 { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.4; }
.news-card p { font-size: 0.88rem; line-height: 1.6; }
.news-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 0.85rem; font-weight: 600;
  margin-top: 0.85rem; transition: gap 0.2s;
}
.news-read-more:hover { gap: 10px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-dark); color: white; }
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding: 4rem 1.25rem 3rem;
  max-width: 1200px; margin: 0 auto;
}
.footer-brand .logo-text h1 { font-size: 1.4rem; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin: 1rem 0 1.5rem; line-height: 1.7; }
.footer-col h4 { color: white; font-size: 0.9rem; margin-bottom: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: rgba(255,255,255,0.55); font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,0.55); font-size: 0.88rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 1.25rem;
}
.footer-bottom-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); font-size: 0.8rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }
.footer-certif {
  display: flex; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap;
}
.certif-badge {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 6px 12px;
  color: rgba(255,255,255,0.6); font-size: 0.78rem; font-weight: 600;
}
.social-links { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: all 0.2s;
}
.social-link:hover { background: rgba(255,255,255,0.15); color: white; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: linear-gradient(135deg, #0d1461 0%, #1a237e 50%, #0d47a1 100%);
  padding: 4rem 1.25rem 3rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  color: white; font-size: 0.78rem; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.page-hero h1 { color: white; font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
  margin-top: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { opacity: 0.4; }

/* ============ TRUST BADGES ============ */
.trust-bar {
  background: white; border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
}
.trust-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-secondary); font-weight: 500;
}
.trust-item svg { color: var(--success); }

/* ============ PROCESS STEPS ============ */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; position: relative;
}
.step-card {
  text-align: center; padding: 1.5rem 1rem;
  position: relative;
}
.step-num {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem; font-weight: 800;
  margin: 0 auto 1.25rem; position: relative; z-index: 1;
}
.step-card:not(:last-child)::after {
  content: ''; position: absolute;
  top: 26px; left: 60%; width: 40%; height: 2px;
  background: var(--border); z-index: 0;
}
.step-card h4 { margin-bottom: 0.5rem; }
.step-card p { font-size: 0.85rem; }

/* ============ TESTIMONIALS ============ */
.testimonial-card {
  background: white; border-radius: var(--radius-lg);
  padding: 1.75rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: var(--accent); font-size: 1rem; margin-bottom: 0.75rem; }
.testimonial-text { font-size: 0.92rem; line-height: 1.75; color: var(--text-secondary); margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-bg), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--primary); font-size: 0.9rem;
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-loc { font-size: 0.78rem; color: var(--text-muted); }

/* ============ CONTACT ============ */
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; background: white; border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 1rem;
}
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-content h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.contact-info-content p { font-size: 0.88rem; }
.contact-info-content a { color: var(--primary); font-weight: 500; }

/* ============ ALERT / NOTICE ============ */
.notice {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 1rem 1.25rem; border-radius: var(--radius);
  font-size: 0.9rem; margin-bottom: 1.25rem;
}
.notice.blue { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.notice.green { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.notice.amber { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.notice.red { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.notice svg { flex-shrink: 0; margin-top: 1px; }

/* ============ TABS ============ */
.tabs { display: flex; gap: 0.25rem; border-bottom: 2px solid var(--border); margin-bottom: 2rem; }
.tab-btn {
  padding: 0.7rem 1.25rem; font-weight: 600; font-size: 0.9rem;
  color: var(--text-secondary); border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: all 0.2s; position: relative; cursor: pointer;
}
.tab-btn:hover { color: var(--primary); background: var(--primary-bg); }
.tab-btn.active { color: var(--primary); }
.tab-btn.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--primary);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============ MAP PLACEHOLDER ============ */
.map-placeholder {
  background: linear-gradient(135deg, #e8eaf6, #dbeafe);
  border-radius: var(--radius-lg); height: 350px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; border: 1px solid var(--border);
}
.map-placeholder svg { opacity: 0.4; }
.map-placeholder p { color: var(--text-muted); font-size: 0.9rem; }

/* ============ PAYMENT PAGE ============ */
.payment-steps {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 2rem; background: white;
  border-radius: var(--radius-lg); padding: 1.25rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.payment-step {
  flex: 1; text-align: center; position: relative;
}
.payment-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--border); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; margin: 0 auto 0.5rem;
  transition: all 0.3s;
}
.payment-step.active .payment-step-num { background: var(--primary); color: white; }
.payment-step.done .payment-step-num { background: var(--success); color: white; }
.payment-step-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.payment-step.active .payment-step-label { color: var(--primary); font-weight: 600; }
.payment-step:not(:last-child)::after {
  content: ''; position: absolute;
  top: 18px; left: 60%; width: 40%; height: 2px; background: var(--border);
}

/* ============ BADGE / CHIP ============ */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px;
}
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-purple { background: #f3e8ff; color: #6d28d9; }

/* ============ DIVIDER ============ */
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }

/* ============ ACCOUNT / LOGIN ============ */
.auth-wrapper {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
}
.auth-side {
  background: linear-gradient(135deg, #0d1461 0%, #1a237e 50%, #0d47a1 100%);
  padding: 3rem; display: flex; flex-direction: column;
  justify-content: center; position: relative; overflow: hidden;
}
.auth-side::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.auth-form-side { background: white; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.auth-form-wrap { max-width: 420px; width: 100%; margin: 0 auto; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat-item:nth-child(2n+1) { border-left: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-grid { gap: 2.5rem; }
  .auth-wrapper { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid .step-card::after { display: none; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions { display: none; }
  .mobile-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.25rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin: -1.5rem 1rem 0; }
  .trust-bar-inner { gap: 1rem; }
  .payment-steps { overflow-x: auto; }
}

@media (max-width: 480px) {
  .section, .section-lg { padding: 3rem 1rem; }
  .hero { padding: 3rem 1rem 5rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stats-bar .stat-item { padding: 0.75rem; }
  .stats-bar .stat-item + .stat-item { border-left: none; }
  .stats-bar .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
}

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary-color { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.mt-auto { margin-top: auto; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.items-center { align-items: center; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.w-full { width: 100%; }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-in { animation: fadeInUp 0.5s ease forwards; }
.spinner { animation: spin 0.8s linear infinite; }

/* ============================================================
   EXTENDED COMPONENTS & POLISH (v2)
   ============================================================ */

/* ---- Global niceties ---- */
::selection { background: var(--primary); color: #fff; }
html { scroll-padding-top: 96px; }
:focus-visible { outline: 3px solid rgba(26,35,126,0.45); outline-offset: 2px; border-radius: 4px; }
@media (min-width: 769px) {
  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track { background: #eef1f8; }
  ::-webkit-scrollbar-thumb { background: #c3cae0; border-radius: 10px; border: 3px solid #eef1f8; }
  ::-webkit-scrollbar-thumb:hover { background: #9aa4c6; }
}

/* ---- Gradient text ---- */
.text-gradient {
  background: linear-gradient(120deg, #fbbf24, #fcd34d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-gradient-blue {
  background: linear-gradient(120deg, var(--primary), #42a5f5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Buttons (extra) ---- */
.btn-green {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff; box-shadow: 0 4px 14px rgba(22,163,74,0.3);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(22,163,74,0.4); }
.btn-block { width: 100%; justify-content: center; }
.btn .badge-soft { background: rgba(255,255,255,0.2); padding: 1px 8px; border-radius: 20px; font-size: 0.72rem; }

/* ---- Illustration media panels ---- */
.media-panel {
  border-radius: var(--radius-xl); padding: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-bg), #dbeafe);
  overflow: hidden; position: relative; min-height: 280px;
}
.media-panel.teal   { background: linear-gradient(135deg, #ccfbf1, #a7f3d0); }
.media-panel.green  { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.media-panel.purple { background: linear-gradient(135deg, #f3e8ff, #ddd6fe); }
.media-panel.amber  { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.media-panel.plain  { background: #fff; border: 1px solid var(--border); }
.media-panel img.illustration { width: 100%; height: auto; max-height: 340px; }

/* ---- Decorative glow orbs (heroes / dark sections) ---- */
.hero, .page-hero, .section.bg-primary, .auth-side { position: relative; }
.hero > *, .page-hero-inner, .section.bg-primary .container,
.section.bg-primary .container-sm, .auth-side > * { position: relative; z-index: 1; }
.deco-orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(70px); opacity: 0.55;
}
.deco-orb.a { width: 360px; height: 360px; background: #2962ff; top: -120px; right: -80px; }
.deco-orb.b { width: 300px; height: 300px; background: #00b8d4; bottom: -140px; left: -60px; opacity: 0.4; }
.deco-orb.amber { background: #f59e0b; opacity: 0.28; }
.hero-grid { position: relative; z-index: 1; }

/* grid texture overlay for dark bands */
.grid-texture::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}

/* page-hero decoration image */
.page-hero-deco {
  position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  width: 320px; max-width: 36%; opacity: 0.9; z-index: 0; pointer-events: none;
}
@media (max-width: 900px) { .page-hero-deco { display: none; } }

/* ---- Scroll reveal (progressive enhancement) ---- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }
.js .reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Chips / category filter ---- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.5rem 1rem; border-radius: 30px; font-size: 0.85rem; font-weight: 600;
  background: #fff; border: 1.5px solid var(--border); color: var(--text-secondary);
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip .count { font-size: 0.72rem; opacity: 0.7; }

/* ---- Fancy divider ---- */
.fancy-divider { display: flex; align-items: center; gap: 1rem; margin: 2rem 0; color: var(--text-muted); }
.fancy-divider::before, .fancy-divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

/* ---- Logo / payment cloud ---- */
.logo-cloud { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; }
.pay-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 0.55rem 1rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  font-weight: 700; font-size: 0.82rem; color: var(--text-secondary); box-shadow: var(--shadow-sm);
}
.pay-badge svg { flex-shrink: 0; }

/* ---- Icon feature row ---- */
.feature-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; }
.feature-row .fr-icon {
  width: 46px; height: 46px; border-radius: var(--radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-bg); color: var(--primary);
}
.feature-row h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.feature-row p { font-size: 0.88rem; }

/* ---- Highlight / stat pills ---- */
.pill-stats { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pill-stat {
  background: #fff; border: 1px solid var(--border); border-radius: 30px;
  padding: 0.5rem 1rem; display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600;
}
.pill-stat strong { color: var(--primary); }

/* ---- Quote / blockquote ---- */
.quote {
  background: linear-gradient(135deg, var(--primary-bg), #eef1fb);
  border-left: 4px solid var(--primary); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; font-size: 1.05rem; color: var(--text-primary); font-style: italic;
}

/* ============================================================
   ENERGY CALCULATOR
   ============================================================ */
.calc-wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0;
  background: #fff; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.calc-inputs { padding: 2.25rem; }
.calc-result {
  background: linear-gradient(160deg, #0d1461, #1a237e 55%, #0d47a1);
  padding: 2.25rem; color: #fff; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.calc-result::before {
  content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(66,165,245,0.35), transparent 70%);
  top: -80px; right: -60px;
}
.calc-field { margin-bottom: 1.5rem; }
.calc-field label { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.6rem; }
.calc-field label b { color: var(--primary); }
.calc-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 10px;
  background: linear-gradient(90deg, var(--primary) var(--p,40%), var(--border) var(--p,40%));
  outline: none; cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 4px solid var(--primary); box-shadow: var(--shadow); cursor: pointer; transition: transform 0.15s;
}
.calc-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); cursor: pointer; }
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px; gap: 4px; }
.seg button {
  padding: 0.5rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.85rem;
  color: var(--text-secondary); transition: all 0.2s;
}
.seg button.active { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.calc-total { font-size: 3rem; font-weight: 800; line-height: 1; margin: 0.25rem 0; }
.calc-total small { font-size: 1.1rem; font-weight: 600; opacity: 0.7; }
.calc-result .row { display: flex; justify-content: space-between; padding: 0.6rem 0; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.calc-result .row:last-of-type { border-bottom: none; }
.calc-result .row .lbl { color: rgba(255,255,255,0.7); }

/* ============================================================
   NEWS / BLOG
   ============================================================ */
.news-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: #fff; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.news-featured .nf-media {
  position: relative; min-height: 340px;
  background: linear-gradient(135deg, var(--primary-bg), #dbeafe);
  display: flex; align-items: center; justify-content: center;
}
.news-featured .nf-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.news-featured h2 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); margin: 0.75rem 0 1rem; }
.pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; border-radius: var(--radius-sm); display: inline-flex;
  align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem;
  border: 1px solid var(--border); color: var(--text-secondary); background: #fff; transition: all 0.2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* newsletter */
.newsletter {
  background: linear-gradient(135deg, #0d1461, #1a237e 55%, #0d47a1);
  border-radius: var(--radius-xl); padding: 2.75rem; color: #fff;
  position: relative; overflow: hidden;
}
.newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; max-width: 480px; }
.newsletter-form input {
  flex: 1; min-width: 220px; padding: 0.85rem 1.1rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: #fff; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.16); }

/* ============================================================
   CONTACT
   ============================================================ */
.office-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.3s;
}
.office-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.office-card .oc-top {
  height: 120px; background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  display: flex; align-items: flex-end; padding: 1rem 1.25rem; position: relative; overflow: hidden;
}
.office-card .oc-top::after { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,0.08); top: -20px; right: -10px; }
.office-card .oc-top h4 { color: #fff; position: relative; }
.office-card .oc-body { padding: 1.25rem; }
.office-card .oc-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--text-secondary); padding: 0.4rem 0; }
.office-card .oc-row svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.dept-card {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all 0.25s;
}
.dept-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.dept-card .dc-icon { width: 48px; height: 48px; border-radius: var(--radius); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }

/* ============================================================
   CLIENT PORTAL DASHBOARD PREVIEW
   ============================================================ */
.dash {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); overflow: hidden; display: grid; grid-template-columns: 200px 1fr;
}
.dash-side { background: linear-gradient(180deg, #0d1461, #1a237e); padding: 1.25rem; color: #fff; }
.dash-side .ds-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 1.5rem; font-weight: 700; }
.dash-side .ds-logo .b { width: 30px; height: 30px; background: rgba(255,255,255,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 500; margin-bottom: 2px; }
.dash-nav a.active, .dash-nav a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.dash-main { padding: 1.5rem; background: var(--bg); }
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
.dash-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; }
.dash-card .dc-label { font-size: 0.76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.dash-card .dc-value { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-top: 4px; }
.dash-chart { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 140px; margin-top: 1rem; }
.bar-chart .bar { flex: 1; background: linear-gradient(180deg, #42a5f5, var(--primary)); border-radius: 6px 6px 0 0; position: relative; transition: height 0.6s ease; min-height: 6px; }
.bar-chart .bar.hl { background: linear-gradient(180deg, #fbbf24, #f59e0b); }
.bar-chart .bar span { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 0.68rem; color: var(--text-muted); }

/* ============================================================
   LEGAL / PROSE PAGES
   ============================================================ */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.toc { position: sticky; top: 96px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; }
.toc h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 0.75rem; }
.toc a { display: block; padding: 0.4rem 0.6rem; font-size: 0.85rem; color: var(--text-secondary); border-radius: var(--radius-sm); border-left: 2px solid transparent; }
.toc a:hover { color: var(--primary); background: var(--bg); border-left-color: var(--primary); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; padding-top: 0.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.5rem 0 0.6rem; }
.prose p { margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.8; }
.prose ul { margin: 0 0 1rem 1.25rem; list-style: disc; }
.prose ul li { margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--text-secondary); padding-left: 0.25rem; }
.prose strong { color: var(--text-primary); }
.prose a { color: var(--primary); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9rem; }
.prose table th, .prose table td { border: 1px solid var(--border); padding: 0.65rem 0.85rem; text-align: left; }
.prose table th { background: var(--bg); font-weight: 700; }

/* ============================================================
   COOKIE BANNER + BACK TO TOP + HELP FAB
   ============================================================ */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2000;
  max-width: 1100px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  transform: translateY(150%); transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.86rem; flex: 1; min-width: 240px; margin: 0; }
.cookie-banner .cb-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1500;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: all 0.3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

.help-fab {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 1500;
  display: inline-flex; align-items: center; gap: 8px; padding: 0.7rem 1.1rem;
  background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; font-weight: 600; font-size: 0.85rem;
  border-radius: 30px; box-shadow: var(--shadow-lg); transition: all 0.25s;
}
.help-fab:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.help-fab .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.7); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
@media (max-width: 600px) { .help-fab span.txt { display: none; } .help-fab { padding: 0.85rem; border-radius: 50%; } }

/* ---- FAQ search + category nav ---- */
.faq-search { position: relative; max-width: 560px; margin: 0 auto 2rem; }
.faq-search input { width: 100%; padding: 0.95rem 1.1rem 0.95rem 3rem; border-radius: 30px; border: 2px solid var(--border); font-size: 0.95rem; outline: none; transition: all 0.2s; }
.faq-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26,35,126,0.08); }
.faq-search svg { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* ---- Banner alert (top) ---- */
.topbar-alert { background: linear-gradient(135deg, #15803d, #16a34a); color: #fff; text-align: center; font-size: 0.84rem; font-weight: 500; padding: 8px 1.25rem; }
.topbar-alert a { color: #fff; text-decoration: underline; font-weight: 700; }

/* ---- Responsive additions ---- */
@media (max-width: 900px) {
  .calc-wrap { grid-template-columns: 1fr; }
  .news-featured { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: 1.5rem; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr !important; }
  .contact-hide-sm { display: none !important; }
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner .cb-actions { justify-content: center; }
  .calc-total { font-size: 2.4rem; }
}
