/* ═══════════════════════════════════════════════════════════════════════════
   SarsTax.co.za — Main Stylesheet
   Design System: Light theme, deep green accent, clean typography
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Design Tokens ──────────────────────────────────────────────────────── */
:root {
  /* Colours */
  --clr-bg:            #FFFFFF;
  --clr-bg-alt:        #F7F9F8;
  --clr-bg-dark:       #0D1B2A;
  
  --clr-accent:        #1D6F42;   /* Deep South African green */
  --clr-accent-hover:  #145230;
  --clr-accent-light:  #F0F4F8;   /* Pill backgrounds */
  
  --clr-primary-dark:  #0D1B2A;
  
  --clr-text:          #4A4A5A;
  --clr-text-muted:    #5C6675;
  --clr-heading:       #0D1B2A;
  
  --clr-border:        #E4E7EC;
  --clr-border-light:  #D0D5DD;

  --clr-warning-bg:    #FFF8E7;
  --clr-warning-border:#E5A000;
  
  --clr-info-bg:       #EBF5EE;
  
  /* Typography */
  --font-sans:    'Inter', 'DM Sans', system-ui, -apple-system, sans-serif;
  
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 14px;
  --text-md:   15px;
  --text-lg:   16px;
  --text-xl:   17px;
  --text-2xl:  19px;
  --text-3xl:  28px;
  --text-4xl:  32px;
  --text-5xl:  48px;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;

  --leading-normal: 1.6;

  /* Spacing */
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Layout */
  --max-width:      1200px;
  --gutter:          1.5rem;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   10px; /* Inputs */
  --radius-lg:   12px; /* Cards */
  --radius-xl:   14px; /* Pillar cards */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 4px 16px rgba(0,0,0,0.07);
  --shadow-md:  0 6px 20px rgba(0,0,0,0.08);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --duration:  220ms;
}

/* ── 2. Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--leading-normal);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--clr-accent); text-decoration: none; transition: color var(--duration) var(--ease-out); }
a:hover { color: var(--clr-accent-hover); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--clr-heading);
  font-weight: var(--fw-semibold); /* Default to 600 */
}
h1 { font-size: var(--text-5xl); font-weight: var(--fw-bold); } /* H1 is 700 */
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-lg); }

/* ── 3. Layout Utilities ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 64px; }
.section--white { background-color: var(--clr-bg); }
.section--alt { background-color: var(--clr-bg-alt); }
.section--dark { background-color: var(--clr-bg-dark); color: #FFF; }

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

/* ── 4. Buttons & Pills ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--fw-medium);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
}
.btn--primary {
  background: var(--clr-accent);
  color: #FFF;
}
.btn--primary:hover {
  background: var(--clr-accent-hover);
  color: #FFF;
}
.btn--ghost {
  background: transparent;
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}
.btn--ghost:hover {
  background: var(--clr-accent);
  color: #FFF;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 16px;
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  border: 1px solid rgba(29, 111, 66, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.pill:hover {
  background: #EBF5EE;
  border-color: var(--clr-accent);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(29, 111, 66, 0.12);
}

.tag-chip {
  display: inline-block;
  padding: 4px 10px;
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
}

/* ── Global Disclaimer ──────────────────────────────────────────────────────── */
.global-disclaimer {
  background-color: var(--clr-accent); /* Changed to accent green to pop more */
  color: #FFF;
  padding: 10px 0;
  font-size: var(--text-sm); /* Increased size */
  font-weight: var(--fw-medium);
  z-index: 102;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.disclaimer-marquee {
  display: inline-block;
  white-space: nowrap;
  padding-left: 50vw;
  animation: marquee 75s linear infinite;
  letter-spacing: 0.3px;
}

.disclaimer-marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ── 5. Navigation ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.site-nav {
  background: transparent;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand-text { display: flex; flex-direction: column; }
.brand-wordmark { font-size: 22px; font-weight: var(--fw-bold); color: var(--clr-heading); line-height: 1.1; letter-spacing: -0.5px; }
.brand-tagline { font-size: 11px; color: var(--clr-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.nav-brand {
  position: relative;
  z-index: 1001;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}
.nav-item { height: 100%; display: flex; align-items: center; }
.has-dropdown { position: relative; }
.nav-link {
  color: var(--clr-heading);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  padding: 0.5rem 0;
  transition: color 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-chevron {
  transition: transform 0.2s;
  color: var(--clr-text-muted);
}
.has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
  color: var(--clr-accent);
}
.nav-link--highlight .nav-chevron {
  color: rgba(255, 255, 255, 0.9);
}
.has-dropdown:hover .nav-link--highlight .nav-chevron {
  color: #FFF;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.nav-link:hover { color: var(--clr-accent); }
.nav-link:hover::after, .nav-link--active::after { transform: scaleX(1); }

.nav-link--highlight {
  background: var(--clr-accent);
  color: #FFF !important;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(29, 111, 66, 0.2);
  transition: all 0.2s;
}
.nav-link--highlight::after { display: none; }
.nav-link--highlight:hover { background: var(--clr-accent-hover); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(29, 111, 66, 0.3); }

/* Right Side Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-deadlines-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--clr-accent);
  padding: 8px 20px;
  border: 1.5px solid var(--clr-accent);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.nav-deadlines-link::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--clr-accent);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-deadlines-link:hover {
  color: #ffffff;
  border-color: var(--clr-accent-hover);
  box-shadow: 0 4px 15px rgba(29, 111, 66, 0.25);
  transform: translateY(-2px);
}

.nav-deadlines-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mega Menu Dropdown */
.mega-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%; 
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
  min-width: 540px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  padding: 1.5rem;
  z-index: 50;
  transition: all 0.3s var(--ease-out);
  pointer-events: none;
}
/* Invisible bridge */
.mega-menu::before {
  content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 20px;
}
.has-dropdown:hover .mega-menu,
.has-dropdown.is-active .mega-menu { 
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto;
}

/* Modifier for menus on the right side of the screen (e.g. Calculators) */
.mega-menu--right {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(10px);
}
.has-dropdown:hover .mega-menu--right,
.has-dropdown.is-active .mega-menu--right {
  transform: translateX(0) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.mega-menu-link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}
.mega-menu-link:hover { 
  background: var(--clr-bg-alt); 
}
.mega-menu-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: #EBF5EE;
  color: var(--clr-accent);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.mega-menu-link:hover .mega-menu-icon {
  background: var(--clr-accent);
  color: #FFF;
  transform: scale(1.05);
}
.mega-menu-content { display: flex; flex-direction: column; }
.mega-menu-title {
  color: var(--clr-heading);
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  margin-bottom: 2px;
  transition: color 0.2s;
}
.mega-menu-link:hover .mega-menu-title { color: var(--clr-accent); }
.mega-menu-desc {
  color: var(--clr-text-muted);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.mobile-only-deadlines { display: none; }
.nav-search-btn { background: none; border: none; cursor: pointer; color: var(--clr-text); transition: color 0.2s; }
.nav-search-btn:hover { color: var(--clr-accent); }
.nav-deadlines-link { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--clr-accent); position: relative; }
.nav-deadlines-link::after { content:''; position:absolute; bottom:-2px; left:0; width:100%; height:1px; background:currentColor; transform:scaleX(0); transition:transform 0.2s; transform-origin: left; }
.nav-deadlines-link:hover::after { transform:scaleX(1); }

/* ── Hamburger Toggle Button ─────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  padding: 0;
  z-index: 1001;
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle:hover {
  transform: translateY(-1px);
}
.nav-toggle:active {
  transform: scale(0.93);
}
.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: var(--clr-accent);
  border-radius: 3px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease,
              width 0.3s ease,
              background-color 0.3s ease;
  transform-origin: center;
}
/* Middle bar is slightly shorter for a tapered look */
.nav-toggle__bar:nth-child(2) {
  width: 14px;
  align-self: flex-start;
  margin-left: 3px;
}
.nav-toggle:hover .nav-toggle__bar {
  background: #166534;
}
.nav-toggle:hover .nav-toggle__bar:nth-child(2) {
  width: 20px;
  margin-left: 0;
}
/* Active (X) state */
.nav-toggle.is-active .nav-toggle__bar {
  background: var(--clr-accent);
  width: 20px !important;
  margin-left: 0 !important;
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 6. Hero Section ────────────────────────────────────────────────────────── */
.hero {
  padding-top: 80px; padding-bottom: 64px;
  background: linear-gradient(180deg, #F0F4F8 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 120%; height: 120%;
  background: radial-gradient(circle, rgba(29, 111, 66, 0.04) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-accent);
  font-weight: var(--fw-medium);
  margin-bottom: 1rem;
}
.hero-title {
  margin-bottom: 1rem;
  color: #0D1B2A;
}
.hero-subtitle {
  font-size: var(--text-2xl);
  color: var(--clr-text);
  margin-bottom: 2.5rem;
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 4px 10px rgba(29, 111, 66, 0.2);
  }
  50% {
    box-shadow: 0 4px 20px rgba(29, 111, 66, 0.5);
  }
  100% {
    box-shadow: 0 4px 10px rgba(29, 111, 66, 0.2);
  }
}

.hero-search {
  width: 100%;
  max-width: 580px;
  margin: 0 auto 1.5rem;
  position: relative;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 100px;
  padding: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0,0,0,0.04);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.hero-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0,0,0,0.04);
  background: rgba(255, 255, 255, 0.9);
}
.hero-search:focus-within {
  transform: translateY(-2px);
  background: #FFF;
  border-color: var(--clr-accent);
  box-shadow: 0 12px 40px rgba(29, 111, 66, 0.15), 0 0 0 4px rgba(29, 111, 66, 0.1);
}
.hero-search-input {
  width: 100%;
  height: 48px;
  padding: 0 120px 0 1.25rem;
  border: none;
  border-radius: 100px;
  font-size: var(--text-base);
  font-family: var(--font-sans);
  background: transparent;
  color: var(--clr-heading);
  transition: all 0.3s;
}
.hero-search-input::placeholder {
  color: var(--clr-text-muted);
  opacity: 0.8;
  transition: opacity 0.3s;
}
.hero-search-input:focus {
  outline: none;
}
.hero-search-input:focus::placeholder {
  opacity: 0.4;
}
.hero-search-btn {
  position: absolute;
  right: 8px; top: 8px; height: 40px;
  background: var(--clr-accent);
  color: #FFF;
  border: none;
  border-radius: 100px;
  padding: 0 1.5rem;
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(29, 111, 66, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulseGlow 3s infinite 1s;
}
.hero-search-btn:hover {
  animation: none;
  background: var(--clr-accent-hover);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 16px rgba(29, 111, 66, 0.35);
}
.hero-search-btn:active {
  transform: translateY(1px) scale(0.98);
}

@media (max-width: 600px) {
  .hero-search-btn {
    padding: 0 1rem;
  }
  .hero-search-btn span {
    display: none; /* We'll need to wrap the word Search in a span */
  }
  .hero-search-input {
    padding: 0 60px 0 1rem;
    font-size: var(--text-sm);
  }
}

/* Search Dropdown */
.hero-search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  padding: 1.5rem;
  z-index: 10;
  text-align: left;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-search.is-active .hero-search-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.search-section {
  margin-bottom: 1.5rem;
}
.search-section:last-child {
  margin-bottom: 0;
}
.search-section-title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.5px;
}
.search-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--clr-heading);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
}
.search-list li a svg {
  color: var(--clr-text-muted);
  transition: color 0.2s;
}
.search-list li a:hover {
  background: var(--clr-bg-alt);
  color: var(--clr-accent);
}
.search-list li a:hover svg {
  color: var(--clr-accent);
}
.search-list li a span.highlight {
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.trust-microline {
  font-size: var(--text-sm);
  color: #888;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 0.5rem;
}
.trust-microline-item {
  display: inline-flex !important;
  align-items: center;
  flex-direction: row;
  gap: 6px;
  white-space: nowrap;
}
.trust-microline-item svg {
  display: inline-block !important;
  flex-shrink: 0;
}
.trust-microline-divider {
  color: #cbd5e1;
  user-select: none;
}
@media (max-width: 768px) {
  .trust-microline-divider {
    display: none;
  }
  .trust-microline {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}

/* ── 7. Filing Season Banner ────────────────────────────────────────────────── */
.season-banner {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFEFC2 100%);
  border-left: 4px solid var(--clr-warning-border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(229, 160, 0, 0.1);
}
.season-banner-icon { 
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; 
  background: rgba(229, 160, 0, 0.15); 
  border-radius: 50%; 
  color: #D97706; 
}
.season-banner-icon svg { width: 20px; height: 20px; fill: currentColor; }
.season-banner-text { flex: 1; font-size: var(--text-md); color: var(--clr-heading); }
.season-banner-text strong { font-weight: var(--fw-semibold); }
.season-banner-links { display: flex; align-items: center; gap: 1rem; }
.season-banner-links a { color: #B45309; font-weight: var(--fw-medium); }
.season-banner-links a.btn-pulse {
  background: #D97706; color: #FFF; padding: 6px 16px; border-radius: var(--radius-full);
  animation: pulse-warn 2s infinite;
  transition: all 0.2s;
}
.season-banner-links a.btn-pulse:hover {
  background: #B45309;
  transform: translateY(-1px);
}
@keyframes pulse-warn {
  0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(217, 119, 6, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

/* ── 8. Cards & Grids ───────────────────────────────────────────────────────── */
.section-header { margin-bottom: 3rem; text-align: left; }
.section-header--center { text-align: center; margin-inline: auto; max-width: 700px; }
.section-label { font-size: var(--text-sm); color: var(--clr-text-muted); font-weight: var(--fw-medium); margin-bottom: 0.5rem; display: block; }
.section-title { font-size: 32px; color: var(--clr-heading); margin-bottom: 1rem; }
.section-subtext { font-size: var(--text-lg); color: var(--clr-text-muted); }

.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; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.calc-card {
  background: #FFF;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.calc-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0,0,0,0.04);
  transform: translateY(-4px);
  border-color: rgba(29, 111, 66, 0.3);
}
.calc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--clr-accent) 0%, #34D399 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.calc-card:hover::after { opacity: 1; }
.calc-card-icon { font-size: 28px; color: var(--clr-accent); margin-bottom: 1rem; }
.calc-card-title { font-size: var(--text-md); font-weight: var(--fw-semibold); margin-bottom: 0.5rem; color: var(--clr-heading); }
.calc-card-desc { font-size: var(--text-sm); color: var(--clr-text-muted); line-height: 1.5; margin-bottom: 1rem; }
.calc-card-arrow { position: absolute; right: 20px; bottom: 20px; color: var(--clr-accent); font-weight: bold; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.calc-card:hover .calc-card-arrow { transform: translateX(4px); }

.pillar-card {
  background: #FFF;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--pillar-color, var(--clr-accent));
}
.pillar-card:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0,0,0,0.04);
  transform: translateY(-6px);
  border-color: var(--pillar-color, var(--clr-accent));
}
.pillar-card:hover .pillar-title { color: var(--pillar-color, var(--clr-accent)); }
.pillar-title { font-size: var(--text-xl); font-weight: var(--fw-semibold); color: var(--clr-heading); margin-bottom: 0.75rem; transition: color 0.2s; }
.pillar-snippet { font-size: var(--text-sm); color: var(--clr-text-muted); margin-bottom: 1rem; flex: 1; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.view-all-link { display: block; text-align: center; margin-top: 2rem; color: var(--clr-accent); font-size: var(--text-base); font-weight: var(--fw-medium); }
.view-all-link:hover { text-decoration: underline; }

/* ── 9. Featured Guides List ────────────────────────────────────────────────── */
.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.guide-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem;
  background: #FFF;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  font-weight: var(--fw-medium);
  color: var(--clr-heading);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.guide-item:hover { 
  color: var(--clr-accent); 
  border-color: rgba(29,111,66,0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}
.guide-item span.arrow { color: var(--clr-accent); transition: transform 0.3s; }
.guide-item:hover span.arrow { transform: translateX(4px); }
.guide-badge-new { background: #DCFCE7; color: #15803D; font-size: 11px; padding: 2px 8px; border-radius: 12px; margin-left: 8px; font-weight: var(--fw-bold); }
.guide-badge-update { background: #FEF3C7; color: #B45309; font-size: 11px; padding: 2px 8px; border-radius: 12px; margin-left: 8px; font-weight: var(--fw-bold); }

/* ── 10. Tax Deadlines Widget ───────────────────────────────────────────────── */
.deadline-table-container { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.deadline-table { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; background: #FFF; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.04); border: 1px solid var(--clr-border); }
.deadline-table th { background: #F8FAFC; color: var(--clr-text-muted); text-align: left; padding: 16px 20px; font-size: 12px; text-transform: uppercase; font-weight: var(--fw-bold); border-bottom: 1px solid var(--clr-border); letter-spacing: 0.05em; }
.deadline-table td { padding: 16px 20px; font-size: var(--text-md); color: var(--clr-heading); border-bottom: 1px solid var(--clr-border-light); transition: background 0.2s; }
.deadline-table tr:last-child td { border-bottom: none; }
.deadline-table tbody tr { transition: background 0.2s; }
.deadline-table tbody tr:hover td { background: #F8FAFC; }
.deadline-urgent { position: relative; }
.deadline-urgent td { background: #FFFBF0 !important; position: relative; }
.deadline-urgent td:first-child::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #F59E0B; }
.deadline-event { display: flex; align-items: center; }

/* ── 11. Trust Block (E-E-A-T) ──────────────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; }
.trust-item { display: flex; flex-direction: column; align-items: flex-start; }
.trust-icon { width: 48px; height: 48px; background: #FFF; border: 1px solid rgba(29, 111, 66, 0.1); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--clr-accent); font-size: 24px; margin-bottom: 1.25rem; box-shadow: 0 4px 10px rgba(0,0,0,0.04); }
.trust-title { font-size: var(--text-lg); font-weight: var(--fw-semibold); color: var(--clr-heading); margin-bottom: 0.5rem; }
.trust-desc { font-size: var(--text-base); color: var(--clr-text-muted); line-height: 1.5; }
.trust-disclaimer { text-align: center; font-size: var(--text-sm); color: #888; font-style: italic; margin-top: 2rem; }

/* ── 12. News Cards ─────────────────────────────────────────────────────────── */
.news-card {
  background: #FFF; border: 1px solid var(--clr-border); border-radius: var(--radius-lg); padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  border-color: rgba(29, 111, 66, 0.2);
}
.news-tag { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: var(--fw-bold); margin-bottom: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.news-tag.filing { background: #DCFCE7; color: #15803D; }
.news-tag.budget { background: #FEF3C7; color: #B45309; }
.news-tag.vat { background: #DBEAFE; color: #1D4ED8; }
.news-title { font-size: var(--text-lg); font-weight: var(--fw-bold); color: var(--clr-heading); margin-bottom: 10px; display: block; line-height: 1.4; transition: color 0.2s; }
.news-title:hover { color: var(--clr-accent); }
.news-date { font-size: 12px; color: #64748B; margin-bottom: 12px; display: block; font-weight: var(--fw-medium); }
.news-excerpt { font-size: var(--text-sm); color: var(--clr-text-muted); margin-bottom: 16px; line-height: 1.6; }
.news-readmore { font-size: var(--text-sm); color: var(--clr-accent); font-weight: var(--fw-bold); transition: transform 0.2s; display: inline-block; }
.news-card:hover .news-readmore { transform: translateX(4px); }

/* ── 13. Glossary Search ────────────────────────────────────────────────────── */
.glossary-section {
  background: linear-gradient(135deg, #0D1B2A 0%, #1A2E44 100%); color: #FFF; text-align: center; padding-block: 80px;
  position: relative; overflow: hidden;
}
.glossary-section::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 100%; height: 200%; background: radial-gradient(circle, rgba(29, 111, 66, 0.1) 0%, transparent 60%); pointer-events: none;
}
.glossary-title { color: #FFF; font-size: var(--text-4xl); margin-bottom: 1rem; position: relative; z-index: 1; }
.glossary-subtext { color: #94A3B8; font-size: var(--text-lg); margin-bottom: 2.5rem; max-width: 640px; margin-inline: auto; position: relative; z-index: 1; }
.glossary-search { max-width: 600px; margin: 0 auto 2rem; position: relative; z-index: 1; }
.glossary-input { width: 100%; height: 56px; border-radius: var(--radius-md); padding: 0 1.5rem; font-size: var(--text-base); border: 2px solid transparent; color: var(--clr-heading); transition: all 0.3s; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.glossary-input:focus { outline: none; border-color: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2), 0 8px 24px rgba(0,0,0,0.3); }
.glossary-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 2.5rem; position: relative; z-index: 1; }
.glossary-pill { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); color: #E2E8F0; padding: 6px 16px; border-radius: 20px; font-size: var(--text-sm); transition: all 0.2s; backdrop-filter: blur(4px); }
.glossary-pill:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: #FFF; transform: translateY(-1px); }
.glossary-link { color: #34D399; text-decoration: none; font-size: var(--text-base); font-weight: var(--fw-medium); position: relative; z-index: 1; transition: color 0.2s; }
.glossary-link:hover { color: #6EE7B7; text-decoration: underline; }

/* ── 14. Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--clr-bg-alt); color: var(--clr-text-muted); padding-top: 80px; position: relative; border-top: 1px solid var(--clr-border); }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--clr-accent) 0%, rgba(29, 111, 66, 0.2) 100%); }
.footer-container { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr; gap: 2rem; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); padding-bottom: 64px; }
.footer-logo-text { font-size: 28px; font-weight: var(--fw-bold); color: var(--clr-heading); display: block; margin-bottom: 0.5rem; letter-spacing: -0.5px; }
.footer-tagline { font-size: var(--text-sm); margin-bottom: 1.5rem; color: var(--clr-accent); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 0.5px; }
.footer-mission { font-size: var(--text-base); line-height: 1.6; margin-bottom: 2rem; color: var(--clr-text-muted); padding-right: 2rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { 
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #FFF; color: var(--clr-heading); 
  border: 1px solid var(--clr-border);
  font-weight: bold; font-size: 14px; transition: all 0.3s; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.footer-social a:hover { background: var(--clr-accent); color: #FFF; border-color: var(--clr-accent); transform: translateY(-3px); box-shadow: 0 4px 10px rgba(29,111,66,0.2); }
.footer-nav__heading { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--clr-heading); margin-bottom: 1.25rem; font-weight: var(--fw-bold); }
.footer-nav__list li { margin-bottom: 0.75rem; }
.footer-nav__list a { color: var(--clr-text-muted); font-size: var(--text-sm); transition: color 0.2s, transform 0.2s; display: inline-block; }
.footer-nav__list a:hover { color: var(--clr-accent); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid var(--clr-border); padding-block: 24px; background: #FFF; }
.footer-bottom__inner { 
  max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); 
  display: flex; flex-direction: column; gap: 0.5rem; font-size: 12px; color: var(--clr-text-muted); 
}
.footer-bottom__inner p { margin: 0; }

/* ── Scroll to Top Button ───────────────────────────────────────────────────── */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #FFF;
  color: var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
}
.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.scroll-progress circle {
  fill: transparent;
  stroke-width: 6;
}
.progress-bg {
  stroke: rgba(29, 111, 66, 0.1);
}
.progress-ring {
  stroke: var(--clr-accent);
  stroke-dasharray: 289.026; /* 2 * pi * 46 */
  stroke-dashoffset: 289.026;
  transition: stroke-dashoffset 0.1s linear;
}
.scroll-icon {
  position: relative;
  z-index: 2;
  transition: transform 0.3s;
}
.scroll-to-top:hover {
  background: var(--clr-accent);
  color: #FFF;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(29, 111, 66, 0.3);
}
.scroll-to-top:hover .progress-ring {
  stroke: rgba(255, 255, 255, 0.8);
}
.scroll-to-top:hover .scroll-icon {
  transform: translateY(-2px);
}
.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top.is-visible:hover {
  transform: translateY(-5px);
}

/* ── 15. Responsive Styles ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: repeat(2, 1fr); }
  .footer-col--about { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  /* ── Header stays above the drawer ─────────────────────────────────────── */
  body.nav-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
    z-index: 99999;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  }

  /* ── Full-screen slide-in drawer ────────────────────────────────────────── */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    /* Top padding accounts for sticky nav bar (72px) + breathing room */
    padding: 84px 0 100px;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease,
                visibility 0s linear 0.35s;
    z-index: 1000;
    /* Subtle inner decorative gradient at the top */
    background-image: linear-gradient(160deg, rgba(29,111,66,0.04) 0%, transparent 40%);
  }
  .nav-menu.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.2s ease,
                visibility 0s linear 0s;
  }

  /* ── Nav items ──────────────────────────────────────────────────────────── */
  .nav-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0 1.5rem;
    height: auto;
  }
  .nav-item:last-child { border-bottom: none; }

  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.05rem 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--clr-heading);
    letter-spacing: -0.1px;
  }
  .nav-link::after { display: none; }

  /* Chevron rotation on open dropdown */
  .has-dropdown.is-active > .nav-link .nav-chevron {
    transform: rotate(180deg);
    color: var(--clr-accent);
  }

  /* Active link highlight */
  .nav-link--active {
    color: var(--clr-accent);
  }

  /* ── CTA highlight button on mobile ────────────────────────────────────── */
  .nav-link--highlight {
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.85rem 1.5rem !important;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(29, 111, 66, 0.2);
  }

  /* ── Mega menu (accordion on mobile) ───────────────────────────────────── */
  .mega-menu {
    position: static;
    transform: none !important;
    background: #f8fdf9;
    border: none;
    border-left: 3px solid rgba(29, 111, 66, 0.2);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: none;
    min-width: 100% !important;
    max-height: none;
    overflow-y: visible;
    padding: 0.5rem 0 0.75rem 0.75rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin: 0.25rem 0 0.75rem;
  }

  .nav-link--highlight + .mega-menu {
    background: transparent;
    border-left-color: rgba(29, 111, 66, 0.15);
    margin-top: 0.35rem;
  }

  .has-dropdown.is-active .mega-menu {
    display: block;
    transform: none !important;
    animation: slideDownFade 0.22s ease forwards;
  }

  @keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .mega-menu-grid {
    grid-template-columns: 1fr !important;
    gap: 0.25rem;
  }
  .mega-menu-link {
    padding: 0.55rem 0.5rem;
    margin-left: 0;
    border-radius: var(--radius-sm);
    gap: 0.65rem;
  }
  .mega-menu-link:hover { background: rgba(29,111,66,0.06); }
  .mega-menu-icon { width: 30px; height: 30px; border-radius: 8px; font-size: 14px; }
  .mega-menu-title { font-size: 14px; font-weight: 600; }
  .mega-menu-desc { display: none; }

  /* ── Utility ────────────────────────────────────────────────────────────── */
  .nav-actions, .desktop-deadlines { display: none; }
  .mobile-only-deadlines {
    display: block;
    margin-top: 0.5rem;
    padding: 0 1.5rem;
  }
  .nav-toggle { display: flex; }

  /* ── Page content below nav ─────────────────────────────────────────────── */
  .hero { padding: 3rem 0 2rem; }
  .hero-title { font-size: 32px; line-height: 1.2; }
  .hero-subtitle { font-size: 16px; margin-bottom: 1.5rem; }
  .section-title { font-size: 28px; }
  .hero-search { max-width: 100%; }
  
  .season-banner { flex-direction: column; align-items: flex-start; text-align: left; padding: 1.5rem; gap: 1rem; }
  .season-banner-text { font-size: 14px; }
  .season-banner-links { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .guide-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  
  /* Typography & scaling */
  .hero-title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .hero-quick-links { gap: 8px; }
  .pill { font-size: 12px; padding: 6px 12px; }
  .trust-microline { font-size: 11px; line-height: 1.5; }
  .calc-card, .news-card { padding: 1.5rem; }
  .glossary-pill { font-size: 13px; padding: 6px 12px; }
  
  /* Tables */
  .deadline-table th, .deadline-table td { padding: 12px 14px; font-size: 14px; }
  .deadline-event svg { width: 16px; height: 16px; }

  /* Horizontal scroll for calc cards */
  .calc-scroll-wrapper {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: 1rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .calc-scroll-wrapper .calc-card { min-width: 280px; scroll-snap-align: start; }
}

/* ── 16. Author Block ───────────────────────────────────────────────────────── */
.author-block {
    margin-bottom: 24px;
    margin-top: 16px;
}
.author-block__review {
    display: inline-block;
    background-color: var(--clr-accent);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 8px;
}
.author-block__credits {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.6;
}
.author-block__review {
    display: inline-block;
    background-color: var(--clr-accent);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 8px;
}
.author-block__credits {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

/* Stunning Related Guides */
.link-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem 0;
}

.link-column {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-column::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent, var(--clr-accent, #1D6F42)), #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.link-column:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.link-column:hover::before {
    transform: scaleX(1);
}

.link-column h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-heading, var(--clr-text-heading, #0f172a));
    margin-top: 0;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-column li a {
    text-decoration: none;
    color: var(--color-text-muted, var(--clr-text-muted, #475569));
    font-size: 0.95rem;
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.4;
}

.link-column li a:hover {
    color: var(--color-accent, var(--clr-accent, #1D6F42));
    background: #ffffff;
    border-color: rgba(0,0,0,0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transform: translateX(4px);
}

/* ── 15. Homepage E-E-A-T Author Card ───────────────────────────────────────── */
.author-highlight-cards {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.author-card {
  display: flex;
  gap: 1.5rem;
  background: #FFF;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 800px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.author-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.author-card-avatar {
  width: 64px;
  height: 64px;
  background: var(--clr-accent-light);
  color: var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(29, 111, 66, 0.1);
}
.author-card-info h3 {
  font-size: var(--text-xl);
  color: var(--clr-heading);
  margin-bottom: 4px;
}
.author-credentials {
  font-size: var(--text-sm);
  color: var(--clr-accent);
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.author-bio {
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    gap: 1.25rem;
  }
}

/* ── 16. Homepage FAQ Accordion ─────────────────────────────────────────────── */
.homepage-faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-accordion-item {
  background: #FFF;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-accordion-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  border-color: rgba(29, 111, 66, 0.2);
}
.faq-accordion-header {
  padding: 20px 24px;
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--clr-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none; /* Hide default triangle */
  user-select: none;
}
.faq-accordion-header::-webkit-details-marker {
  display: none; /* Hide Safari default triangle */
}
.faq-accordion-header::after {
  content: '+';
  font-size: 24px;
  color: var(--clr-accent);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
details[open] .faq-accordion-header::after {
  content: '-';
  transform: rotate(180deg);
}
.faq-accordion-content {
  padding: 0 24px 24px;
  color: var(--clr-text-muted);
  line-height: 1.6;
  font-size: var(--text-base);
  animation: faq-slide-down 0.3s ease-out;
}
@keyframes faq-slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
