/**
 * Base Theme CSS
 * Provides default styling for all semantic classes used by components
 * Theme-specific CSS files extend and override these styles
 */

/* ============================================
   CSS CUSTOM PROPERTIES (set by ThemeWrapper)
   ============================================ */
:root {
  --color-primary: #3b82f6;
  --color-primary-rgb: 59, 130, 246;
  --color-secondary: #a78bfa;
  --color-secondary-rgb: 167, 139, 250;
  --color-accent: #22c55e;
  --color-accent-rgb: 34, 197, 94;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

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

.nav-logo-link {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-logo-image {
  height: 2.5rem;
  width: auto;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.nav-menu.desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-menu.desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s;
}

.nav-link:hover {
  color: #111827;
}

.nav-link.active {
  color: var(--color-primary);
}

.nav-link.mobile {
  display: block;
  padding: 0.75rem 1rem;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-dropdown-icon {
  transition: transform 0.2s;
}

.nav-dropdown-icon.open {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 12rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.mobile {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu.mobile {
  position: static;
  width: auto;
  box-shadow: none;
  border: none;
  background: #f9fafb;
  padding-left: 1rem;
}

.nav-dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #374151;
}

.nav-dropdown-item:hover {
  background: #f9fafb;
}

.nav-dropdown-item.active {
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.1);
}

.nav-cta-wrapper.desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta-wrapper.desktop {
    display: block;
  }
}

.nav-cta {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  color: white;
  background: var(--color-primary);
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-cta.mobile {
  display: block;
  text-align: center;
  margin: 1rem;
}

.nav-mobile-toggle {
  display: block;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-mobile-toggle {
    display: none;
  }
}

.nav-mobile-toggle:hover {
  background: #f3f4f6;
}

.nav-mobile-menu {
  display: block;
  border-top: 1px solid #e5e7eb;
  background: white;
}

@media (min-width: 768px) {
  .nav-mobile-menu {
    display: none;
  }
}

.nav-mobile-items {
  padding: 0.5rem 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image container for Next.js Image optimization */
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image img {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-decorative {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  width: 100%;
}

.hero-content {
  max-width: 48rem;
}

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

.hero-section.align-right .hero-content {
  margin-left: auto;
  text-align: right;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

/* Text colors when hero has background image */
.hero-section:has(.hero-bg-image) .hero-title {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-section:has(.hero-bg-image) .hero-description {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-section.align-center .hero-buttons {
  justify-content: center;
}

.hero-section.align-right .hero-buttons {
  justify-content: flex-end;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.hero-cta.primary {
  background: var(--color-primary);
  color: white;
}

.hero-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(var(--color-primary-rgb), 0.3);
}

.hero-cta.secondary {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}

.hero-cta.secondary:hover {
  background: var(--color-secondary);
  color: white;
}

.hero-image {
  display: none;
  position: relative;
  height: 400px;
  border-radius: 1rem;
  overflow: hidden;
}

.hero-image img {
  object-fit: cover;
  border-radius: 1rem;
}

@media (min-width: 1024px) {
  .hero-image {
    display: block;
  }
}

/* ============================================
   GRID SECTION
   ============================================ */
.grid-section {
  padding: 4rem 0;
  background: #f9fafb;
}

.grid-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid-header {
  text-align: center;
  margin-bottom: 3rem;
}

.grid-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.grid-description {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 48rem;
  margin: 0 auto;
}

.grid-items {
  display: grid;
  gap: 2rem;
}

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

.grid-items.cols-3 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-items.cols-4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .grid-items.cols-2,
  .grid-items.cols-3,
  .grid-items.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-items.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-items.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.grid-card-icon {
  width: 3rem;
  height: 3rem;
  background: var(--color-primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.grid-card-image {
  position: relative;
  height: 12rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.grid-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.grid-card-description {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.625;
}

.grid-card-button {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--color-primary);
  color: white;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s;
}

.grid-card-button:hover {
  opacity: 0.9;
}

/* ============================================
   PARAGRAPH + IMAGE SECTION
   ============================================ */
.paragraph-image-section {
  padding: 4rem 0;
  background: white;
}

.paragraph-image-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .paragraph-image-section:not(.text-only) .paragraph-image-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .paragraph-image-section.image-left .paragraph-content {
    order: 2;
  }

  .paragraph-image-section.image-left .paragraph-image {
    order: 1;
  }
}

.paragraph-image-section.text-only .paragraph-content {
  max-width: 48rem;
  margin: 0 auto;
}

.paragraph-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.paragraph-text {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.75;
  white-space: pre-wrap;
}

.paragraph-button-wrapper {
  margin-top: 2rem;
}

.paragraph-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--color-primary);
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s;
}

.paragraph-button:hover {
  opacity: 0.9;
}

.paragraph-image {
  position: relative;
  height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .paragraph-image {
    height: 500px;
  }
}

/* ============================================
   LOGOS SECTION
   ============================================ */
.logos-section {
  padding: 4rem 0;
  background: white;
}

.logos-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.logos-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 3rem;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .logos-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.logo-item {
  position: relative;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
}

.logo-item:hover .logo-image {
  filter: grayscale(0%);
  opacity: 1;
}

/* ============================================
   CUSTOM HTML SECTION
   ============================================ */
.custom-html-section {
  padding: 3rem 0;
}

.custom-html-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.custom-html-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.custom-html-content {
  max-width: none;
}

/* Statutory page content styling */
.custom-html-content .statutory-page,
.custom-html-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}

.custom-html-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
}

.custom-html-content h2:first-child {
  margin-top: 0;
}

.custom-html-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.custom-html-content h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #374151;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.custom-html-content p {
  margin-bottom: 1rem;
}

.custom-html-content ul,
.custom-html-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.custom-html-content ul {
  list-style-type: disc;
}

.custom-html-content ol {
  list-style-type: decimal;
}

.custom-html-content li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.custom-html-content li ul,
.custom-html-content li ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.custom-html-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.custom-html-content a:hover {
  color: #1d4ed8;
}

.custom-html-content strong {
  font-weight: 600;
  color: #111827;
}

.custom-html-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #4b5563;
  background: #f9fafb;
  padding: 1rem 1rem 1rem 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.custom-html-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.custom-html-content th,
.custom-html-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.custom-html-content th {
  font-weight: 600;
  color: #111827;
  background: #f9fafb;
}

.custom-html-content tr:hover {
  background: #f9fafb;
}

.custom-html-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

.custom-html-content address {
  font-style: normal;
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

/* Contact info box styling */
.custom-html-content .contact-info,
.custom-html-content div[class*="contact"] {
  background: #f3f4f6;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

/* Important notice styling */
.custom-html-content .important,
.custom-html-content .notice,
.custom-html-content .warning {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 4rem 0;
  background: white;
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.faq-description {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 40rem;
  margin: 0 auto;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #f9fafb;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #f3f4f6;
}

.faq-item.open .faq-question {
  background: rgba(var(--color-primary-rgb), 0.05);
  color: var(--color-primary);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  margin-left: 1rem;
  color: #6b7280;
}

.faq-item.open .faq-icon {
  color: var(--color-primary);
}

.faq-answer {
  padding: 1rem 1.25rem;
  color: #4b5563;
  line-height: 1.75;
  font-size: 1rem;
  border-top: 1px solid #e5e7eb;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #111827;
  color: #d1d5db;
  margin-top: 4rem;
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section {
  margin-bottom: 1rem;
}

.footer-heading {
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-content {
  font-size: 0.875rem;
  line-height: 1.75;
}

.footer-address {
  white-space: pre-line;
}

.footer-contact {
  margin-bottom: 0.5rem;
}

.footer-label {
  font-weight: 500;
}

.footer-link {
  color: #d1d5db;
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-subheading {
  color: white;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.footer-registration {
  margin-bottom: 0.75rem;
}

.footer-regulatory {
  margin: 0.75rem 0;
}

.footer-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #4b5563;
  border-radius: 0.375rem;
  margin-top: 0.75rem;
  transition: all 0.2s;
}

.footer-button:hover {
  border-color: white;
  color: white;
}

.footer-verify {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.footer-compliance {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
}

.footer-compliance-box {
  background: #1f2937;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.footer-compliance-heading {
  color: white;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-compliance-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-bottom {
  border-top: 1px solid #374151;
}

.footer-bottom-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* ============================================
   TEMPLATE COMPONENTS (for ServicePage etc.)
   ============================================ */
.template-hero,
.template-benefits,
.template-process,
.template-introduction,
.template-cta,
.template-header,
.template-footer {
  /* Inherit from base section styles */
}

.template-hero {
  position: relative;
  padding: 4rem 1rem;
  background-size: cover;
  background-position: center;
}

.template-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.template-hero-container {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
}

.template-hero-content {
  max-width: 48rem;
}

.template-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.template-hero[style*="background-image"] .template-hero-title {
  color: white;
}

.template-hero-description {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 2rem;
}

.template-hero[style*="background-image"] .template-hero-description {
  color: rgba(255, 255, 255, 0.9);
}

.template-hero-cta {
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.template-hero-cta:hover {
  opacity: 0.9;
}

.template-benefits {
  padding: 4rem 1rem;
  background: #f9fafb;
}

.template-benefits-container {
  max-width: 80rem;
  margin: 0 auto;
}

.template-benefits-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #111827;
}

.template-benefits-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .template-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.template-benefit-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.template-benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.template-benefit-description {
  color: #4b5563;
}

.template-header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 40;
}

.template-header-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.template-header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.template-header-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.template-header-address {
  font-size: 0.875rem;
  color: #6b7280;
}

.template-header-contact {
  display: none;
  gap: 1.5rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .template-header-contact {
    display: flex;
  }
}

.template-header-link {
  color: #6b7280;
  transition: color 0.2s;
}

.template-header-link:hover {
  color: #111827;
}

.template-footer {
  background: #111827;
  color: white;
  padding: 3rem 1rem;
}

.template-footer-container {
  max-width: 80rem;
  margin: 0 auto;
}

.template-footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .template-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.template-footer-heading {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.template-footer-text {
  color: #9ca3af;
  font-size: 0.875rem;
}

.template-footer-contact,
.template-footer-compliance {
  color: #9ca3af;
  font-size: 0.875rem;
}

.template-footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}
