/* Site developed and built by sitethreesixty.com */

/* ========================================
   360 ECOSYSTEM PAGE
   Grouped product showcase layout
   Mobile-first architecture (min-width only)
   ======================================== */

/* ========================================
   MOBILE BASE (320px-767px)
   ======================================== */

.ecosystem-page {
  min-height: 100vh;
  background: var(--bg-page);
}

/* Hero Section — uses site-wide .hero styles from critical.css */
.page-ecosystem .hero-content p {
  color: rgba(204, 251, 241, 0.9);
  margin-bottom: 1rem;
}

.page-ecosystem .hero-content p:last-child {
  margin-bottom: 0;
}

/* Section Intro — narrative hook below hero */
.ecosystem-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.ecosystem-intro__heading {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin: 0 0 0.75rem;
  line-height: var(--line-height-snug);
}

.ecosystem-intro__text {
  font-size: var(--text-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-secondary);
  margin: 0;
}

/* Section Label — divider with centred label */
.ecosystem-section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 2rem;
}

.ecosystem-section-label__line {
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.ecosystem-section-label__text {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Products Section */
.ecosystem-products {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Main Group (AD + Publishing subgroup) */
.product-group--main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Publishing Subgroup — darker background for visual grouping */
.product-subgroup--publishing {
  background: #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Stagger Section (R, C, I, M) */
.product-stagger {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Booking Standalone — distinct background */
.product-standalone--booking {
  background: #f3f4f6;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

/* Pricing Footer */
.ecosystem-pricing {
  background: var(--bg-white);
  padding: 3rem 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.ecosystem-pricing h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-align: center;
}

.pricing-content {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-item:last-of-type {
  border-bottom: none;
  padding-bottom: 1rem;
}

.pricing-item h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.pricing-item p {
  font-size: var(--text-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.pricing-item p:last-child {
  margin-bottom: 0;
}

.pricing-footer-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-style: italic;
}

/* ========================================
   TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
  .ecosystem-intro {
    margin-bottom: 3rem;
  }

  .ecosystem-intro__heading {
    font-size: var(--text-3xl);
  }

  .ecosystem-intro__text {
    font-size: var(--text-lg);
  }

  .ecosystem-section-label {
    margin: 3rem 0 2.5rem;
  }

  .ecosystem-products {
    padding: 4rem 2rem;
  }

  .product-group--main {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .product-subgroup--publishing {
    padding: 2rem;
    gap: 1.5rem;
  }

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

  .product-standalone--booking {
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
  }

  .ecosystem-pricing {
    padding: 4rem 2rem;
  }

  .ecosystem-pricing h2 {
    font-size: var(--text-3xl);
  }
}

/* ========================================
   DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
  .ecosystem-intro {
    margin-bottom: 3.5rem;
  }

  .ecosystem-section-label {
    margin: 3.5rem 0 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .ecosystem-products {
    padding: 5rem 2rem;
  }

  .product-group--main {
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  .product-subgroup--publishing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2.5rem;
  }

  /* P spans full width of subgroup grid */
  .product-subgroup--publishing .icon-card--featured {
    grid-column: 1 / -1;
    max-width: 500px;
    justify-self: center;
  }

  .product-stagger {
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
  }

  .product-standalone--booking {
    max-width: 500px;
    padding: 2.5rem;
  }

  .ecosystem-pricing {
    padding: 5rem 2rem;
  }
}

/* ========================================
   LARGE DESKTOP (1200px+)
   ======================================== */

@media (min-width: 1200px) {
  .ecosystem-products {
    padding: 6rem 3rem;
  }

  .product-subgroup--publishing {
    gap: 2.5rem;
  }

  .product-stagger {
    gap: 3rem;
  }

  .ecosystem-pricing {
    padding: 6rem 3rem;
  }
}

/* Site developed and built by sitethreesixty.com */
