/**
 * JDS Kadence Child — Block Styles
 * Styles for CMS-native block patterns
 */

/* ──────────────────────────────────────
   0. Base / Resets
   ────────────────────────────────────── */
html {
  overflow-x: hidden !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* Prevent Kadence alignfull blocks from causing overflow */
.alignfull {
  max-width: 100vw !important;
  overflow-x: hidden;
}

/* But allow overflow on the state-selector section so the dropdown isn't clipped */
.alignfull:has(.jds-state-selector) {
  overflow: visible !important;
}

/* Remove gap between adjacent full-width homepage sections */
body.home .entry-content > .wp-block-group.alignfull + .wp-block-group.alignfull {
  margin-top: 0 !important;
}

.site {
  overflow-x: hidden;
}

/* Override grey body background on pages so no grey peeks through gaps */
body.page,
body.single,
body.home {
  background: #ffffff !important;
}

/* Kill Kadence boxed layout gap on all pages */
body.content-style-boxed .site .content-wrap,
body.content-style-boxed .site .content-container,
body.content-style-boxed .site #primary,
body.content-style-boxed .site .entry-content-wrap,
body.content-style-boxed .site .entry.content-bg {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}

/* Remove Kadence header bottom border/shadow */
#masthead,
#masthead .site-header-row-container-inner,
.site-main-header-wrap .site-header-row-container-inner,
.site-header-inner-wrap {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Zero out ALL wrapper elements between header and content — HOMEPAGE ONLY */
body.home main#inner-wrap,
body.home main.wrap {
  padding: 0 !important;
  margin: 0 !important;
}

body.home .content-container.site-container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.home #primary.content-area {
  padding: 0 !important;
  margin: 0 !important;
}

body.home #main.site-main {
  padding: 0 !important;
  margin: 0 !important;
}

body.home .content-wrap {
  padding: 0 !important;
  margin: 0 !important;
}

body.home .entry-content-wrap {
  padding: 0 !important;
  margin: 0 !important;
}

body.home article.entry.content-bg {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

body.home .entry-content.single-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Remove the vertical padding Kadence adds above content — HOMEPAGE ONLY */
body.home.content-vertical-padding-show .content-area .content-container .entry-content-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ──────────────────────────────────────
   INNER PAGES (Services, About, etc.)
   ────────────────────────────────────── */

/* Inner page content area */
body.page:not(.home) .entry-content-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page:not(.home) article.entry.content-bg {
  background: transparent !important;
  box-shadow: none !important;
}

/* Let alignfull blocks break out on inner pages too */
body.page:not(.home) .entry-content .alignfull {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

/* Inner page hero banner (first group with green bg) */
body.page:not(.home) .entry-content > .wp-block-group:first-child h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Inner page headings */
body.page:not(.home) .entry-content h2.wp-block-heading {
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 1rem;
}

body.page:not(.home) .entry-content h3.wp-block-heading {
  font-weight: 700;
  letter-spacing: -0.005em;
}

/* Service card styling on inner pages */
body.page:not(.home) .entry-content .wp-block-group[style*="border-radius"] {
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.page:not(.home) .entry-content .wp-block-group[style*="border-radius"]:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Inner page list styling */
body.page:not(.home) .entry-content ul {
  list-style: none;
  padding-left: 0;
}

body.page:not(.home) .entry-content ul:not(.woocommerce-MyAccount-navigation ul) li:not([class*="navigation-link"]) {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

body.page:not(.home) .entry-content ul:not(.woocommerce-MyAccount-navigation ul) li:not([class*="navigation-link"])::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

/* Exclude WooCommerce My Account navigation from checkmark styling */
.woocommerce-MyAccount-navigation ul li::before {
  content: none !important;
}
.woocommerce-MyAccount-navigation ul li {
  padding-left: 0 !important;
}

/* Override for legal/policy pages — use normal disc bullets */
body.page:not(.home) .entry-content .has-theme-palette-5-color ul li::before,
body.page:not(.home) .entry-content ol li::before {
  display: none;
}

body.page:not(.home) .entry-content ol {
  padding-left: 1.5rem;
}

/* Inner page paragraph spacing */
body.page:not(.home) .entry-content p {
  line-height: 1.8;
}

/* Inner page buttons */
body.page:not(.home) .entry-content .wp-block-button__link {
  transition: all 0.25s ease;
  font-weight: 600;
}

body.page:not(.home) .entry-content .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

/* Inner page separator */
body.page:not(.home) .entry-content hr.wp-block-separator {
  border-color: #e5e7eb;
  opacity: 0.6;
}

/* Contact page columns */
body.page:not(.home) .entry-content .wp-block-columns {
  gap: 2rem;
}

/* Inner page animate-in for groups */
body.page:not(.home) .entry-content > .wp-block-group {
  animation: jds-fadeIn 0.5s ease both;
}

body.page:not(.home) .entry-content > .wp-block-group:nth-child(2) {
  animation-delay: 0.1s;
}

body.page:not(.home) .entry-content > .wp-block-group:nth-child(3) {
  animation-delay: 0.2s;
}

body.page:not(.home) .entry-content > .wp-block-group:nth-child(4) {
  animation-delay: 0.3s;
}

/* Remove WooCommerce empty notices wrapper gap */
.woocommerce-notices-wrapper:empty,
.woocommerce-notices-wrapper,
.kadence-woo-messages-none-woo-pages {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove default list styling in pricing */
.jds-pricing-card ul,
.jds-pricing-card ol {
  list-style: none !important;
  padding-left: 0 !important;
}

/* ──────────────────────────────────────
   1. Hero Section
   ────────────────────────────────────── */
.jds-dashboard-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.06),
    0 10px 40px -4px rgba(0, 0, 0, 0.08);
  animation: jds-float 6s ease-in-out infinite;
}

.jds-dashboard-card h4 {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.02em;
}

.jds-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.813rem;
}

.jds-card-row:last-child {
  border-bottom: 0;
}

.jds-card-row span:first-child {
  color: #6b7280;
  font-weight: 500;
}

.jds-card-row span:last-child {
  font-weight: 600;
  color: #111827;
}

.jds-card-row .jds-badge-active {
  display: inline-block;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 0.688rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.jds-card-row .jds-badge-compliant {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.688rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

@keyframes jds-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Star rating alignment fix */
.jds-hero-badge ~ .wp-block-group .has-text-color[style*="facc15"],
.wp-block-group[style*="margin-top:2rem"] > p {
  display: flex;
  align-items: center;
  line-height: 1;
  margin: 0;
}

/* Ensure the stars + review text flex row aligns vertically */
.wp-block-group[style*="margin-top:2rem"][class*="is-layout-flex"] {
  align-items: center !important;
}

.wp-block-group[style*="margin-top:2rem"][class*="is-layout-flex"] > p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.2 !important;
}

/* ──────────────────────────────────────
   2. Service Cards
   ────────────────────────────────────── */
.jds-service-card {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.jds-service-card:hover {
  border-color: #d1fae5;
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.08);
  transform: translateY(-4px);
}

.jds-service-card--featured {
  border-color: #bbf7d0;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.jds-service-card a {
  text-decoration: none;
}

.jds-service-card a:hover {
  text-decoration: underline;
}

/* ──────────────────────────────────────
   3. Step Cards (How it Works)
   ────────────────────────────────────── */
.jds-step-card .wp-block-group {
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.jds-step-card:hover .wp-block-group {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

/* ──────────────────────────────────────
   4. Pricing Cards
   ────────────────────────────────────── */
.jds-pricing-card {
  transition: all 0.3s ease;
}

.jds-pricing-card:hover {
  transform: translateY(-4px);
}

.jds-pricing-card .wp-block-group {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.jds-pricing-card:hover .wp-block-group {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.jds-pricing-card--featured {
  transform: scale(1.03);
  z-index: 1;
  position: relative;
}

.jds-pricing-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.jds-pricing-card--featured .wp-block-group {
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.12);
}

/* ──────────────────────────────────────
   5. State Selector
   ────────────────────────────────────── */

/* Allow custom-select dropdown to escape the white card container */
.jds-state-selector-wrap,
.wp-block-group:has(> .jds-state-selector),
.wp-block-group:has(> .wp-block-group > .jds-state-selector) {
  overflow: visible !important;
}

.jds-state-selector {
  max-width: 100%;
}

.jds-state-selector__row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.jds-state-selector__field {
  flex: 1;
}

.jds-state-selector__field label {
  display: block;
  font-size: 0.813rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.jds-state-selector__field select {
  width: 100%;
  padding: 1rem 2.75rem 1rem 1.125rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #111827;
  background: #ffffff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  line-height: 1.4;
}

.jds-state-selector__field select:hover {
  border-color: #bbf7d0;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.08);
}

.jds-state-selector__field select:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12), 0 2px 8px rgba(22, 163, 74, 0.08);
}

.jds-state-selector__field select option {
  padding: 0.75rem 1rem;
  font-size: 0.938rem;
  font-weight: 500;
}

/* Custom Select Dropdown */
.jds-custom-select {
  position: relative;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.jds-custom-select__display {
  width: 100%;
  padding: 1rem 2.75rem 1rem 1.125rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  line-height: 1.4;
  user-select: none;
}

.jds-custom-select__display.placeholder {
  color: #9ca3af;
}

.jds-custom-select__display:hover {
  border-color: #bbf7d0;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.08);
}

.jds-custom-select.open .jds-custom-select__display {
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12), 0 2px 8px rgba(22, 163, 74, 0.08);
}

.jds-custom-select__arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  cursor: pointer;
  color: #6b7280;
  transition: transform 0.3s ease, color 0.2s ease;
  display: flex;
  align-items: center;
}

.jds-custom-select.open .jds-custom-select__arrow {
  transform: translateY(-50%) rotate(180deg);
  color: #16a34a;
}

.jds-custom-select__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  max-height: 280px;
  overflow-y: auto;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.jds-custom-select.open .jds-custom-select__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  border-color: #16a34a;
}

.jds-custom-select__dropdown::-webkit-scrollbar {
  width: 6px;
}

.jds-custom-select__dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.jds-custom-select__dropdown::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.jds-custom-select__option {
  padding: 0.75rem 1.125rem;
  font-size: 0.938rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
  border-bottom: 1px solid #f9fafb;
}

.jds-custom-select__option:last-child {
  border-bottom: none;
}

.jds-custom-select__option:hover {
  background: #f0fdf4;
  color: #16a34a;
}

.jds-custom-select__option.selected {
  background: #f0fdf4;
  color: #16a34a;
  font-weight: 600;
}

.jds-custom-select__option.selected::after {
  content: '✓';
  float: right;
  font-weight: 700;
  color: #16a34a;
}

.jds-custom-select__option.placeholder {
  color: #9ca3af;
  font-style: italic;
}

.jds-state-selector__result {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  animation: jds-fadeIn 0.3s ease;
}

.jds-state-selector__breakdown {
  margin-bottom: 1.25rem;
}

.jds-state-selector__line {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.jds-state-selector__total {
  border-top: 2px solid #e5e7eb;
  margin-top: 0.375rem;
  padding-top: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.jds-state-selector__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.875rem 1.5rem;
  background: #16a34a;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.938rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.jds-state-selector__cta:hover {
  background: #15803d;
  color: #ffffff;
}

/* ──────────────────────────────────────
   5b. Hero Entity Selector
   ────────────────────────────────────── */
.jds-hero-selector {
  margin-top: 0.5rem;
}

.jds-hero-selector__tabs {
  display: inline-flex;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.jds-hero-selector__tab {
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.jds-hero-selector__tab:hover {
  color: #111827;
}

.jds-hero-selector__tab.active {
  background: #ffffff;
  color: #16a34a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.jds-hero-selector__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.jds-hero-selector__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: #16a34a;
  color: #ffffff !important;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.jds-hero-selector__cta:hover {
  background: #15803d;
}

.jds-hero-selector__outline {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: transparent;
  color: #15803d !important;
  border: 2px solid #16a34a;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.jds-hero-selector__outline:hover {
  background: #f0fdf4;
}

/* ──────────────────────────────────────
   6. FAQ Accordion
   ────────────────────────────────────── */
.jds-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jds-faq-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jds-faq-item:hover {
  border-color: #d1d5db;
}

.jds-faq-item.active {
  border-color: #bbf7d0;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.06);
}

.jds-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.938rem;
  font-weight: 600;
  color: #111827;
  font-family: 'Inter', sans-serif;
  text-align: left;
  transition: color 0.2s ease;
}

.jds-faq-question:hover {
  color: #16a34a;
}

.jds-faq-question svg {
  flex-shrink: 0;
  margin-left: 1rem;
  color: #9ca3af;
  transition: transform 0.3s ease, color 0.2s ease;
}

.jds-faq-item.active .jds-faq-question svg {
  transform: rotate(180deg);
  color: #16a34a;
}

.jds-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.jds-faq-item.active .jds-faq-answer {
  max-height: 300px;
  padding: 1rem 1.5rem 1.25rem;
}

.jds-faq-answer p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b7280;
}

/* ──────────────────────────────────────
   7. Animations
   ────────────────────────────────────── */
@keyframes jds-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.jds-animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.jds-animate-in.jds-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ──────────────────────────────────────
   8. Responsive
   ────────────────────────────────────── */
@media (max-width: 782px) {

  /* Stack columns on mobile */
  .jds-pricing-card--featured {
    transform: scale(1);
    order: -1;
  }
  .jds-pricing-card--featured:hover {
    transform: translateY(-4px);
  }

  /* State selector row stack */
  .jds-state-selector__row {
    flex-direction: column;
  }

  /* Dashboard card hide on mobile hero */
  .jds-dashboard-card {
    display: none;
  }

  /* Hero selector: stack on mobile */
  .jds-hero-selector__tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .jds-hero-selector__tab {
    padding: 0.5rem 1rem;
    font-size: 0.813rem;
  }

  .jds-hero-selector__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .jds-hero-selector__cta,
  .jds-hero-selector__outline {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  /* Tighten padding on small screens */
  .jds-service-card {
    padding: 1.5rem;
  }

  .jds-faq-question {
    font-size: 0.875rem;
    padding: 1rem 1.25rem;
  }
}

/* ──────────────────────────────────────
   FOOTER
   ────────────────────────────────────── */
.jds-footer {
  background: #111827;
  color: #d1d5db;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 0;
  /* Bust out of any Kadence container */
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(-50vw + 50%) !important;
  position: relative;
}

.jds-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Main Footer Grid ── */
.jds-footer-main {
  padding: 3.5rem 0 2.5rem;
}

.jds-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

/* ── Company Column ── */
.jds-footer-brand {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.jds-footer-desc {
  color: #9ca3af;
  margin: 0 0 1.5rem;
  line-height: 1.7;
}

/* Contact items */
.jds-footer-contact {
  margin-bottom: 1.5rem;
}

.jds-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  color: #d1d5db;
}

.jds-footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #16a34a;
  stroke: #16a34a;
}

.jds-footer-contact-item a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s;
}

.jds-footer-contact-item a:hover {
  color: #16a34a;
}

/* Social icons */
.jds-footer-social {
  display: flex;
  gap: 0.75rem;
}

.jds-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  transition: all 0.2s;
}

.jds-footer-social a:hover {
  background: #16a34a;
  color: #ffffff;
}

.jds-footer-social a svg {
  fill: currentColor;
}

/* ── Link Columns ── */
.jds-footer-heading {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

.jds-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jds-footer-links li {
  margin-bottom: 0.5rem;
}

.jds-footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.jds-footer-links a:hover {
  color: #16a34a;
}

/* ── Login CTA Button ── */
.jds-footer-cta {
  margin-top: 1.25rem;
}

.jds-footer-login-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid #16a34a;
  border-radius: 8px;
  color: #16a34a;
  font-weight: 600;
  font-size: 0.813rem;
  text-decoration: none;
  transition: all 0.2s;
}

.jds-footer-login-btn:hover {
  background: #16a34a;
  color: #ffffff;
}

/* ── Bottom Bar ── */
.jds-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}

.jds-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.jds-footer-copyright {
  color: #6b7280;
  font-size: 0.813rem;
}

.jds-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.jds-footer-legal a {
  color: #6b7280;
  font-size: 0.813rem;
  text-decoration: none;
  transition: color 0.2s;
}

.jds-footer-legal a:hover {
  color: #d1d5db;
}

/* ── Footer Responsive ── */
@media (max-width: 1024px) {
  .jds-footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  .jds-footer-company {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .jds-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .jds-footer-company {
    grid-column: 1 / -1;
  }
  .jds-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .jds-footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .jds-footer-grid {
    grid-template-columns: 1fr;
  }
  .jds-footer-main {
    padding: 2rem 0 1.5rem;
  }
}

/* ──────────────────────────────────────
   FOOTER DISCLAIMER
   ────────────────────────────────────── */

.jds-footer-disclaimer {
  background: #111827;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
}

.jds-footer-disclaimer p {
  max-width: 960px;
  margin: 0 auto;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #9ca3af;
  text-align: center;
}

.jds-footer-disclaimer p strong {
  color: #d1d5db;
}

/* Hide Kadence's default footer when our custom one is active */
.site-footer:not(.jds-footer) {
  display: none !important;
}
