/*
Theme Name: VentureWP
Theme URI: https://example.com/venturewp
Author: VentureWP
Author URI: https://example.com
Description: A modern, bold WordPress theme for entrepreneurs and business professionals. Features a dark hero, orange accent system, glassmorphism navigation, and a full Australian business resource page. Built for Contemporary Entrepreneurship courses and small business websites.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: venturewp
Tags: business, entrepreneur, dark, orange, modern, one-page, blog, portfolio, responsive
*/

/* ============================================================
   ROOT VARIABLES
============================================================ */
:root {
  --or:       #F97316;
  --or2:      #FB923C;
  --or-dk:    #EA580C;
  --or-lt:    #FFF7ED;
  --or-glow:  rgba(249,115,22,0.22);

  --coal:     #0F0F0F;
  --coal2:    #1C1C1E;
  --coal3:    #2C2C2E;
  --coal4:    #3A3A3C;

  --bg:       #F8F7F4;
  --bg2:      #EFEFEB;
  --surface:  #FFFFFF;

  --txt:      #111111;
  --txt2:     #555550;
  --txt3:     #888882;

  --border:   rgba(0,0,0,0.08);
  --border2:  rgba(0,0,0,0.14);

  --green:    #16A34A;
  --green-lt: #F0FDF4;
  --red:      #DC2626;
  --red-lt:   #FEF2F2;
  --blue:     #2563EB;
  --blue-lt:  #EFF6FF;

  --radius:   14px;
  --radiusLg: 20px;
  --radiusXl: 28px;

  --shadow:   0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);
  --shadowMd: 0 2px 8px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.10);
  --shadowLg: 0 4px 16px rgba(0,0,0,0.10), 0 32px 64px rgba(0,0,0,0.14);

  --max-w:    1200px;
  --max-w-sm: 760px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--txt);
}

a { color: var(--or); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--or-dk); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

p { color: var(--txt2); line-height: 1.75; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

input, textarea, select {
  font-family: inherit;
  font-size: 14px;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--surface);
  color: var(--txt);
  width: 100%;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--or);
  box-shadow: 0 0 0 3px var(--or-glow);
}

button, .btn { font-family: inherit; cursor: pointer; }

/* ============================================================
   UTILITY CLASSES
============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--sm {
  max-width: var(--max-w-sm);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }
.section--sm { padding: 4rem 0; }
.section--lg { padding: 8rem 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--or);
  background: rgba(249,115,22,0.10);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--txt);
  margin-bottom: 1rem;
}

.section-title .accent {
  background: linear-gradient(135deg, var(--or2), #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 17px;
  color: var(--txt3);
  line-height: 1.75;
  max-width: 560px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 13px 24px;
  border: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--or), var(--or-dk));
  color: #fff;
  box-shadow: 0 4px 20px var(--or-glow);
}

.btn--primary:hover {
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 6px 28px var(--or-glow);
}

.btn--secondary {
  background: var(--surface);
  color: var(--txt);
  border: 1.5px solid var(--border2);
}

.btn--secondary:hover {
  color: var(--txt);
  border-color: var(--or);
  background: var(--or-lt);
}

.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.15);
}

.btn--ghost:hover {
  color: #fff;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
}

.btn--lg {
  font-size: 16px;
  padding: 15px 32px;
  border-radius: var(--radiusLg);
}

/* PILL */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  padding: 4px 12px;
}

.pill--or  { background: #FED7AA; color: #C2410C; }
.pill--green { background: var(--green-lt); color: var(--green); }
.pill--blue  { background: var(--blue-lt); color: var(--blue); }

/* CARD BASE */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radiusLg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadowMd);
}

/* ============================================================
   NAVIGATION
============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

#site-header.scrolled {
  background: rgba(15,15,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--or), var(--or-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 20px var(--or-glow);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-logo:hover .nav-logo-text { color: var(--or2); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: 7px 13px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: all 0.18s;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: #fff;
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--coal);
  padding: 10rem 2rem 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(249,115,22,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 80%, rgba(124,58,237,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 60% 30%, rgba(37,99,235,0.10) 0%, transparent 50%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--or2);
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 82px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--or2), #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  padding: 0.875rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
  font-weight: 500;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   FEATURES / SERVICES
============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radiusLg);
  padding: 2rem;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--or), var(--or2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadowMd);
  border-color: rgba(249,115,22,0.2);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--or-lt);
  border: 1px solid #FED7AA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
  color: var(--txt);
}

.feature-card p {
  font-size: 14px;
  color: var(--txt3);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   ABOUT / STORY SECTION
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radiusXl);
  box-shadow: var(--shadowLg);
}

.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--or);
  color: #fff;
  border-radius: var(--radiusLg);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px var(--or-glow);
}

.about-image-badge .big { font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800; line-height: 1; }
.about-image-badge .sm  { font-size: 12px; font-weight: 500; opacity: 0.85; margin-top: 3px; }

.about-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--txt2);
  line-height: 1.6;
}

.about-list-item::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-lt);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(22,163,74,0.2);
}

/* ============================================================
   DARK CTA STRIP
============================================================ */
.cta-strip {
  background: var(--coal2);
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
  text-align: center;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(249,115,22,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(124,58,237,0.10) 0%, transparent 60%);
}

.cta-strip-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

.cta-strip h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-strip p { color: rgba(255,255,255,0.5); font-size: 17px; margin-bottom: 2rem; }

.cta-strip-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BLOG GRID
============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radiusLg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadowMd);
  border-color: rgba(249,115,22,0.2);
}

.post-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.post-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--coal2), var(--coal3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.post-body { padding: 1.5rem; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.post-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--or-dk);
  background: var(--or-lt);
  border: 1px solid #FED7AA;
  border-radius: 100px;
  padding: 3px 10px;
}

.post-date { font-size: 12px; color: var(--txt3); }

.post-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 0.625rem;
  color: var(--txt);
}

.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--or); }

.post-card p { font-size: 13.5px; color: var(--txt3); line-height: 1.65; margin: 0 0 1rem; }

.post-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--or);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.15s;
}

.post-read-more:hover { color: var(--or-dk); gap: 8px; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--txt2);
  text-decoration: none;
  transition: all 0.15s;
  background: var(--surface);
}

.pagination a:hover { border-color: var(--or); color: var(--or); background: var(--or-lt); }
.pagination .current { background: var(--or); border-color: var(--or); color: #fff; }

/* ============================================================
   SINGLE POST
============================================================ */
.single-hero {
  background: var(--coal);
  padding: 10rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.single-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(249,115,22,0.15), transparent 70%);
}

.single-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.single-hero .post-meta { justify-content: center; margin-bottom: 1.25rem; }

.single-hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  color: #fff;
  margin-bottom: 1.25rem;
}

.single-hero .post-date { color: rgba(255,255,255,0.4); }

.single-feat-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radiusXl);
  margin: 3rem 0;
  box-shadow: var(--shadowLg);
}

.entry-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--txt);
}

.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }

.entry-content p { margin-bottom: 1.5rem; font-size: 16px; line-height: 1.8; }

.entry-content ul, .entry-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.entry-content li { margin-bottom: 0.5rem; color: var(--txt2); line-height: 1.7; }

.entry-content blockquote {
  border-left: 4px solid var(--or);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--or-lt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px;
  font-style: italic;
  color: var(--txt2);
}

.entry-content img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

.entry-content a { color: var(--or); font-weight: 500; }
.entry-content a:hover { color: var(--or-dk); }

/* ============================================================
   PAGE HERO BANNER (inner pages)
============================================================ */
.page-banner {
  background: var(--coal);
  padding: 9rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(249,115,22,0.12), transparent 60%);
}

.page-banner-inner { position: relative; z-index: 1; }

.page-banner h1 {
  font-size: clamp(28px, 4vw, 52px);
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-banner p { color: rgba(255,255,255,0.45); font-size: 17px; margin: 0; }

/* ============================================================
   RESOURCES PAGE
============================================================ */
.res-intro-card {
  background: linear-gradient(135deg, var(--coal2), var(--coal3));
  border-radius: var(--radiusLg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.res-intro-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(249,115,22,0.12), transparent);
}

.res-intro-card h2 { font-size: 24px; color: #fff; margin-bottom: 0.5rem; position: relative; z-index:1; }
.res-intro-card p  { color: rgba(255,255,255,0.45); max-width: 560px; position: relative; z-index:1; margin:0; }

.res-categories { display: flex; flex-direction: column; gap: 1.25rem; }

.res-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radiusLg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.res-category-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.res-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.cat-gov     { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE !important; }
.cat-tax     { background: #F0FDF4; color: #15803D; border-color: #BBF7D0 !important; }
.cat-fund    { background: #FFF7ED; color: #C2410C; border-color: #FED7AA !important; }
.cat-legal   { background: #FFF1F2; color: #BE123C; border-color: #FECDD3 !important; }
.cat-data    { background: #F5F3FF; color: #7C3AED; border-color: #DDD6FE !important; }
.cat-support { background: #F0FDFA; color: #0F766E; border-color: #99F6E4 !important; }
.cat-industry{ background: #FFFBEB; color: #B45309; border-color: #FDE68A !important; }

.res-cat-title { font-size: 15px; font-weight: 700; color: var(--txt); }
.res-cat-sub   { font-size: 12px; color: var(--txt3); margin-top: 1px; }

.res-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
  background: var(--border);
}

.res-link {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 1.125rem 1.5rem;
  background: var(--surface);
  text-decoration: none;
  transition: background 0.15s;
}

.res-link:hover { background: var(--bg); }

.res-link-ico {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.res-link-name { font-size: 13px; font-weight: 700; color: var(--txt); margin-bottom: 3px; }
.res-link-desc { font-size: 12px; color: var(--txt3); line-height: 1.5; margin: 0; }
.res-domain {
  display: inline-block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--or-dk);
  background: var(--or-lt);
  border: 1px solid #FED7AA;
  border-radius: 4px;
  padding: 1px 7px;
}

.res-arrow {
  font-size: 12px;
  color: var(--txt3);
  margin-top: 2px;
  opacity: 0;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.res-link:hover .res-arrow { opacity: 1; }

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { font-size: 36px; margin-bottom: 1rem; }

.contact-info-items { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--or-lt);
  border: 1px solid #FED7AA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--txt3); font-weight: 600; }
.contact-item-val   { font-size: 15px; font-weight: 600; color: var(--txt); margin-top: 2px; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radiusXl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--txt2); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   FOOTER
============================================================ */
#site-footer {
  background: var(--coal);
  color: rgba(255,255,255,0.5);
  padding: 5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

#site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul a:hover { color: var(--or2); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.18s;
}

.footer-social a:hover {
  background: var(--or);
  border-color: var(--or);
  color: #fff;
  box-shadow: 0 0 16px var(--or-glow);
}

/* ============================================================
   WIDGETS
============================================================ */
.widget-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.widget-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Syne', sans-serif;
}

/* ============================================================
   NOTICE / ALERTS
============================================================ */
.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1.5px solid;
  font-size: 14px;
  margin-bottom: 1.5rem;
}

.notice--info    { background: var(--blue-lt);  border-color: #BFDBFE; color: #1E40AF; }
.notice--success { background: var(--green-lt); border-color: #BBF7D0; color: #166534; }
.notice--warning { background: var(--or-lt);    border-color: #FED7AA; color: #9A3412; }
.notice--error   { background: var(--red-lt);   border-color: #FECACA; color: #991B1B; }

/* ============================================================
   404
============================================================ */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.page-404 .big-num {
  font-family: 'Syne', sans-serif;
  font-size: 120px;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--or2), #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1.5rem;
}

/* ============================================================
   SEARCH RESULTS
============================================================ */
.search-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radiusLg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 10px;
}

.search-form-wrap input { flex: 1; }
.search-form-wrap button { flex-shrink: 0; }

/* ============================================================
   COMMENTS
============================================================ */
.comments-area { max-width: 720px; margin: 0 auto; padding: 0 2rem 4rem; }
.comments-title { font-size: 22px; margin-bottom: 2rem; }
.comment-list { display: flex; flex-direction: column; gap: 1.5rem; list-style: none; }

.comment {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radiusLg);
  padding: 1.5rem;
}

.comment-author-name { font-weight: 700; color: var(--txt); font-size: 14px; }
.comment-date { font-size: 12px; color: var(--txt3); }
.comment-content p { font-size: 14px; color: var(--txt2); margin-top: 0.75rem; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .features-grid    { grid-template-columns: 1fr 1fr; }
  .blog-grid        { grid-template-columns: 1fr 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .container, .container--sm { padding: 0 1.25rem; }
  .section  { padding: 4rem 0; }
  .section--lg { padding: 5rem 0; }

  .features-grid  { grid-template-columns: 1fr; }
  .about-grid     { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-badge { right: 1rem; bottom: -1rem; }
  .blog-grid      { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; align-items: center; text-align: center; }
  .res-links-grid { grid-template-columns: 1fr; }

  .nav-menu  { display: none; }
  .hamburger { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 68px 0 0 0;
    background: rgba(15,15,15,0.97);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 8px;
    z-index: 999;
  }

  .hero { padding: 8rem 1.25rem 5rem; }
  .hero h1 { font-size: 36px; }
  .hero-stats { border-radius: var(--radiusLg); }
  .hero-stat { padding: 0.75rem 1.25rem; }

  .page-banner { padding: 8rem 1.25rem 3rem; }

  .widget-area { grid-template-columns: 1fr; }
}
