/* ============================================================
   SOUNDNOTE — Royal Luxury UI (excludes navbar + home hero)
   ============================================================ */

:root {
  --sn-royal-cream: #FAF9F6;
  --sn-royal-ivory: #F3F0E8;
  --sn-royal-gold: #C8A15A;
  --sn-royal-dark: #1A1A1A;
  --sn-royal-muted: #5C5C5C;
  --sn-royal-border: rgba(200, 161, 90, 0.22);
  --sn-royal-radius: 16px;
  --sn-royal-shadow: 0 12px 40px rgba(26, 26, 26, 0.06);
  --sn-eyebrow-size: 1rem;
  --sn-section-title: clamp(2.25rem, 3.5vw, 3.125rem);
  --sn-subheading: 1.75rem;
}

/* ── Global typography & sections (not navbar) ── */
body {
  background: var(--sn-royal-cream);
}

main {
  background: var(--sn-royal-cream);
}

.sn-section {
  padding: clamp(72px, 8vw, 110px) 0;
  background: var(--sn-royal-cream);
  position: relative;
}

.sn-section-alt {
  background: var(--sn-royal-ivory);
}

.sn-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(140px, 20%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sn-royal-gold), transparent);
  opacity: 0.65;
}

main > .sn-section:first-child::before,
main > .sn-hero + .sn-section::before,
.sn-hero-luxury + .sn-section::before,
.sn-contact-hero + .sn-section-contact::before {
  display: none;
}

.sn-eyebrow {
  font-size: var(--sn-eyebrow-size);
  color: var(--sn-royal-gold);
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.sn-divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--sn-royal-gold), rgba(200, 161, 90, 0.25));
  margin: 1rem 0 1.5rem;
}

h1, h2, h3, .sn-hero-title {
  color: var(--sn-royal-dark);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--sn-section-title);
}

h3 {
  font-size: var(--sn-subheading);
}

/* Dark / black sections — force readable light text */
.sn-contact-cta,
.sn-contact-cta h2,
.sn-contact-cta p {
  color: #FFFFFF;
}

.sn-contact-cta p {
  color: rgba(255, 255, 255, 0.85);
}

.sn-product-block h3,
.sn-product-block p {
  color: var(--sn-royal-dark);
}

.sn-gallery-overlay h3,
.sn-gallery-overlay span {
  color: #FFFFFF;
}

body:not(.page-home) main > .sn-hero.sn-hero,
body:not(.page-home) main > .sn-page-hero.sn-page-hero {
  min-height: 0 !important;
  height: auto !important;
}

/* ── Inner page heroes — professional split panel ── */
body:not(.page-home) main > .sn-hero:first-child,
body:not(.page-home) main > .sn-page-hero:first-child {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  gap: 0;
  min-height: auto;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: calc(var(--header-height) + 1.75rem) clamp(1.25rem, 3vw, 2.5rem) 2.5rem;
  overflow: visible;
  background: transparent;
  border: none;
}

body:not(.page-home) main > .sn-hero:first-child .sn-hero-media,
body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-media {
  position: relative;
  inset: auto;
  height: 100%;
  min-height: 340px;
  max-height: 420px;
  z-index: 1;
  border-radius: var(--sn-royal-radius) 0 0 var(--sn-royal-radius);
  overflow: hidden;
  border: 1px solid var(--sn-royal-border);
  border-right: none;
  box-shadow: var(--sn-royal-shadow);
}

body:not(.page-home) main > .sn-hero:first-child .sn-hero-media > img,
body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
}

body:not(.page-home) main > .sn-hero:first-child .sn-hero-overlay,
body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-overlay {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.05) 0%, rgba(26, 26, 26, 0.55) 100%);
}

body:not(.page-home) main > .sn-hero:first-child .sn-hero-content,
body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-content {
  position: relative;
  z-index: 2;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  background: #FFFFFF;
  padding: clamp(2rem, 3.5vw, 3rem);
  border: 1px solid var(--sn-royal-border);
  border-left: 3px solid var(--sn-royal-gold);
  border-radius: 0 var(--sn-royal-radius) var(--sn-royal-radius) 0;
  box-shadow: var(--sn-royal-shadow);
  max-width: none;
  width: 100%;
}

body:not(.page-home) main > .sn-hero:first-child .sn-hero-title,
body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-title {
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  max-width: none;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--sn-royal-dark);
}

body:not(.page-home) main > .sn-hero:first-child .sn-hero-subtitle,
body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: none;
  margin-bottom: 1.75rem;
  color: var(--sn-royal-muted);
}

body:not(.page-home) main > .sn-hero:first-child .sn-hero-actions,
body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-actions {
  margin-top: 0.25rem;
}

body:not(.page-home) .sn-breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body:not(.page-home) .sn-breadcrumb a {
  color: var(--sn-royal-gold);
  font-weight: 600;
}

body:not(.page-home) .sn-breadcrumb span:not(.sn-breadcrumb-sep) {
  color: var(--sn-royal-muted);
}

@media (max-width: 991.98px) {
  body:not(.page-home) main > .sn-hero:first-child,
  body:not(.page-home) main > .sn-page-hero:first-child {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-height) + 1.25rem);
  }

  body:not(.page-home) main > .sn-hero:first-child .sn-hero-media,
  body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-media {
    min-height: 220px;
    max-height: 260px;
    border-radius: var(--sn-royal-radius) var(--sn-royal-radius) 0 0;
    border-right: 1px solid var(--sn-royal-border);
    border-bottom: none;
  }

  body:not(.page-home) main > .sn-hero:first-child .sn-hero-content,
  body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-content {
    border-radius: 0 0 var(--sn-royal-radius) var(--sn-royal-radius);
    border-left: 1px solid var(--sn-royal-border);
    border-top: 3px solid var(--sn-royal-gold);
  }
}

/* ── Homepage sections (keep hero, refine rest) ── */
.page-home .sn-hero-luxury {
  /* untouched */
}

.page-home .sn-section,
.page-home .sn-section-alt {
  background: var(--sn-royal-cream);
}

.page-home .sn-section-alt {
  background: var(--sn-royal-ivory);
}

/* ── Editorial layouts — smaller images ── */
.sn-editorial,
.sn-home-editorial {
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.sn-img-editorial,
.sn-home-editorial-media img,
.sn-editorial-image img {
  width: 100%;
  max-height: 380px;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover;
  border-radius: var(--sn-royal-radius);
  box-shadow: var(--sn-royal-shadow);
}

.sn-image-reveal {
  border-radius: var(--sn-royal-radius);
  border: 1px solid var(--sn-royal-border);
}

.sn-editorial-text,
.sn-home-editorial-content {
  padding: 0.5rem 0;
}

/* ── Service / brand blocks ── */
.sn-service-block {
  gap: clamp(2rem, 4vw, 3rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--sn-royal-border);
}

.sn-service-block-img {
  border-radius: var(--sn-royal-radius);
  border: 1px solid var(--sn-royal-border);
  box-shadow: var(--sn-royal-shadow);
  transition: box-shadow 300ms ease;
}

.sn-service-block-img img {
  aspect-ratio: 16 / 9 !important;
  min-height: 280px;
  max-height: 360px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--sn-royal-radius);
  transition: transform 300ms ease;
}

.sn-service-block:hover .sn-service-block-img {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.sn-service-block:hover .sn-service-block-img img {
  transform: scale(1.05);
}

.sn-service-block-text {
  padding: 1rem 0;
}

.sn-service-block-text > img {
  max-height: 48px !important;
  width: auto !important;
  max-width: 200px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

/* ── Service cards grid ── */
.sn-editorial-services {
  gap: 1rem;
}

.sn-editorial-service-card {
  min-height: 220px !important;
  max-height: 260px;
  border-radius: var(--sn-royal-radius);
  border: 1px solid var(--sn-royal-border);
  overflow: hidden;
  box-shadow: var(--sn-royal-shadow);
}

.sn-editorial-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.1) 0%, rgba(255, 255, 255, 0.94) 72%);
  z-index: 1;
}

.sn-editorial-service-card-content {
  z-index: 2;
}

.sn-editorial-service-card h3 {
  color: var(--sn-royal-dark);
}

.sn-editorial-service-card span {
  color: var(--sn-royal-gold);
}

/* ── Product showcase ── */
.sn-product-block {
  min-height: 280px !important;
  max-height: 340px;
  border-radius: var(--sn-royal-radius);
  border: 1px solid var(--sn-royal-border);
  box-shadow: var(--sn-royal-shadow);
}

.sn-product-block--full {
  min-height: 320px !important;
  max-height: 380px;
}

.sn-home-product-card-img {
  aspect-ratio: 16 / 10 !important;
  max-height: 240px;
}

.sn-home-product-card {
  border-radius: var(--sn-royal-radius);
  box-shadow: var(--sn-royal-shadow);
  border-color: var(--sn-royal-border);
}

.sn-product-grid .sn-product-card-img,
.sn-product-card-img {
  aspect-ratio: 4 / 3 !important;
  max-height: 220px;
}

/* ── Gallery & projects ── */
.sn-gallery {
  gap: 1rem;
}

.sn-gallery-item {
  border-radius: var(--sn-royal-radius);
  overflow: hidden;
  border: 1px solid var(--sn-royal-border);
  box-shadow: var(--sn-royal-shadow);
}

.sn-gallery {
  grid-auto-rows: minmax(220px, 280px) !important;
}

.sn-gallery-link img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none !important;
  object-fit: cover;
  display: block;
}

/* ── Full bleed images — much smaller ── */
.sn-full-img,
.sn-full-break {
  height: clamp(220px, 32vh, 360px) !important;
  border-radius: 0;
}

.sn-full-break-caption {
  background: rgba(250, 249, 246, 0.92);
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--sn-royal-gold);
  border-radius: 0 var(--sn-royal-radius) var(--sn-royal-radius) 0;
}

/* ── CTA sections ── */
.sn-cta-cinematic {
  min-height: clamp(280px, 42vh, 420px) !important;
  border-top: 1px solid var(--sn-royal-border);
  border-bottom: 1px solid var(--sn-royal-border);
}

.sn-cta-cinematic-overlay {
  background: linear-gradient(135deg, rgba(250, 249, 246, 0.94) 0%, rgba(243, 240, 232, 0.9) 100%) !important;
}

.sn-cta-cinematic-content {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--sn-royal-border);
  border-radius: var(--sn-royal-radius);
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--sn-royal-shadow);
}

.sn-cta-cinematic-content h2 {
  color: var(--sn-royal-dark);
}

.sn-cta-cinematic-content p {
  color: var(--sn-royal-muted);
}

.sn-cta-banner {
  padding: clamp(3rem, 6vw, 5rem) 2rem;
  background: var(--sn-royal-ivory);
  border-top: 1px solid var(--sn-royal-border);
  border-bottom: 1px solid var(--sn-royal-border);
}

/* ── Media / blog / video cards ── */
.sn-media-card-img,
.sn-video-card img,
.sn-blog-card-img {
  aspect-ratio: 16 / 10 !important;
  max-height: 200px;
}

.sn-media-card,
.sn-blog-card,
.sn-video-card {
  border-radius: var(--sn-royal-radius);
  border: 1px solid var(--sn-royal-border);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--sn-royal-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sn-media-card:hover,
.sn-blog-card:hover,
.sn-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26, 26, 26, 0.1);
}

/* ── Brand wall ── */
.sn-brand-wall-cell {
  border: 1px solid var(--sn-royal-border);
  border-radius: 12px;
  background: #FFFFFF;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.sn-brand-wall-cell:hover {
  border-color: var(--sn-royal-gold);
  color: var(--sn-royal-gold);
}

/* ── Stats — royal frame ── */
.sn-stat-inline,
.sn-stat-grid {
  border-top: 1px solid var(--sn-royal-border);
  padding-top: 2rem;
}

.sn-stat-num {
  color: var(--sn-royal-gold);
}

/* ── Forms & panels ── */
.sn-form-panel,
.sn-home-contact-form {
  background: #FFFFFF;
  border: 1px solid var(--sn-royal-border);
  border-radius: var(--sn-royal-radius);
  box-shadow: var(--sn-royal-shadow);
  padding: 2rem;
}

/* ── Footer map — full color ── */
.sn-footer-map iframe {
  height: 280px !important;
  border-radius: var(--sn-royal-radius);
  filter: none !important;
  border-color: rgba(200, 161, 90, 0.25);
}

/* ── Service list items ── */
.sn-service-item .sn-service-img {
  max-height: 220px;
  border-radius: var(--sn-royal-radius);
  overflow: hidden;
  border: 1px solid var(--sn-royal-border);
}

.sn-service-item .sn-service-img img {
  max-height: 220px;
  object-fit: cover;
}

/* ── Engineering banner ── */
.sn-engineering-bg {
  opacity: 0.2;
}

.sn-engineering-bg img {
  max-height: 400px;
  object-fit: cover;
}

/* Only legacy brand cards — not homepage cinematic brand tiles */
.sn-brand-card img.mb-4,
article.sn-brand-card > img:not(.sn-brand-card__img) {
  max-height: 56px !important;
  width: auto !important;
  object-fit: contain;
}

a.sn-brand-card .sn-brand-card__img {
  max-height: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

a.sn-brand-card .sn-brand-card__img--logo {
  object-fit: contain;
  object-position: center;
  padding: 16% 12% 34%;
  background: #0c0c0c;
}

/* ── Footer refinement ── */
.sn-footer {
  background: var(--sn-royal-dark);
  color: rgba(255, 255, 255, 0.88);
  border-top: 3px solid var(--sn-royal-gold);
}

.sn-footer .sn-logo-img--footer {
  content: url('../images/logo/soundnote-logo-footer-v2.png');
  filter: none;
  opacity: 1;
}

.sn-footer p,
.sn-footer-links li,
.sn-footer-links a,
.sn-footer-bottom p,
.sn-footer-legal a,
.sn-footer-newsletter p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.sn-footer-heading {
  color: var(--sn-royal-gold) !important;
  letter-spacing: 0.14em;
}

.sn-footer-links a:hover,
.sn-footer-legal a:hover {
  color: var(--sn-royal-gold) !important;
}

.sn-footer-social a {
  border-color: rgba(200, 161, 90, 0.4);
  color: rgba(255, 255, 255, 0.88) !important;
  background: transparent !important;
}

.sn-footer-social a:hover {
  color: var(--sn-royal-gold) !important;
  border-color: var(--sn-royal-gold);
  background: rgba(200, 161, 90, 0.1) !important;
}

.sn-footer-newsletter-form input {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(200, 161, 90, 0.4);
  color: #FFFFFF;
}

.sn-footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.sn-footer-newsletter-form button {
  color: #FFFFFF !important;
  background: var(--sn-royal-gold);
  border-color: var(--sn-royal-gold);
}

.sn-footer-newsletter-form button:hover {
  background: #FFFFFF !important;
  color: var(--sn-royal-dark) !important;
  border-color: #FFFFFF !important;
}

/* ── Buttons — contrast fixes ── */
.sn-header.navbar-glass .sn-header-cta .btn-sn-primary {
  color: #FFFFFF !important;
}

.sn-header.navbar-glass .sn-header-cta .btn-sn-primary:hover {
  color: var(--sn-royal-dark) !important;
}

body:not(.page-home) .sn-hero-content .btn-sn-primary {
  color: #FFFFFF;
}

body:not(.page-home) .sn-hero-content .btn-sn-primary:hover {
  color: var(--sn-royal-dark);
}

body:not(.page-home) .sn-hero-content .btn-sn-secondary {
  color: #FFFFFF;
  background: var(--sn-royal-dark);
  border-color: var(--sn-royal-dark);
}

body:not(.page-home) .sn-hero-content .btn-sn-secondary:hover {
  background: var(--sn-royal-gold);
  border-color: var(--sn-royal-gold);
  color: var(--sn-royal-dark);
}

.btn-sn-primary {
  background: var(--sn-royal-dark);
  border-color: var(--sn-royal-dark);
  color: #FFFFFF;
  letter-spacing: 0.12em;
  transition: all 0.35s ease;
}

.btn-sn-primary:hover {
  background: var(--sn-royal-gold);
  border-color: var(--sn-royal-gold);
  color: var(--sn-royal-dark);
}

.btn-sn-secondary {
  background: var(--sn-royal-dark);
  border-color: var(--sn-royal-dark);
  color: #FFFFFF;
}

.btn-sn-secondary:hover {
  background: var(--sn-royal-gold);
  border-color: var(--sn-royal-gold);
  color: var(--sn-royal-dark);
}

.btn-sn-link::after {
  background: var(--sn-royal-gold);
}

/* ── Reviews ── */
.sn-review-card {
  border-radius: var(--sn-royal-radius);
  border: 1px solid var(--sn-royal-border);
  box-shadow: var(--sn-royal-shadow);
  background: #FFFFFF;
}

/* ── Process steps ── */
.sn-process-step {
  background: #FFFFFF;
  border: 1px solid var(--sn-royal-border);
  border-radius: 12px;
  border-top: 3px solid var(--sn-royal-gold);
}

/* ── Cert strip homepage ── */
.page-home .sn-cert-strip {
  background: var(--sn-royal-dark);
  border-top: 1px solid rgba(200, 161, 90, 0.3);
  border-bottom: 1px solid rgba(200, 161, 90, 0.3);
}

/* ── Contact page sections align with royal theme ── */
.page-contact .sn-section-contact {
  background: var(--sn-royal-cream);
}

.page-contact .sn-section-alt {
  background: var(--sn-royal-ivory);
}

.page-contact .sn-contact-card,
.page-contact .sn-contact-feature {
  border-color: var(--sn-royal-border);
  box-shadow: var(--sn-royal-shadow);
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  :root {
    --sn-section-title: clamp(1.75rem, 5vw, 2.5rem);
    --sn-subheading: 1.5rem;
    --sn-eyebrow-size: 0.9375rem;
  }

  .sn-editorial,
  .sn-home-editorial,
  .sn-service-block {
    grid-template-columns: 1fr;
  }

  .sn-home-editorial-reverse .sn-home-editorial-media,
  .sn-home-editorial-reverse .sn-home-editorial-content,
  .sn-editorial-reverse .sn-editorial-image,
  .sn-editorial-reverse .sn-editorial-text {
    order: unset;
  }

  .sn-home-editorial-media,
  .sn-editorial-image {
    order: -1;
  }

  .sn-img-editorial,
  .sn-home-editorial-media img,
  .sn-service-block-img img {
    max-height: 260px;
  }

  body:not(.page-home) main > .sn-hero:first-child,
  body:not(.page-home) main > .sn-page-hero:first-child {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body:not(.page-home) main > .sn-hero:first-child .sn-hero-content,
  body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-content {
    padding: 1.75rem 1.5rem;
  }

  .sn-home-section-intro {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --sn-section-title: clamp(1.625rem, 6vw, 2.125rem);
    --sn-subheading: 1.375rem;
    --sn-eyebrow-size: 0.875rem;
  }

  body {
    font-size: 1rem;
  }

  .sn-section,
  .sn-section-alt {
    padding: clamp(56px, 10vw, 72px) 0;
  }

  .sn-editorial-service-card {
    min-height: 180px !important;
    max-height: 200px;
  }

  .sn-product-block {
    min-height: 220px !important;
  }

  .sn-gallery {
    grid-auto-rows: minmax(160px, 180px) !important;
  }

  .sn-brand-wall-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sn-brand-wall-cell {
    min-height: 88px;
    font-size: 0.6875rem;
    padding: 0.75rem;
    text-align: center;
  }

  .sn-cta-cinematic {
    min-height: auto;
  }

  .sn-cta-cinematic-content {
    padding: 3rem 1.25rem;
  }

  .sn-cta-banner {
    padding: 4rem 1.25rem;
  }

  .sn-home-contact-form {
    padding: 2rem 1.25rem;
  }

  .sn-footer-map iframe {
    height: 220px !important;
  }

  .sn-footer .sn-logo-img--footer {
    height: 36px;
    max-width: 220px;
  }

  body:not(.page-home) main > .sn-hero:first-child .sn-hero-title,
  body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  body:not(.page-home) main > .sn-hero:first-child .sn-hero-subtitle,
  body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }

  body:not(.page-home) main > .sn-hero:first-child .sn-hero-actions,
  body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  body:not(.page-home) main > .sn-hero:first-child .sn-hero-actions .btn-sn-primary,
  body:not(.page-home) main > .sn-hero:first-child .sn-hero-actions .btn-sn-secondary,
  body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-actions .btn-sn-primary,
  body:not(.page-home) main > .sn-page-hero:first-child .sn-hero-actions .btn-sn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .sn-brand-wall-grid {
    grid-template-columns: 1fr;
  }

  .sn-stat-inline {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .sn-footer .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sn-cert-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 1.75rem;
  }
}
