/* Remotely Group - Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --navy: #0a1622;
  --navy-dark: #060e16;
  --gold: #c5a059;
  --gold-dark: #b48c4d;
  --cream: #f9f7f2;
  --cream-dark: #f0ece4;
  --white: #ffffff;
  --text: #2c3e50;
  --text-muted: #5a6577;
  --border: #e8e4dc;
  --shadow: 0 4px 24px rgba(10, 22, 34, 0.08);
  --shadow-lg: 0 8px 40px rgba(10, 22, 34, 0.12);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, sans-serif;
  --header-height: 80px;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1320px;
}

/* Typography */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: middle;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

.gold-text { color: var(--gold); }
.white-text { color: var(--white); }

.gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover { background: var(--navy-dark); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: var(--navy);
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-brand .logo img {
  height: 52px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '▾';
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.7;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  margin-top: 12px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 8px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text) !important;
  font-size: 13px;
}

.dropdown-menu a:hover {
  background: var(--cream);
  color: var(--gold) !important;
}

.dropdown-menu a.active::after { display: none; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Split */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.hero-split.light-left .hero-content {
  background: var(--cream);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-split .hero-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.hero-split .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-split.dark-hero .hero-content {
  background: var(--navy);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-split.dark-hero .hero-content h1,
.hero-split.dark-hero .hero-content p { color: var(--white); }

.hero-split.dark-hero .hero-content .section-label::before { background: var(--gold); }

/* Full-width hero with background image */
.hero-full {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0.45;
}

.hero-full .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 40%, transparent 100%);
}

.hero-full .hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 80px 0;
}

.hero-full h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.hero-full p { color: rgba(255,255,255,0.85); margin-top: 16px; }

/* Feature icons row */
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.feature-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.feature-icon-item .icon-circle {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--gold);
}

.feature-icon-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Three column section */
.three-col {
  padding: 72px 0;
  background: var(--cream);
}

.three-col .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.col-item {
  text-align: center;
  padding: 0 16px;
}

.col-item .icon-lg {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--gold);
}

.col-item h3 { margin-bottom: 16px; }
.col-item p { font-size: 14px; color: var(--text-muted); }

.values-list {
  text-align: left;
  margin-top: 12px;
}

.values-list li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}

.values-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.values-list strong { color: var(--navy); }

/* Two column split */
.two-col-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-dark {
  background: var(--navy);
  padding: 64px 48px;
  color: var(--white);
}

.split-dark h2 { color: var(--white); }
.split-dark p { color: rgba(255,255,255,0.85); font-size: 14px; margin-bottom: 16px; }

.split-light {
  background: var(--white);
  padding: 64px 48px;
}

.split-cream {
  background: var(--cream);
  padding: 64px 48px;
}

.founder-image {
  margin-top: 32px;
  border: 2px solid var(--gold);
  padding: 8px;
  max-width: 320px;
}

.founder-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}

/* Credentials list */
.credentials-list { margin-top: 32px; }

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.credential-item:last-child { border-bottom: none; }

.credential-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.credential-item p {
  font-size: 14px;
  color: var(--text-muted);
  padding-top: 8px;
}

/* Promise banner */
.promise-banner {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.promise-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-office.png') center/cover;
  opacity: 0.08;
}

.promise-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.promise-block {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.promise-block .shield-icon {
  width: 64px;
  height: 64px;
  color: var(--gold);
  flex-shrink: 0;
}

.promise-block h2 { color: var(--white); margin-bottom: 8px; }
.promise-block p { color: rgba(255,255,255,0.85); font-size: 14px; }

/* Stats bar */
.stats-bar {
  background: var(--cream);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--gold);
}

.stat-item h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Section header centered */
.section-header {
  text-align: center;
  padding: 64px 0 40px;
}

.section-header .subtitle {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header .subtitle::before,
.section-header .subtitle::after {
  content: '—';
  margin: 0 8px;
  opacity: 0.6;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 14px;
}

/* Service cards grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 64px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
  transition: box-shadow var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow);
}

.service-card .card-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 16px; font-size: 1.1rem; }

.service-card ul li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0 4px 16px;
  position: relative;
}

.service-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.service-card .learn-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}

.service-card .learn-more:hover { text-decoration: underline; }

/* Trust bar */
.trust-bar {
  background: var(--cream);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.trust-item {
  text-align: center;
  padding: 0 8px;
}

.trust-item .trust-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  color: var(--gold);
}

.trust-item h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* CTA section */
.cta-section {
  background: var(--navy);
  padding: 56px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2 { color: var(--white); margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.8); font-size: 14px; max-width: 480px; }

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* Contact bar footer (services page) */
.contact-bar {
  background: var(--navy);
  padding: 24px 0;
  border-top: 1px solid rgba(197,160,89,0.2);
}

.contact-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}

.contact-bar-item svg { color: var(--gold); flex-shrink: 0; }

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 64px 0;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border: 2px solid var(--gold);
}

.pricing-card .popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 16px;
  text-transform: uppercase;
}

.pricing-card .card-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 16px;
}

.pricing-card h3 { font-size: 1.05rem; margin-bottom: 16px; }

.price-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 4px 0 16px;
}

.price-amount.gold { color: var(--gold); font-size: 1.5rem; }

.price-amount .period {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card ul { flex: 1; margin-bottom: 24px; }

.pricing-card ul li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 0 5px 16px;
  position: relative;
}

.pricing-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Estimate section */
.estimate-section {
  background: var(--cream-dark);
  padding: 56px 0;
}

.estimate-section h2 { text-align: center; margin-bottom: 8px; }
.estimate-section > .container > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.estimate-form {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--white);
  color: var(--text);
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.estimate-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  padding: 24px 32px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.estimate-price-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.estimate-price {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.estimate-disclaimer {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Custom quote section */
.custom-quote {
  background: var(--navy);
  padding: 56px 0;
}

.custom-quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.custom-quote h2 { color: var(--white); margin-bottom: 12px; }
.custom-quote p { color: rgba(255,255,255,0.8); font-size: 14px; }

.quote-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

.quote-contact-item svg { color: var(--gold); flex-shrink: 0; }

.quote-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Contact page */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}

.contact-card {
  background: var(--white);
  border-radius: 4px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.contact-card .card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  color: var(--gold);
}

.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.contact-card .contact-detail {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-form-section {
  padding: 64px 0;
  background: var(--cream);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}

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

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

.form-group .input-icon {
  position: relative;
}

.form-group .input-icon svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 16px;
  height: 16px;
}

.form-group .input-icon input,
.form-group .input-icon select {
  padding-left: 40px;
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.checkbox-group a { color: var(--gold); text-decoration: underline; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.5;
}

.form-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.info-block {
  margin-bottom: 32px;
}

.info-block .info-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 12px;
}

.info-block h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-block p { font-size: 13px; color: var(--text-muted); }

.whatsapp-box {
  background: var(--navy);
  padding: 24px;
  border-radius: 4px;
  margin-top: 32px;
}

.whatsapp-box h4 { color: var(--white); margin-bottom: 8px; font-size: 14px; }
.whatsapp-box p { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 16px; }

.hero-features {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-feature .icon-circle {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.hero-feature h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.hero-feature p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* Why choose section */
.why-choose {
  padding: 64px 0;
  background: var(--cream);
  text-align: center;
}

.why-choose h2 { margin-bottom: 40px; }

/* Resources page */
.search-bar {
  display: flex;
  margin-top: 24px;
  max-width: 560px;
}

.search-bar input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 3px 0 0 3px;
  font-size: 14px;
}

.search-bar button {
  background: var(--gold);
  border: none;
  padding: 0 20px;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  color: var(--white);
}

.category-bar {
  background: var(--cream);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.category-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.category-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all var(--transition);
}

.category-list a svg { width: 20px; height: 20px; }

.category-list a.active,
.category-list a:hover {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.resources-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 48px 0;
}

.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.articles-header a {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}

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

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.article-card:hover { box-shadow: var(--shadow); }

.article-card .article-image {
  height: 160px;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}

.article-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card .category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}

.tag-tax { background: #fef3cd; color: #856404; }
.tag-sars { background: #d1ecf1; color: #0c5460; }
.tag-business { background: #d4edda; color: #155724; }
.tag-payroll { background: #e2d5f1; color: #5a3d8a; }
.tag-compliance { background: #f8d7da; color: #721c24; }
.tag-guides { background: #cce5ff; color: #004085; }

.article-card .article-body { padding: 20px; }

.article-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}

.article-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}

/* Sidebar */
.sidebar-widget {
  margin-bottom: 24px;
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-widget.dark {
  background: var(--navy);
  padding: 28px 24px;
}

.sidebar-widget.dark h3 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
}

.sidebar-widget.dark a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-widget.dark a:hover { color: var(--gold); }

.sidebar-widget.cream {
  background: var(--cream-dark);
  padding: 28px 24px;
}

.sidebar-widget.cream h3 { font-size: 1rem; margin-bottom: 8px; }
.sidebar-widget.cream p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

.sidebar-widget.light {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}

.sidebar-widget .widget-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--gold);
}

/* Downloads section */
.downloads-section {
  background: var(--cream);
  padding: 48px;
  border-radius: 8px;
  margin: 32px 0;
}

.downloads-section h2 {
  text-align: center;
  margin-bottom: 32px;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.download-item {
  text-align: center;
}

.download-item .dl-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--gold);
}

.download-item h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.download-item a {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}

.download-item .download-pending {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.resources-empty {
  grid-column: 1 / -1;
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  background: var(--cream);
  border-radius: 4px;
  border: 1px dashed var(--border);
}

.resources-results-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: -8px 0 20px;
}

.category-list a {
  cursor: pointer;
}

/* Full footer */
.site-footer {
  background: var(--navy-dark);
  padding: 56px 0 0;
  color: rgba(255,255,255,0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  margin: 16px 0;
  line-height: 1.6;
}

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

.social-icons a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.social-icons a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  padding: 5px 0;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 12px;
}

.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-newsletter input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  margin-left: 16px;
}

.footer-bottom a:hover { color: var(--gold); }

/* Home page extras */
.home-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-office.png') center/cover;
  opacity: 0.35;
}

.home-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, rgba(10,22,34,0.85) 50%, rgba(10,22,34,0.6) 100%);
}

.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 100px 0;
}

.home-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}

.home-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.home-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 32px;
}

.home-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.home-services-preview {
  padding: 80px 0;
}

.home-services-preview .services-grid {
  padding-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-split,
  .two-col-split,
  .promise-inner,
  .custom-quote-grid,
  .contact-form-grid,
  .resources-layout { grid-template-columns: 1fr; }

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

  .contact-cards { grid-template-columns: repeat(2, 1fr); margin-top: 0; }

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

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

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

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-buttons { justify-content: center; }
}

@media (max-width: 768px) {
  .header-inner > .main-nav,
  .header-inner > .btn { display: none; }

  .mobile-toggle {
    display: block;
    z-index: 1002;
  }

  .logo img {
    height: 48px;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(197,160,89,0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .main-nav.open a {
    padding: 8px 0;
    font-size: 15px;
  }

  .main-nav.open .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
  }

  .main-nav.open .nav-dropdown > a::after {
    content: '';
  }

  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-content { padding: 40px 24px; }
  .hero-split .hero-image { min-height: 280px; }

  .three-col .container { grid-template-columns: 1fr; gap: 32px; }

  .services-grid,
  .pricing-grid,
  .articles-grid,
  .contact-cards,
  .stats-grid,
  .trust-grid,
  .contact-bar-grid,
  .downloads-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .estimate-form { grid-template-columns: 1fr; }

  .estimate-result {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; }

  .hero-features { flex-direction: column; gap: 20px; }

  .custom-quote-grid { text-align: center; }
  .quote-buttons { align-items: center; }

  .promise-block { flex-direction: column; }
}
