/* ==========================================================================
   Skydime Holdings — Our Businesses (businesses.html)
   Builds on tokens/primitives defined in styles.css. Presentation is fully
   scoped to body.businesses-page so the approved Holdings homepage, About
   page and entity pages are unaffected. This is a Holdings-level page — it
   reuses the exact approved index.html header/utility-bar/footer markup
   (not an entity utility-bar pattern), following the same body-scoped
   fixed-chrome recipe homepage.css/about.css use.
   ========================================================================== */

body.businesses-page {
  background: var(--bg);
}

/* ---- Fixed chrome (utility bar + header), same recipe as About/Homepage --- */

body.businesses-page .utility-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 101;
}

body.businesses-page .header {
  top: var(--utility-h-mobile);
}

body.businesses-page .businesses-hero {
  margin-top: calc(var(--utility-h-mobile) + var(--header-h-mobile));
}

@media (min-width: 768px) {
  body.businesses-page .header {
    top: var(--utility-h);
  }

  body.businesses-page .businesses-hero {
    margin-top: calc(var(--utility-h) + var(--header-h));
  }
}

/* ---- Shared centred container (same formula as About/Properties/Insurance/Tours/Capital) */

.businesses-container {
  width: min(1320px, calc(100% - 36px));
  margin-inline: auto;
}

@media (min-width: 390px) {
  .businesses-container {
    width: min(1320px, calc(100% - 44px));
  }
}

@media (min-width: 768px) {
  .businesses-container {
    width: min(1320px, calc(100% - 64px));
  }
}

@media (min-width: 1024px) {
  .businesses-container {
    width: min(1320px, calc(100% - 88px));
  }
}

@media (min-width: 1440px) {
  .businesses-container {
    width: min(1320px, calc(100% - 112px));
  }
}

body.businesses-page main [id] {
  scroll-margin-top: calc(var(--utility-h-mobile) + var(--header-h-mobile) + 18px);
}

@media (min-width: 768px) {
  body.businesses-page main [id] {
    scroll-margin-top: calc(var(--utility-h) + var(--header-h) + 22px);
  }
}

/* ---- Typography scale (scoped override of styles.css .section-title) ------ */

body.businesses-page .section-title h2 {
  margin-top: 0.55rem;
  font-size: 27px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  body.businesses-page .section-title h2 {
    font-size: 31px;
  }
}

@media (min-width: 1024px) {
  body.businesses-page .section-title h2 {
    font-size: 36px;
  }
}

body.businesses-page .section-title p {
  margin-top: 12px;
  max-width: 640px;
  line-height: 1.65;
}

body.businesses-page .eyebrow {
  font-size: 13px;
}

.section-title--centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-title--centered h2 {
  max-width: 720px;
  margin-inline: auto;
}

body.businesses-page .btn-primary .btn-arrow {
  transition: transform 0.2s var(--ease);
}

body.businesses-page .btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

/* ---- Section rhythm -------------------------------------------------------- */

.businesses-section {
  padding: 40px 0;
}

@media (min-width: 768px) {
  .businesses-section {
    padding: 56px 0;
  }
}

@media (min-width: 1024px) {
  .businesses-section {
    padding: 64px 0;
  }
}

.businesses-section--muted {
  background: var(--surface-muted);
}

.businesses-section--compact {
  padding: 36px 0;
}

@media (min-width: 768px) {
  .businesses-section--compact {
    padding: 44px 0;
  }
}

/* ---- Businesses hero — compact corporate treatment (no photography) ------- */

.businesses-hero {
  position: relative;
  overflow: hidden;
  height: 240px;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 160% at 18% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, 0.09) 1.5px, transparent 0),
    radial-gradient(120% 160% at 18% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  background-size: 26px 26px, auto, auto;
  border-bottom: 3px solid var(--brand-green);
}

@media (min-width: 768px) {
  .businesses-hero {
    height: 280px;
  }
}

@media (min-width: 1024px) {
  .businesses-hero {
    height: 310px;
  }
}

@media (min-width: 1440px) {
  .businesses-hero {
    height: 340px;
  }
}

.businesses-hero__content {
  max-width: 760px;
  margin-inline: auto;
  padding: 1.5rem 0;
  text-align: center;
  color: var(--white);
}

.businesses-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.businesses-hero__eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-green);
}

.businesses-hero__headline {
  margin-top: 0.85rem;
  font-size: 28px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.015em;
}

@media (min-width: 768px) {
  .businesses-hero__headline {
    font-size: 33px;
  }
}

@media (min-width: 1024px) {
  .businesses-hero__headline {
    font-size: 37px;
  }
}

@media (min-width: 1440px) {
  .businesses-hero__headline {
    font-size: 42px;
  }
}

.businesses-hero__text {
  margin-top: 0.85rem;
  max-width: 600px;
  margin-inline: auto;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

@media (min-width: 768px) {
  .businesses-hero__text {
    font-size: 16.5px;
  }
}

.businesses-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.4rem 0.2rem;
  transition: color 0.2s var(--ease);
}

.businesses-hero__cta:hover {
  color: var(--brand-green);
}

.businesses-hero__cta svg {
  transition: transform 0.2s var(--ease);
}

.businesses-hero__cta:hover svg {
  transform: translateY(2px);
}

/* ---- Quick Business Finder — compact routing row --------------------------- */

.quick-route-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 900px;
  margin: 32px auto 0;
}

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

@media (min-width: 900px) {
  .quick-route-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.quick-route {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.quick-route:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 49, 107, 0.24);
}

.quick-route .icon-circle {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.quick-route .icon-circle svg {
  width: 18px;
  height: 18px;
}

.quick-route__label {
  flex: 1;
  min-width: 0;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 14.5px;
}

.quick-route__arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.quick-route:hover .quick-route__arrow {
  color: var(--brand-green);
  transform: translateX(3px);
}

/* ---- Business showcase — alternating premium editorial sections ----------- */

.business-editorial-section {
  padding: 48px 0;
}

@media (min-width: 768px) {
  .business-editorial-section {
    padding: 60px 0;
  }
}

@media (min-width: 1024px) {
  .business-editorial-section {
    padding: 68px 0;
  }
}

.business-editorial-section--muted {
  background: var(--surface-muted);
}

.business-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .business-editorial {
    grid-template-columns: 48% 1fr;
    gap: 52px;
  }

  .business-editorial--reverse .business-editorial__media {
    order: 2;
  }

  .business-editorial--reverse .business-editorial__copy {
    order: 1;
  }
}

.business-editorial__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.business-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-editorial__logo {
  height: 34px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.business-editorial__copy h2 {
  margin-top: 16px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-blue);
  line-height: 1.22;
}

@media (min-width: 768px) {
  .business-editorial__copy h2 {
    font-size: 29px;
  }
}

@media (min-width: 1024px) {
  .business-editorial__copy h2 {
    font-size: 32px;
  }
}

.business-editorial__copy p {
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 15.5px;
  max-width: 50ch;
}

.business-editorial__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 18px;
  list-style: none;
}

.business-editorial__tags li {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--brand-blue);
  font-size: 12.5px;
  font-weight: 700;
}

.business-editorial-section--muted .business-editorial__tags li {
  background: var(--white);
  border: 1px solid var(--border-soft);
}

.business-editorial__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 22px;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}

.business-editorial__cta svg {
  transition: transform 0.2s var(--ease);
}

.business-editorial__cta:hover {
  color: var(--brand-green);
}

.business-editorial__cta:hover svg {
  transform: translateX(3px);
}

.whatsapp-btn {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}

.whatsapp-btn:hover {
  background: #1fb955;
  border-color: #1fb955;
}

/* ---- Not Sure Where to Start — compact routing/help CTA -------------------- */

.businesses-help {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

@media (min-width: 700px) {
  .businesses-help {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: none;
  }
}

.businesses-help__text h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .businesses-help__text h2 {
    font-size: 27px;
  }
}

.businesses-help__text p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.businesses-help__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ---- Back to top (same recipe as About/Properties/Insurance/Tours/Capital) - */

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--brand-blue);
  color: var(--white);
}

@media (min-width: 768px) {
  .back-to-top {
    right: 26px;
    bottom: 96px;
    width: 44px;
    height: 44px;
  }
}
