/**
 * Homepage foundation styles — scoped to front page only (.sa-home / .page-id-4).
 * Design tokens: PREMIUM DARK GREEN
 */
.sa-home {
  --bg-deep: #003C35;
  --bg-dark: #002F2A;
  --bg-darkest: #002722;
  --bg-green: #0B4938;
  --bg-olive: #3E612A;
  --text-primary: #E8D9B9;
  --text-secondary: #C8B994;
  --text-light: #F5EBD5;
  --accent: #B5A269;
  --accent-hover: #D2C08A;
  --border: rgba(181, 162, 105, 0.30);
  --sa-primary: var(--accent);
  --sa-dark: var(--bg-dark);
  --sa-bg: var(--bg-deep);
  --sa-text: var(--text-primary);
  --sa-muted: var(--text-secondary);
  --sa-border: var(--border);
  --sa-card: rgba(255, 255, 255, 0.04);
  --sa-accent: var(--accent);
  --sa-radius: 14px;
  --sa-shadow: 0 10px 28px rgba(0, 39, 34, 0.28);
  --sa-container: 1240px;
  --sa-space: 88px;
  --sa-space-sm: 56px;
  color: var(--text-primary);
  background: var(--bg-dark);
}

.sa-home .section-content,
.sa-home .row:not(.row-full-width) {
  max-width: var(--sa-container);
}

/* Section rhythm */
.sa-home .sa-section {
  padding-top: var(--sa-space);
  padding-bottom: var(--sa-space);
}

.sa-home .sa-section--tight {
  padding-top: 64px;
  padding-bottom: 64px;
}

.sa-home .sa-section--hero {
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    radial-gradient(900px 420px at 88% 12%, rgba(62, 97, 42, 0.35), transparent 58%),
    radial-gradient(700px 380px at 8% 90%, rgba(0, 60, 53, 0.55), transparent 60%),
    linear-gradient(110deg, #003C35 0%, #00453A 55%, #3E612A 100%);
  color: var(--text-primary);
}

.sa-home .sa-section--alt {
  background: var(--bg-dark);
}

.sa-home .sa-section--dark {
  background: var(--bg-darkest);
  color: var(--text-primary);
}

.sa-home .sa-section--cta {
  background: linear-gradient(110deg, #003C35 0%, #0B4938 48%, #3E612A 100%);
  color: var(--text-primary);
}

/* Eyebrow / titles */
.sa-home .sa-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(181, 162, 105, 0.12);
  border: 1px solid rgba(181, 162, 105, 0.28);
}

.sa-home .sa-section--hero .sa-eyebrow,
.sa-home .sa-section--dark .sa-eyebrow,
.sa-home .sa-section--cta .sa-eyebrow {
  color: var(--text-light);
  background: rgba(181, 162, 105, 0.16);
  border-color: rgba(181, 162, 105, 0.35);
}

.sa-home .sa-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.sa-home .sa-section--hero .sa-title {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}

.sa-home .sa-lead {
  margin: 0 0 28px;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(232, 217, 185, 0.72);
}

.sa-home .sa-section--hero .sa-lead,
.sa-home .sa-section--dark .sa-lead,
.sa-home .sa-section--cta .sa-lead {
  color: rgba(232, 217, 185, 0.78);
}

.sa-home .sa-section-head {
  margin-bottom: 36px;
}

.sa-home .sa-section-head.is-center {
  text-align: center;
}

.sa-home .sa-section-head.is-center .sa-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.sa-home .sa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sa-home .sa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sa-home .sa-btn:hover {
  transform: translateY(-1px);
}

.sa-home .sa-btn--primary {
  background: var(--text-primary);
  color: var(--bg-deep);
  box-shadow: none;
}

.sa-home .sa-btn--primary:hover {
  background: var(--accent-hover);
  color: var(--bg-deep);
}

.sa-home .sa-btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--accent);
}

.sa-home .sa-btn--ghost:hover {
  background: rgba(181, 162, 105, 0.10);
  color: var(--text-light);
}

.sa-home .sa-btn--solid {
  background: var(--text-primary);
  color: var(--bg-deep);
}

.sa-home .sa-btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--accent);
}

/* Cards / empty slots — structure only, no fake data */
.sa-home .sa-grid {
  display: grid;
  gap: 20px;
}

.sa-home .sa-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sa-home .sa-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sa-home .sa-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sa-home .sa-grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sa-home .sa-card,
.sa-home .sa-slot {
  background: var(--sa-card);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  box-shadow: var(--sa-shadow);
  overflow: hidden;
}

.sa-home .sa-slot {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  text-align: center;
  background:
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border-style: dashed;
  box-shadow: none;
}

.sa-home .sa-slot__label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sa-muted);
}

.sa-home .sa-slot__hint {
  margin: 0;
  font-size: 0.75rem;
  color: #8a94a8;
}

.sa-home .sa-slot--media {
  min-height: 200px;
  aspect-ratio: 16 / 10;
}

.sa-home .sa-slot--logo {
  min-height: 88px;
  aspect-ratio: 3 / 2;
}

.sa-home .sa-slot--number {
  min-height: 120px;
}

.sa-home .sa-slot--video {
  min-height: 180px;
  aspect-ratio: 16 / 9;
}

.sa-home .sa-empty {
  margin: 0;
  padding: 28px 20px;
  text-align: center;
  border: 1px dashed var(--sa-border);
  border-radius: var(--sa-radius);
  background: rgba(255, 255, 255, 0.65);
  color: var(--sa-muted);
  font-size: 0.95rem;
}

.sa-home .sa-section--dark .sa-empty,
.sa-home .sa-section--cta .sa-empty {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

/* About layout */
.sa-home .sa-about-media {
  min-height: 280px;
}

.sa-home .sa-about-copy .sa-lead {
  margin-bottom: 0;
}

/* CTA */
.sa-home .sa-cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.sa-home .sa-cta-inner .sa-actions {
  justify-content: center;
}

/* Reduce default Flatsome page padding noise on blank template */
.page-id-4 .page-wrapper,
.home .page-wrapper {
  padding-top: 0;
}

.page-id-4 .page-title,
.home .page-title-wrapper {
  display: none;
}

/* Responsive */
@media (max-width: 992px) {
  .sa-home {
    --sa-space: 72px;
  }

  .sa-home .sa-grid--4,
  .sa-home .sa-grid--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sa-home .sa-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sa-home {
    --sa-space: var(--sa-space-sm);
  }

  .sa-home .sa-section--hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .sa-home .sa-grid--2,
  .sa-home .sa-grid--3,
  .sa-home .sa-grid--4,
  .sa-home .sa-grid--6 {
    grid-template-columns: 1fr;
  }

  .sa-home .sa-grid--cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sa-home .sa-actions {
    width: 100%;
  }

  .sa-home .sa-btn {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .sa-home .sa-grid--cats {
    grid-template-columns: 1fr;
  }

  .sa-home .sa-title {
    font-size: 1.45rem;
  }
}

/* Phase 4 — Woo wiring (non-premium leftovers; premium overrides below) */
.sa-home .sa-woo-cats:not(.sa-woo-cats--premium) .product-category,
.sa-home .sa-woo-cats:not(.sa-woo-cats--premium) .col {
  margin-bottom: 0;
}

.sa-home .sa-woo-products .product-small.box {
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  box-shadow: var(--sa-shadow);
  background: #fff;
  overflow: hidden;
}

/* ========== Phase 5 — Hero + Product Categories ========== */
.sa-home {
  --sa-accent: var(--accent);
}

.sa-home .sa-section--hero.sa-hero {
  --sa-hero-min: 650px;
  min-height: var(--sa-hero-min);
  display: flex;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    radial-gradient(820px 380px at 86% 16%, rgba(181, 162, 105, 0.16), transparent 55%),
    radial-gradient(900px 480px at 10% 88%, rgba(11, 73, 56, 0.45), transparent 62%),
    linear-gradient(110deg, #003C35 0%, #00453A 55%, #3E612A 100%);
  overflow: hidden;
}

.sa-home .sa-hero__row {
  width: 100%;
}

.sa-home .sa-hero__eyebrow {
  background: rgba(181, 162, 105, 0.16);
  color: var(--text-light);
  border: 1px solid rgba(181, 162, 105, 0.35);
}

.sa-home .sa-hero__title {
  max-width: 14ch;
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.sa-home .sa-hero__title-em {
  display: inline-block;
  color: var(--text-light);
  position: relative;
}

.sa-home .sa-hero__title-em::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 12px;
  background: var(--sa-accent);
  border-radius: 2px;
}

.sa-home .sa-hero__desc {
  max-width: 36rem;
  margin-bottom: 28px;
  color: rgba(232, 217, 185, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

.sa-home .sa-hero__actions {
  margin-bottom: 22px;
}

.sa-home .sa-hero .sa-btn--primary {
  background: var(--text-primary);
  color: var(--bg-deep);
  box-shadow: none;
}

.sa-home .sa-hero .sa-btn--primary:hover {
  background: var(--accent-hover);
  color: var(--bg-deep);
}

.sa-home .sa-hero .sa-btn--ghost {
  border-color: var(--accent);
  color: var(--text-primary);
}

.sa-home .sa-hero__trust {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(232, 217, 185, 0.72);
  letter-spacing: 0.01em;
}

.sa-home .sa-hero-visual {
  width: 100%;
}

.sa-home .sa-hero-visual__panel {
  min-height: 360px;
  height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(
      -25deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 14px
    );
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

.sa-home .sa-hero-visual__mark {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(8, 43, 87, 0.35);
  border: 1px solid rgba(255, 176, 0, 0.35);
  color: var(--sa-accent);
  margin-bottom: 6px;
}

.sa-home .sa-hero-visual__label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.sa-home .sa-hero-visual__hint {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Categories */
.sa-home .sa-categories .sa-section-head {
  margin-bottom: 40px;
}

/* ========== Premium category cards (custom markup — no Flatsome image-cover) ========== */
.sa-home .sa-woo-cats--premium {
  width: 100%;
}

.sa-home .sa-woo-cats--premium .sa-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}

.sa-home .sa-woo-cats--premium .sa-cat-card {
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: #fff;
  border: 1px solid #E3EAF3;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(8, 43, 87, 0.05);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sa-home .sa-woo-cats--premium .sa-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(8, 43, 87, 0.1);
  border-color: #c9d6e8;
}

.sa-home .sa-woo-cats--premium .sa-cat-card__media {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  overflow: hidden;
}

.sa-home .sa-woo-cats--premium .sa-cat-card__img,
.sa-home .sa-woo-cats--premium .sa-cat-card__media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 28px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
  transition: transform 0.22s ease;
  z-index: 1;
}

.sa-home .sa-woo-cats--premium .sa-cat-card:hover .sa-cat-card__img,
.sa-home .sa-woo-cats--premium .sa-cat-card:hover .sa-cat-card__media img {
  transform: scale(1.03);
}

.sa-home .sa-woo-cats--premium .sa-cat-card__img-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: #eef3f9;
}

.sa-home .sa-woo-cats--premium .sa-cat-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  padding: 14px 16px 16px;
  background: #fff;
  border-top: 1px solid #E3EAF3;
}

.sa-home .sa-woo-cats--premium .sa-cat-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sa-home .sa-woo-cats--premium .sa-cat-card__name {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.sa-home .sa-woo-cats--premium .sa-cat-card__count {
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7689;
}

.sa-home .sa-woo-cats--premium .sa-cat-card__arrow {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #D5DEEA;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23082B57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px 16px no-repeat;
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.sa-home .sa-woo-cats--premium .sa-cat-card:hover .sa-cat-card__arrow {
  border-color: var(--accent);
  background-color: rgba(6, 78, 163, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23064EA3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
  .sa-home .sa-woo-cats--premium .sa-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .sa-home .sa-woo-cats--premium .sa-cat-card__img,
  .sa-home .sa-woo-cats--premium .sa-cat-card__media img {
    padding: 24px !important;
  }
}

@media (max-width: 374px) {
  .sa-home .sa-woo-cats--premium .sa-cat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Responsive — Hero */
@media (max-width: 1024px) {
  .sa-home .sa-section--hero.sa-hero {
    --sa-hero-min: 560px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .sa-home .sa-hero-visual__panel {
    min-height: 280px;
  }
}

@media (max-width: 849px) {
  .sa-home .sa-section--hero.sa-hero {
    --sa-hero-min: 0;
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .sa-home .sa-hero__title {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .sa-home .sa-hero-media {
    margin-top: 8px;
  }

  .sa-home .sa-hero-visual__panel {
    min-height: 220px;
  }

  .sa-home .sa-hero__actions {
    width: 100%;
  }

  .sa-home .sa-hero .sa-btn {
    flex: 1 1 auto;
    min-width: calc(50% - 6px);
  }
}

@media (max-width: 430px) {
  .sa-home .sa-hero .sa-btn {
    width: 100%;
    min-width: 100%;
  }

  .sa-home .sa-hero__trust {
    font-size: 0.8rem;
  }
}

@media (max-width: 320px) {
  .sa-home .sa-hero__title {
    font-size: 1.55rem;
  }

  .sa-home .sa-hero-visual__panel {
    min-height: 180px;
  }
}

/* Prevent horizontal overflow on homepage */
.sa-home,
.sa-home .sa-section--hero,
.sa-home .sa-categories {
  max-width: 100%;
  overflow-x: clip;
}

/* ========== Phase 6 — About + Why Choose Us ========== */
.sa-home .sa-about__title {
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.sa-home .sa-about__title-em {
  display: inline-block;
  position: relative;
}

.sa-home .sa-about__title-em::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 12px;
  background: var(--sa-accent, #FFB000);
  border-radius: 2px;
}

.sa-home .sa-about__desc {
  margin-bottom: 22px;
  color: var(--sa-muted);
}

.sa-home .sa-about__points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sa-home .sa-about__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--sa-text);
}

.sa-home .sa-about__point-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: rgba(6, 78, 163, 0.1);
  color: var(--sa-primary);
}

.sa-home .sa-about-visual__panel {
  min-height: 340px;
  height: 100%;
  border-radius: 18px;
  border: 1px solid var(--sa-border);
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 176, 0, 0.14), transparent 42%),
    linear-gradient(160deg, #eef4fb 0%, #e2ebf7 100%);
  box-shadow: var(--sa-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px;
  text-align: center;
  color: var(--sa-dark);
}

.sa-home .sa-about-visual__mark {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--sa-primary);
  background: #fff;
  border: 1px solid rgba(6, 78, 163, 0.16);
  box-shadow: 0 8px 20px rgba(8, 43, 87, 0.08);
  margin-bottom: 4px;
}

.sa-home .sa-about-visual__label {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.sa-home .sa-about-visual__hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--sa-muted);
}

.sa-home .sa-about .sa-btn--solid {
  background: var(--sa-primary);
  color: #fff;
}

.sa-home .sa-about .sa-btn--solid:hover {
  background: var(--sa-dark);
  color: #fff;
}

/* Why cards */
.sa-home .sa-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sa-home .sa-why-card {
  background: var(--sa-card);
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  box-shadow: var(--sa-shadow);
  padding: 24px 20px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.sa-home .sa-why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(8, 43, 87, 0.12);
  border-color: rgba(6, 78, 163, 0.25);
}

.sa-home .sa-why-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.sa-home .sa-why-card__num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--sa-accent, #FFB000);
}

.sa-home .sa-why-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  color: var(--sa-primary);
  background: rgba(6, 78, 163, 0.08);
  border: 1px solid rgba(6, 78, 163, 0.12);
}

.sa-home .sa-why-card__title {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--sa-dark);
  text-transform: uppercase;
}

.sa-home .sa-why-card__text {
  margin: 0;
  color: var(--sa-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .sa-home .sa-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 849px) {
  .sa-home .sa-about-visual__panel {
    min-height: 240px;
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .sa-home .sa-why__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 481px) and (max-width: 640px) {
  .sa-home .sa-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========== Phase 7 — Full visual upgrade ========== */
.sa-home {
  --sa-container: 1240px;
  --sa-space: 80px;
  --sa-space-sm: 52px;
}

.sa-home .section-content,
.sa-home .row:not(.row-full-width) {
  max-width: var(--sa-container);
  margin-left: auto;
  margin-right: auto;
}

.sa-home .sa-section-head {
  margin-bottom: 28px;
}

.sa-home .sa-section-head .sa-lead {
  margin-bottom: 0;
}

/* Hero refinements */
.sa-home .sa-section--hero.sa-hero {
  --sa-hero-min: 620px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.sa-home .sa-hero__title {
  max-width: 18ch;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.18;
  text-transform: none;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.sa-home .sa-hero__title-em::after {
  display: none;
}

.sa-home .sa-hero-visual__panel {
  min-height: 300px;
}

.sa-home .sa-hero__desc {
  margin-bottom: 22px;
}

/* Categories — section spacing */
.sa-home .sa-categories {
  padding-top: 40px;
  padding-bottom: 72px;
}

/* Featured empty state less tall */
.sa-home .sa-featured .sa-empty {
  padding: 20px 16px;
  margin-bottom: 12px;
}

.sa-home .sa-woo-products .row .col {
  margin-bottom: 0;
}

/* Projects mosaic: 1 large + 3 small */
.sa-home .sa-projects__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 420px;
}

.sa-home .sa-project {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sa-border);
  background: #fff;
  box-shadow: var(--sa-shadow);
  text-decoration: none;
  color: inherit;
  min-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sa-home .sa-project:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(8, 43, 87, 0.12);
}

.sa-home .sa-project--large {
  grid-row: 1 / span 2;
  grid-column: 1;
}

.sa-home .sa-project__media {
  flex: 1 1 auto;
  min-height: 120px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 176, 0, 0.12), transparent 40%),
    linear-gradient(160deg, #e8eef8, #d9e4f3);
}

.sa-home .sa-project--large .sa-project__media {
  min-height: 260px;
}

.sa-home .sa-project__body {
  padding: 14px 16px 16px;
  background: #fff;
}

.sa-home .sa-project__tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sa-primary);
}

.sa-home .sa-project__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sa-dark);
}

.sa-home .sa-project__text {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--sa-muted);
}

/* News: 1 featured + 2 small */
.sa-home .sa-news__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 360px;
}

.sa-home .sa-news-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sa-border);
  background: #fff;
  box-shadow: var(--sa-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sa-home .sa-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(8, 43, 87, 0.12);
}

.sa-home .sa-news-card--featured {
  grid-row: 1 / span 2;
}

.sa-home .sa-news-card:not(.sa-news-card--featured) {
  flex-direction: row;
}

.sa-home .sa-news-card__media {
  min-height: 120px;
  background:
    radial-gradient(circle at 30% 30%, rgba(6, 78, 163, 0.12), transparent 45%),
    linear-gradient(160deg, #edf3fa, #dde7f4);
}

.sa-home .sa-news-card--featured .sa-news-card__media {
  min-height: 210px;
  flex: 1;
}

.sa-home .sa-news-card:not(.sa-news-card--featured) .sa-news-card__media {
  width: 42%;
  min-height: 100%;
  flex: 0 0 42%;
}

.sa-home .sa-news-card__body {
  padding: 14px 16px 16px;
}

.sa-home .sa-news-card__meta {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sa-accent, #FFB000);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sa-home .sa-news-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sa-dark);
}

.sa-home .sa-news-card__excerpt {
  margin: 8px 0 0;
  color: var(--sa-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Videos — 3 cards */
.sa-home .sa-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sa-home .sa-video-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sa-border);
  background: #fff;
  box-shadow: var(--sa-shadow);
}

.sa-home .sa-video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 176, 0, 0.16), transparent 40%),
    linear-gradient(160deg, #0a2d57, #064ea3);
}

.sa-home .sa-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.sa-home .sa-video-card__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--sa-primary);
}

.sa-home .sa-video-card__title {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sa-dark);
}

/* Partners track / carousel */
.sa-home .sa-partners__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.sa-home .sa-partners__item {
  scroll-snap-align: start;
  min-height: 88px;
  border-radius: 12px;
  border: 1px dashed var(--sa-border);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--sa-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Numbers */
.sa-home .sa-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sa-home .sa-number-card {
  text-align: center;
  padding: 22px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sa-home .sa-number-card__value {
  display: block;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--sa-accent, #FFB000);
  line-height: 1.1;
  margin-bottom: 8px;
}

.sa-home .sa-number-card__label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

/* CTA */
.sa-home .sa-cta .sa-cta-inner {
  padding: 8px 0;
}

.sa-home .sa-cta .sa-title {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

/* About visual slightly tighter */
.sa-home .sa-about-visual__panel {
  min-height: 300px;
}

/* Responsive Phase 7 */
@media (max-width: 1024px) {
  .sa-home .sa-projects__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .sa-home .sa-project--large {
    grid-column: 1 / span 2;
    grid-row: auto;
  }
  .sa-home .sa-news__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .sa-home .sa-news-card--featured {
    grid-row: auto;
  }
  .sa-home .sa-news-card:not(.sa-news-card--featured) {
    flex-direction: row;
  }
  .sa-home .sa-videos__grid {
    grid-template-columns: 1fr;
  }
  .sa-home .sa-numbers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sa-home .sa-section--hero.sa-hero {
    --sa-hero-min: 0;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .sa-home .sa-hero__title {
    max-width: none;
    font-size: clamp(1.55rem, 7vw, 2rem);
  }
  .sa-home .sa-hero-visual__panel {
    min-height: 200px;
  }
  .sa-home .sa-projects__grid {
    grid-template-columns: 1fr;
  }
  .sa-home .sa-project--large {
    grid-column: auto;
  }
  .sa-home .sa-news-card:not(.sa-news-card--featured) {
    flex-direction: column;
  }
  .sa-home .sa-news-card:not(.sa-news-card--featured) .sa-news-card__media {
    width: 100%;
    flex-basis: auto;
    min-height: 140px;
  }
  .sa-home .sa-numbers__grid {
    grid-template-columns: 1fr 1fr;
  }
  .sa-home .sa-partners__item {
    min-width: 140px;
  }
}

@media (max-width: 320px) {
  .sa-home .sa-numbers__grid {
    grid-template-columns: 1fr;
  }
}

/* Real media photos */
.sa-home .sa-hero-visual__photo,
.sa-home .sa-about-visual__photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  height: 100%;
  min-height: 300px;
}

.sa-home .sa-about-visual__photo {
  border-color: var(--sa-border);
  box-shadow: var(--sa-shadow);
  min-height: 300px;
}

.sa-home .sa-hero-visual__photo img,
.sa-home .sa-about-visual__photo img,
.sa-home .sa-project__media img,
.sa-home .sa-news-card__media img,
.sa-home .sa-video-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sa-home .sa-hero-visual__photo img {
  min-height: 300px;
  max-height: 420px;
}

.sa-home .sa-about-visual__photo img {
  min-height: 300px;
  max-height: 420px;
}

.sa-home .sa-project__media,
.sa-home .sa-news-card__media {
  position: relative;
  overflow: hidden;
}

.sa-home .sa-video-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sa-home .sa-video-card__thumb {
  background: var(--bg-darkest);
}

/* ========== Featured products — carousel + premium cards ========== */
.sa-home .sa-featured {
  overflow: hidden;
}

.sa-home .sa-feat-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.sa-home .sa-feat-carousel.row-slider {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.sa-home .sa-feat-carousel .sa-feat-slide {
  padding: 0 10px;
  margin-bottom: 0 !important;
}

.sa-home .sa-feat-carousel .col-inner {
  margin: 0;
  height: 100%;
}

.sa-home .sa-feat-carousel .flickity-button {
  background: #fff;
  border: 1px solid #D5DEEA;
  box-shadow: 0 4px 14px rgba(8, 43, 87, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.sa-home .sa-feat-carousel .flickity-button:hover {
  background: var(--bg-green);
  border-color: var(--accent);
}

.sa-home .sa-feat-carousel .flickity-button:hover .flickity-button-icon {
  fill: #fff;
}

.sa-home .sa-feat-carousel .flickity-prev-next-button.previous {
  left: -6px;
}

.sa-home .sa-feat-carousel .flickity-prev-next-button.next {
  right: -6px;
}

.sa-home .sa-feat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sa-home .sa-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(6, 78, 163, 0.14);
}

.sa-home .sa-feat-card__media {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 200px;
  aspect-ratio: 5 / 4;
  background: #fff;
  border-bottom: 1px solid #E3EAF3;
  overflow: hidden;
}

.sa-home .sa-feat-card__media img,
.sa-home .sa-feat-card__img {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 18px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  z-index: 1 !important;
}

.sa-home .sa-feat-card__img-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: #f3f6fb;
}

.sa-home .sa-feat-card__badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  flex: 0 0 auto;
}

.sa-home .sa-feat-card__badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: var(--bg-green);
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  min-width: 0;
}

.sa-home .sa-feat-card__badge:last-child {
  border-right: 0;
}

.sa-home .sa-feat-card__badge-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.sa-home .sa-feat-card__badge-value {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sa-home .sa-feat-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 12px 16px;
  text-align: center;
  flex: 1;
}

.sa-home .sa-feat-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.sa-home .sa-feat-card__sku {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #6b7689;
}

.sa-home .sa-feat-card__price {
  margin-top: auto;
  padding-top: 6px;
  font-size: 17px;
  font-weight: 800;
  color: #c1121f;
  line-height: 1.2;
}

.sa-home .sa-feat-carousel__cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.sa-home .sa-feat-carousel__cta .sa-btn {
  min-width: 220px;
}

@media (max-width: 849px) {
  .sa-home .sa-feat-carousel .sa-feat-slide.small-6 {
    width: 58% !important;
    max-width: 58% !important;
    flex-basis: 58% !important;
  }

  .sa-home .sa-feat-card {
    min-height: 390px;
  }

  .sa-home .sa-feat-carousel .flickity-prev-next-button.previous {
    left: 2px;
  }

  .sa-home .sa-feat-carousel .flickity-prev-next-button.next {
    right: 2px;
  }
}

@media (max-width: 429px) {
  .sa-home .sa-feat-carousel .sa-feat-slide.small-6 {
    width: 78% !important;
    max-width: 78% !important;
    flex-basis: 78% !important;
  }

  .sa-home .sa-feat-card {
    min-height: 360px;
  }

  .sa-home .sa-feat-card__media img,
  .sa-home .sa-feat-card__img {
    padding: 14px !important;
  }
}

/* Phase 10 — Coming soon blocks (Projects / News / Videos) */
.sa-home .sa-coming {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 22px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--sa-border, #d7dde8);
  border-radius: var(--sa-radius, 12px);
  box-shadow: var(--sa-shadow, 0 8px 24px rgba(8, 43, 87, 0.06));
}

.sa-home .sa-coming__text {
  margin: 0 0 18px;
  color: var(--sa-muted, #5b6478);
  font-size: 1rem;
  line-height: 1.5;
}

.sa-home .sa-coming .sa-actions {
  justify-content: center;
}

.sa-home .sa-videos .sa-coming,
.sa-home .sa-projects .sa-coming {
  background: #fff;
}

.sa-home .sa-news .sa-coming {
  background: #fff;
}

/* Phase 11 — Demo partners / numbers / notes */
.sa-home .sa-partners__item--mono {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  padding: 14px 10px;
  background: #fff;
  border: 1px solid var(--sa-border, #d7dde8);
  border-radius: 12px;
}

.sa-home .sa-partners__mono {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--sa-primary, #064EA3);
}

.sa-home .sa-partners__name {
  font-size: 0.72rem;
  color: var(--sa-muted, #5b6478);
  text-align: center;
  line-height: 1.3;
}

.sa-home .sa-demo-note {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--sa-muted, #5b6478);
}

.sa-home .sa-demo-note--light {
  color: rgba(232, 217, 185, 0.72);
}

/* ========== PREMIUM DARK GREEN color layer ========== */
body.sa-home,
body.sa-home #wrapper,
body.sa-home #main,
body.sa-home .page-wrapper {
  background: var(--bg-dark, #002F2A) !important;
  color: var(--text-primary, #E8D9B9);
}

.sa-home .sa-about {
  background:
    radial-gradient(700px 320px at 90% 20%, rgba(62, 97, 42, 0.22), transparent 60%),
    linear-gradient(110deg, #003C35 0%, #0B4938 70%, #2f4d28 100%);
}

.sa-home .sa-categories,
.sa-home .sa-why,
.sa-home .sa-videos {
  background: #002F2A;
}

.sa-home .sa-featured,
.sa-home .sa-news {
  background: #003C35;
}

.sa-home .sa-projects {
  background: #002722;
}

.sa-home .sa-partners {
  background: #0B4938;
}

.sa-home .sa-title,
.sa-home .sa-hero__title,
.sa-home .sa-about__title,
.sa-home .sa-why-card__title,
.sa-home .sa-project__title,
.sa-home .sa-news-card__title,
.sa-home .sa-video-card__title,
.sa-home .sa-cat-card__name,
.sa-home .sa-feat-card__title {
  color: var(--text-primary);
}

.sa-home .sa-cat-card,
.sa-home .sa-feat-card,
.sa-home .sa-why-card,
.sa-home .sa-project,
.sa-home .sa-news-card,
.sa-home .sa-video-card,
.sa-home .sa-partners__item,
.sa-home .sa-partners__item--mono,
.sa-home .sa-number-card,
.sa-home .sa-coming {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(181, 162, 105, 0.22);
  color: var(--text-primary);
  box-shadow: 0 10px 24px rgba(0, 39, 34, 0.22);
}

.sa-home .sa-cat-card:hover,
.sa-home .sa-feat-card:hover,
.sa-home .sa-why-card:hover,
.sa-home .sa-project:hover,
.sa-home .sa-news-card:hover,
.sa-home .sa-video-card:hover,
.sa-home .sa-partners__item:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(0, 39, 34, 0.32);
}

.sa-home .sa-cat-card__media,
.sa-home .sa-feat-card__media {
  background: #F5EBD5;
  border-bottom: 1px solid rgba(181, 162, 105, 0.22);
}

.sa-home .sa-cat-card__footer,
.sa-home .sa-feat-card__body {
  background: transparent;
  border-top-color: rgba(181, 162, 105, 0.18);
}

.sa-home .sa-cat-card__count,
.sa-home .sa-feat-card__sku,
.sa-home .sa-project__text,
.sa-home .sa-news-card__excerpt,
.sa-home .sa-why-card__text,
.sa-home .sa-demo-note {
  color: rgba(232, 217, 185, 0.72);
}

.sa-home .sa-feat-card__badge {
  background: var(--bg-green);
  color: var(--text-light);
  border-right-color: rgba(181, 162, 105, 0.28);
}

.sa-home .sa-feat-card__price {
  color: var(--text-light);
}

.sa-home .sa-feat-card__badge-label,
.sa-home .sa-news-card__meta,
.sa-home .sa-project__tag {
  color: var(--accent);
}

.sa-home .sa-project__body .sa-project__tag,
.sa-home .sa-project__body .sa-project__title,
.sa-home .sa-project__body .sa-project__text {
  color: #111111;
}

.sa-home .sa-cat-card__arrow {
  border-color: rgba(181, 162, 105, 0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23B5A269' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.sa-home .sa-cat-card:hover .sa-cat-card__arrow {
  border-color: var(--accent-hover);
  background-color: rgba(181, 162, 105, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23D2C08A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.sa-home .sa-why-card__num,
.sa-home .sa-why-card__icon,
.sa-home .sa-about__point-icon {
  color: var(--accent);
  background: rgba(181, 162, 105, 0.12);
}

.sa-home .sa-number-card__value {
  color: var(--text-light);
}

.sa-home .sa-number-card__label {
  color: rgba(232, 217, 185, 0.72);
}

.sa-home .sa-partners__mono {
  color: var(--accent);
}

.sa-home .sa-feat-carousel .flickity-button {
  background: rgba(0, 47, 42, 0.92);
  border: 1px solid rgba(181, 162, 105, 0.45);
}

.sa-home .sa-feat-carousel .flickity-button .flickity-button-icon {
  fill: var(--text-primary);
}

.sa-home .sa-feat-carousel .flickity-button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.sa-home .sa-feat-carousel .flickity-button:hover .flickity-button-icon {
  fill: var(--bg-deep);
}

.sa-home .sa-video-card__play {
  border-color: var(--accent);
}

.sa-home .sa-demo-note--light {
  color: rgba(232, 217, 185, 0.72);
}

/* ========== Homepage catalog: fixed vertical filter ========== */
.sa-home .sa-catalog {
  width: min(1240px, calc(100% - 40px));
  margin: 28px auto 12px;
}

.sa-home .sa-catalog__bar {
  display: none;
}

.sa-home .sa-catalog__layout {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.sa-home .sa-catalog__side {
  position: static;
  top: auto;
  left: auto;
  flex: 0 0 260px;
  width: 260px;
  height: auto;
  background: #0A3732;
  overflow: visible;
}

.sa-home .sa-catalog__side .sa-filter {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100%;
  max-width: 260px;
  max-height: none !important;
  border-radius: 14px;
  background: #0A3732;
  color: #f5e9c8;
  border-color: rgba(245, 233, 200, 0.16);
}

.sa-home .sa-catalog__side .sa-filter__toggle,
.sa-home .sa-catalog__side .sa-filter__name,
.sa-home .sa-catalog__side .sa-filter__more,
.sa-home .sa-catalog__side .sa-filter__price-readout,
.sa-home .sa-catalog__side .sa-filter__price-fields label {
  color: #f5e9c8;
}

.sa-home .sa-catalog__side .sa-filter__count {
  color: rgba(245, 233, 200, 0.72);
}

.sa-home .sa-catalog__side .sa-filter__group {
  border-bottom-color: rgba(245, 233, 200, 0.14);
}

.sa-home .sa-catalog__side .sa-filter__chevron {
  border-color: #f5e9c8;
}

.sa-home .sa-catalog__side .sa-filter__search,
.sa-home .sa-catalog__side .sa-filter__price-fields input {
  background: #062824;
  border-color: rgba(245, 233, 200, 0.22);
  color: #f5e9c8;
}

.sa-home .sa-catalog__side .sa-filter__box {
  background: transparent;
  border-color: rgba(245, 233, 200, 0.7);
}

.sa-home .sa-catalog__side .sa-filter__ranges {
  height: 36px;
  margin: 6px 0 14px;
}

.sa-home .sa-catalog__side .sa-filter__ranges::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 99px;
  background: #F5B87A;
  pointer-events: none;
  z-index: 0;
}

.sa-home .sa-catalog__side .sa-filter__ranges input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 36px;
  background: transparent !important;
  z-index: 1;
}

.sa-home .sa-catalog__side .sa-filter__ranges input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border: 0;
}

.sa-home .sa-catalog__side .sa-filter__ranges input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
  border: 0;
}

.sa-home .sa-catalog__side .sa-filter__ranges input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 3px solid #fff6ec;
  border-radius: 50%;
  background: #F5B87A;
  box-shadow: 0 0 0 1px #e08a3c;
  cursor: pointer;
}

.sa-home .sa-catalog__side .sa-filter__ranges input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid #fff6ec;
  border-radius: 50%;
  background: #F5B87A;
  box-shadow: 0 0 0 1px #e08a3c;
  cursor: pointer;
}

.sa-home .sa-catalog__main {
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 1025px) {
  .sa-home .sa-catalog__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    column-gap: 28px;
    align-items: start;
  }

  .sa-home .sa-catalog__intro {
    grid-column: 2;
    grid-row: 1;
  }

  .sa-home .sa-catalog__side {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
  }

  .sa-home .sa-catalog__main {
    grid-column: 2;
    grid-row: 2;
    margin-left: 0;
  }
}

.sa-home .sa-catalog .sa-categories {
  padding: 0 0 36px;
  background: transparent;
}

.sa-home .sa-catalog .sa-home-products {
  padding-bottom: 48px;
}

.sa-home .sa-catalog__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sa-home .sa-catalog__products.is-loading {
  opacity: 0.45;
}

.sa-home .sa-catalog__empty {
  grid-column: 1 / -1;
  margin: 0;
  color: #f5e9c8;
}

.sa-home .sa-catalog .sa-filter-chips {
  margin-bottom: 16px;
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .sa-home .sa-catalog__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .sa-home .sa-catalog__bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
  }

  .sa-home .sa-catalog__open,
  .sa-home .sa-catalog__sort,
  .sa-home .sa-catalog__sort select {
    flex: 1 1 0;
    min-height: 44px;
  }

  .sa-home .sa-catalog__open,
  .sa-home .sa-catalog__sort select {
    width: 100%;
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .sa-home .sa-catalog__open {
    border: 0;
    background: #075b46;
    color: #f5e9c8;
  }

  .sa-home .sa-catalog__sort select {
    padding: 0 12px;
    border: 1px solid rgba(245, 233, 200, 0.35);
    background: transparent;
    color: #f5e9c8;
  }

  .sa-home .sa-catalog__layout {
    display: block;
  }

  .sa-home .sa-catalog__side,
  body.admin-bar.sa-home .sa-catalog__side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(92vw, 420px);
    max-width: 420px;
    max-height: none;
    margin: 0;
    overflow: auto;
    background: #0A3732;
    transform: translateX(-105%);
    transition: transform 0.35s ease;
    z-index: 1110;
  }

  .sa-home .sa-filter__head,
  .sa-home .sa-filter__footer {
    display: flex;
  }

  .sa-home .sa-catalog__main {
    margin-left: 0;
  }

  body.sa-home.sa-filter-open .sa-catalog__side {
    transform: translateX(0);
  }

  .sa-home .sa-catalog__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .sa-home .sa-catalog {
    width: min(100% - 28px, 1240px);
  }
}

@media (max-width: 479px) {
  .sa-home .sa-catalog__products {
    grid-template-columns: 1fr;
  }
}

/* ========== Hero UX Slider — 3 full slides ========== */
.sa-home .sa-hero-ux {
  position: relative;
  z-index: 40;
  width: 100%;
  max-width: none;
  margin: 0;
  background: #003D35;
}

.sa-home .sa-hero-ux .slider,
.sa-home .sa-hero-ux .flickity-viewport {
  height: 660px;
}

.sa-home .sa-hero-ux .sa-hero-slide {
  position: relative;
  height: 660px;
  min-height: 660px;
  max-height: 660px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(118deg, #003D35 0%, #075B46 48%, #183F31 100%);
  color: #E8D9B9;
}

.sa-home .sa-hero-ux .sa-hero-slide .section-bg img.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.sa-home .sa-hero-ux .sa-hero-slide .section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 46% at 18% 100%, rgba(46, 140, 96, 0.22), transparent 70%),
    radial-gradient(ellipse 36% 40% at 78% 96%, rgba(90, 170, 120, 0.16), transparent 68%),
    linear-gradient(90deg, #003D35 0%, rgba(0, 61, 53, 0.94) 36%, rgba(7, 91, 70, 0.28) 62%, rgba(7, 91, 70, 0.05) 100%),
    linear-gradient(180deg, rgba(0, 61, 53, 0) 62%, rgba(0, 47, 42, 0.35) 84%, #002F2A 100%);
}

.sa-home .sa-hero-ux .sa-hero-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: 170px;
  pointer-events: none;
  opacity: 0.2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath fill='%23d8ffe8' d='M0 128C190 186 340 42 560 84C790 128 900 206 1110 154C1270 114 1360 36 1440 74V220H0Z'/%3E%3Cpath fill='%237dcea0' d='M0 168C250 108 430 208 700 156C980 102 1120 198 1440 136V220H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.sa-home .sa-hero-ux .sa-hero-slide .section-content,
.sa-home .sa-hero-ux .sa-hero-slide__row {
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
}

.sa-home .sa-hero-ux .sa-hero-slide .section-content {
  position: relative;
  z-index: 3;
}

.sa-home .sa-hero-ux .sa-hero-slide__row {
  display: flex;
  align-items: center;
}

.sa-home .sa-hero-ux .row-collapse > .col.sa-hero-slide__copy {
  flex: 0 0 45%;
  max-width: 45%;
  position: relative;
  z-index: 3;
  padding: 28px 32px 56px max(150px, calc((100vw - 1240px) / 2)) !important;
}

.sa-home .sa-hero-ux .sa-hero-slide__media {
  flex: 0 0 55%;
  max-width: 55%;
  position: relative;
  z-index: 3;
  height: 660px;
}

.sa-home .sa-hero-ux .sa-hero-slide__eyebrow {
  margin: 0 0 12px;
  color: #D2C08A;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.sa-home .sa-hero-ux .sa-hero-slide__title {
  margin: 0 0 14px;
  max-width: 12em;
  color: #E8D9B9;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-transform: none;
}

.sa-home .sa-hero-ux .sa-hero-slide__desc {
  margin: 0 0 22px;
  max-width: 34rem;
  color: rgba(232, 217, 185, 0.84);
  font-size: 16px;
  line-height: 1.6;
}

.sa-home .sa-hero-ux .sa-hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 26px;
}

.sa-home .sa-hero-ux .sa-hero-slide__btn.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  transition: background-color 0.45s ease, border-color 0.45s ease, color 0.45s ease;
}

.sa-home .sa-hero-ux .sa-hero-slide__btn--primary.button {
  background: #E8D9B9;
  border: 1px solid #E8D9B9;
  color: #003D35;
}

.sa-home .sa-hero-ux .sa-hero-slide__btn--primary.button:hover {
  background: #D2C08A;
  border-color: #D2C08A;
  color: #003D35;
}

.sa-home .sa-hero-ux .sa-hero-slide__btn--ghost.button {
  background: transparent;
  border: 1px solid rgba(232, 217, 185, 0.55);
  color: #E8D9B9;
}

.sa-home .sa-hero-ux .sa-hero-slide__btn--ghost.button:hover {
  border-color: #D2C08A;
  color: #D2C08A;
}

.sa-home .sa-hero-ux .sa-hero-slide__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sa-home .sa-hero-ux .sa-hero-slide__metrics li {
  min-width: 0;
  margin: 0;
  padding: 0 12px 0 0;
}

.sa-home .sa-hero-ux .sa-hero-slide__metrics li + li {
  padding-left: 12px;
  border-left: 1px solid rgba(232, 217, 185, 0.22);
}

.sa-home .sa-hero-ux .sa-hero-slide__metrics strong,
.sa-home .sa-hero-ux .sa-hero-slide__metrics span {
  display: block;
}

.sa-home .sa-hero-ux .sa-hero-slide__metrics strong {
  color: #F5EBD5;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.sa-home .sa-hero-ux .sa-hero-slide__metrics span {
  margin-top: 3px;
  color: rgba(232, 217, 185, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.sa-home .sa-hero-ux .sa-hero-slide__media .img,
.sa-home .sa-hero-ux .sa-hero-slide__media .img-inner {
  height: 100%;
  margin: 0;
  padding: 0 !important;
  background: transparent;
}

.sa-home .sa-hero-ux .sa-hero-slide__media img {
  width: 100%;
  height: 660px;
  object-fit: cover;
  object-position: center center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
}

.sa-home .sa-hero-ux .sa-hero-slide__card {
  position: absolute;
  z-index: 4;
  right: 8%;
  bottom: 78px;
  max-width: 220px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(232, 217, 185, 0.28);
  border-radius: 14px;
  background: rgba(0, 47, 42, 0.55);
  color: #F5EBD5;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.sa-home .sa-hero-ux .flickity-page-dots {
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 6;
  pointer-events: auto;
}

.sa-home .sa-hero-ux .flickity-page-dots .dot {
  width: 8px;
  height: 8px;
  margin: 0 5px;
  border: 0;
  border-radius: 50%;
  background: rgba(232, 217, 185, 0.4);
  opacity: 1;
}

.sa-home .sa-hero-ux .flickity-page-dots .dot.is-selected {
  width: 10px;
  height: 10px;
  background: #E8D9B9;
  opacity: 1;
}

.sa-home .sa-hero-ux .flickity-prev-next-button {
  top: 50%;
  bottom: auto;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  color: #E8D9B9;
  opacity: 0 !important;
  transition: opacity 0.4s ease;
}

.sa-home .sa-hero-ux .flickity-prev-next-button.previous { left: 18px; right: auto; }
.sa-home .sa-hero-ux .flickity-prev-next-button.next { right: 18px; left: auto; }

.sa-home .sa-hero-ux .flickity-prev-next-button svg {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0 !important;
  fill: #E8D9B9;
}

.sa-home .sa-hero-ux:hover .flickity-prev-next-button,
.sa-home .sa-hero-ux:focus-within .flickity-prev-next-button {
  opacity: 1 !important;
  background: transparent !important;
}

@media (max-width: 1180px) {
  .sa-home .sa-hero-ux .sa-hero-slide__title { font-size: 52px; }
  .sa-home .sa-hero-ux .sa-hero-slide__copy { flex-basis: 46%; max-width: 46%; }
  .sa-home .sa-hero-ux .sa-hero-slide__media { flex-basis: 54%; max-width: 54%; }
}

@media (max-width: 1099px) {
  .sa-home .sa-hero-ux .slider {
    height: auto !important;
    min-height: 560px;
    overflow: visible;
  }

  .sa-home .sa-hero-ux .sa-hero-slide {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .sa-home .sa-hero-ux .sa-hero-slide .section-content,
  .sa-home .sa-hero-ux .sa-hero-slide__row {
    height: auto;
  }

  .sa-home .sa-hero-ux .sa-hero-slide__row {
    flex-direction: column;
    align-items: stretch;
  }

  .sa-home .sa-hero-ux .row-collapse > .col.sa-hero-slide__copy,
  .sa-home .sa-hero-ux .sa-hero-slide__media {
    flex: 1 1 auto !important;
    flex-basis: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
  }

  .sa-home .sa-hero-ux .row-collapse > .col.sa-hero-slide__copy {
    box-sizing: border-box;
    padding: 24px 24px 8px !important;
  }

  .sa-home .sa-hero-ux .sa-hero-slide .section-bg::after {
    background: linear-gradient(180deg, rgba(0, 61, 53, 0.94) 0%, rgba(0, 61, 53, 0.82) 46%, rgba(0, 47, 42, 0.45) 100%);
  }

  .sa-home .sa-hero-ux .sa-hero-slide__title {
    max-width: 100%;
    font-size: clamp(36px, 10vw, 56px);
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: normal;
  }

  .sa-home .sa-hero-ux .sa-hero-slide__desc {
    max-width: 100%;
    font-size: clamp(16px, 4vw, 18px);
  }

  .sa-home .sa-hero-ux .sa-hero-slide__metrics {
    grid-template-columns: 1fr 1fr;
    gap: 12px 0;
  }

  .sa-home .sa-hero-ux .sa-hero-slide__metrics li,
  .sa-home .sa-hero-ux .sa-hero-slide__metrics li + li {
    padding: 0 10px 0 0;
    border-left: 0;
  }

  .sa-home .sa-hero-ux .sa-hero-slide__media {
    min-height: 0;
  }

  .sa-home .sa-hero-ux .sa-hero-slide .section-bg img.bg,
  .sa-home .sa-hero-ux .sa-hero-slide__media img {
    width: 100%;
    height: auto;
    max-height: 46vh;
    object-fit: contain;
    object-position: center center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .sa-home .sa-hero-ux .sa-hero-slide__card {
    right: 16px;
    bottom: 16px;
    max-width: min(220px, 70%);
  }
}

@media (max-width: 600px) {
  .sa-home .sa-hero-ux .sa-hero-slide__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sa-home .sa-hero-ux .sa-hero-slide__btn.button {
    width: 100%;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sa-home .sa-hero-ux .flickity-prev-next-button,
  .sa-home .sa-hero-ux .sa-hero-slide__btn.button { transition: none; }
}

/* Homepage image fill and contrast. Scoped to .sa-home. */
.sa-home .sa-woo-cats--premium .sa-cat-card {
  aspect-ratio: auto;
}

.sa-home .sa-woo-cats--premium .sa-cat-card__media {
  flex: none;
  aspect-ratio: 4 / 3;
  background: #003c35;
}

.sa-home .sa-woo-cats--premium .sa-cat-card__img,
.sa-home .sa-woo-cats--premium .sa-cat-card__media img {
  object-fit: cover !important;
  padding: 0 !important;
  background: transparent;
  transition: transform 0.25s ease;
}

.sa-home .sa-woo-cats--premium .sa-cat-card:hover .sa-cat-card__img,
.sa-home .sa-woo-cats--premium .sa-cat-card:hover .sa-cat-card__media img {
  transform: scale(1.04);
}

.sa-home .sa-woo-cats--premium .sa-cat-card__name {
  color: #003c35;
  font-weight: 700;
  line-height: 1.3;
}

.sa-home .sa-woo-cats--premium .sa-cat-card__count {
  color: #24312e;
  font-weight: 600;
}

.sa-home .sa-feat-card__media {
  background: #fff;
}

.sa-home .sa-feat-card__media img,
.sa-home .sa-feat-card__img {
  object-fit: contain !important;
  padding: 4px !important;
  transition: transform 0.25s ease;
}

.sa-home .sa-feat-card:hover .sa-feat-card__media img,
.sa-home .sa-feat-card:hover .sa-feat-card__img {
  transform: scale(1.04) !important;
}

.sa-home .sa-news-card,
.sa-home .sa-news-card:not(.sa-news-card--featured) {
  flex-direction: column;
}

.sa-home .sa-news-card__media,
.sa-home .sa-news-card--featured .sa-news-card__media,
.sa-home .sa-news-card:not(.sa-news-card--featured) .sa-news-card__media {
  position: relative;
  width: 100%;
  flex: none;
  aspect-ratio: 16 / 10;
  min-height: 0;
  background: #003c35;
}

.sa-home .sa-news-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: transform 0.25s ease;
}

.sa-home .sa-news-card:hover .sa-news-card__media img {
  transform: scale(1.04);
}

.sa-home .sa-news-card__title {
  color: #f5e9c8;
  font-weight: 700;
  line-height: 1.35;
}

.sa-home .sa-news-card__excerpt {
  color: #e4d7bc;
  line-height: 1.55;
}

.sa-home .sa-project__media {
  position: relative;
  flex: none;
  aspect-ratio: 16 / 10;
  min-height: 0;
  background: #003c35;
}

.sa-home .sa-project--large .sa-project__media {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 280px;
}

.sa-home .sa-project__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.sa-home .sa-project:hover .sa-project__media img {
  transform: scale(1.04);
}

@media (max-width: 699px) {
  .sa-home .sa-woo-cats--premium .sa-cat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .sa-home .sa-woo-cats--premium .sa-cat-card__img,
  .sa-home .sa-woo-cats--premium .sa-cat-card__media img {
    padding: 0 !important;
  }

  .sa-home .sa-news-card:not(.sa-news-card--featured) {
    flex-direction: column;
  }

  .sa-home .sa-news-card:not(.sa-news-card--featured) .sa-news-card__media {
    width: 100%;
    flex-basis: auto;
    min-height: 0;
  }
}

@media (max-width: 429px) {
  .sa-home .sa-feat-card__media img,
  .sa-home .sa-feat-card__img {
    padding: 4px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sa-home .sa-cat-card__img,
  .sa-home .sa-feat-card__img,
  .sa-home .sa-news-card__media img,
  .sa-home .sa-project__media img {
    transition: none;
  }
}

/* Spacing pass: tighter card content, wider gaps, more air between sections.
   Hero, header and footer are outside these selectors. Product image boxes stay put.
   Row width stays on the existing 1240px container so card edges keep their side margin. */
.sa-home .section.sa-section {
  padding-top: 28px !important;
  padding-bottom: 18px !important;
}

.sa-home .sa-catalog {
  margin-top: 36px;
  margin-bottom: 18px;
}

.sa-home .sa-catalog .sa-categories {
  padding-bottom: 42px;
}

.sa-home .sa-woo-cats--premium .sa-cat-grid,
.sa-home .sa-catalog__products,
.sa-home .sa-why__grid,
.sa-home .sa-projects__grid,
.sa-home .sa-news__grid,
.sa-home .sa-videos__grid {
  gap: 22px;
}

.sa-home .sa-feat-carousel .sa-feat-slide {
  padding: 0 11px;
}

.sa-home .sa-woo-cats--premium .sa-cat-card__footer {
  padding: 10px 14px 12px;
}

.sa-home .sa-why-card {
  padding: 20px 18px 18px;
}

.sa-home .sa-why-card__top {
  margin-bottom: 14px;
}

.sa-home .sa-project__body,
.sa-home .sa-news-card__body {
  padding: 11px 14px 12px;
}

.sa-home .sa-news-card__excerpt {
  margin-top: 6px;
}

.sa-home .sa-video-card__title {
  padding: 10px 14px 12px;
}

.sa-home .sa-feat-card {
  min-height: 0;
  height: auto;
}

.sa-home .sa-feat-card__media {
  flex: 0 0 auto;
  aspect-ratio: 5 / 4;
  min-height: 0;
}

.sa-home .sa-feat-card__media img,
.sa-home .sa-feat-card__img {
  padding: 4px !important;
  object-fit: contain !important;
}

.sa-home .sa-feat-card__body {
  flex: 0 0 auto;
  gap: 4px;
  padding: 10px 12px 12px;
}

@media (max-width: 1024px) {
  .sa-home .section.sa-section {
    padding-top: 22px !important;
    padding-bottom: 14px !important;
  }

  .sa-home .sa-woo-cats--premium .sa-cat-grid,
  .sa-home .sa-catalog__products,
  .sa-home .sa-why__grid,
  .sa-home .sa-projects__grid,
  .sa-home .sa-news__grid,
  .sa-home .sa-videos__grid {
    gap: 18px;
  }

  .sa-home .sa-feat-carousel .sa-feat-slide {
    padding: 0 9px;
  }
}

@media (max-width: 699px) {
  .sa-home .section.sa-section {
    padding-top: 16px !important;
    padding-bottom: 10px !important;
  }

  .sa-home .sa-woo-cats--premium .sa-cat-grid,
  .sa-home .sa-catalog__products,
  .sa-home .sa-why__grid,
  .sa-home .sa-projects__grid,
  .sa-home .sa-news__grid,
  .sa-home .sa-videos__grid {
    gap: 14px;
  }

  .sa-home .sa-feat-carousel .sa-feat-slide {
    padding: 0 7px;
  }
}

/* Partner logos: white tiles, contain, equal height. Edit images in UX Builder Gallery. */
.sa-home .sa-partners .sa-partner-logos {
  margin-top: 8px;
}

.sa-home .sa-partners .sa-partner-logos .gallery-col {
  padding-bottom: 14px;
}

.sa-home .sa-partners .sa-partner-logos .box,
.sa-home .sa-partners .sa-partner-logos .box-image {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 20, 16, 0.18);
}

.sa-home .sa-partners .sa-partner-logos .box-image {
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  overflow: hidden;
}

.sa-home .sa-partners .sa-partner-logos .box-image img {
  position: static;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.sa-home .sa-partners .sa-partner-logos .box-text {
  display: none;
}

@media (max-width: 849px) {
  .sa-home .sa-partners .sa-partner-logos .box-image {
    height: 112px;
  }
}
