/* Preview: compact reference-style service cards for Voltari Enterprises.
   Flush snapshot on top, tight copy, price + bundle in one compact row. */

/* 1. Card frame */
.enterprises .catalogue-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
}

/* 2. Snapshot: flush with card edges, no inner frame, shorter */
.enterprises .catalogue-snapshot {
  padding: 0;
  background: none;
  border: 0;
  aspect-ratio: 1.5;
  overflow: hidden;
}
.enterprises .catalogue-snapshot > img {
  border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.enterprises .catalogue-preview-caption { display: none; }

/* 3. Copy block: no reserved empty space */
.enterprises .catalogue-simple-link { display: flex; flex-direction: column; flex: 1; }
.enterprises .catalogue-simple-link .catalogue-copy,
.enterprises .catalogue-card .catalogue-simple-link .catalogue-copy {
  padding: 14px 16px 12px;
  display: block;
}
.enterprises .catalogue-simple-link .catalogue-brand { display: none; }
.enterprises .catalogue-copy h3 {
  min-height: 0;
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 4px;
}
.enterprises .catalogue-description {
  min-height: 0;
  font-size: 12.5px !important;
  line-height: 1.4;
  margin: 0;
}

/* 4. Price + bundle row: tight, no divider */
.enterprises .catalogue-inline-actions {
  margin: 0 16px 16px;
  padding-top: 0;
  border-top: 0;
}
.enterprises .catalogue-inline-actions .catalogue-product-button {
  height: 40px;
  min-height: 40px;
}

/* 5. Section heading: centred, single subline, nothing else */
.enterprises .catalogue-toolbar {
  display: block;
  text-align: center;
  margin-bottom: 22px;
}
.enterprises .catalogue-toolbar h2 { font-size: 30px; margin: 0; }
.enterprises .catalogue-subline {
  margin: 8px 0 0;
  font-size: 14px;
  color: #625b74;
}
.enterprises .catalogue-filters {
  justify-content: center;
}
/* Visually hide the filter status line but keep it for screen readers */
.enterprises .catalogue-result {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Mobile: same compact rules already inherit; keep gap tidy */
@media (max-width: 600px) {
  .enterprises .catalogue-grid { gap: 16px; }
  .enterprises .catalogue-inline-actions { margin: 0 16px 16px; }
}

/* 6. Three services per row like the reference */
.enterprises .catalogue-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 800px) {
  .enterprises .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .enterprises .catalogue-grid { grid-template-columns: 1fr; }
}

/* 7. Bigger service names, smaller showcase images */
.enterprises .catalogue-snapshot {
  aspect-ratio: 2.1;
}
.enterprises .catalogue-copy h3 {
  font-size: 23px;
  margin: 0 0 6px;
}
.enterprises .catalogue-description {
  font-size: 13.5px !important;
}
@media (max-width: 600px) {
  .enterprises .catalogue-copy h3 { font-size: 26px; }
}

/* 8. Full-bleed hero: image spans the whole section, copy overlaid left */
.enterprises .catalogue-intro {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}
.enterprises .catalogue-intro > .wrap {
  position: relative;
  z-index: 1;
  display: block;
  padding-top: 150px;
  padding-bottom: 110px;
}
.enterprises .catalogue-hero-copy {
  max-width: 560px;
}
.enterprises .enterprises-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  justify-self: auto;
  z-index: 0;
}
.enterprises .enterprises-hero-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.enterprises .enterprises-hero-art figcaption {
  position: absolute;
  right: 32px;
  bottom: 26px;
  margin: 0;
  text-align: right;
}
@media (max-width: 800px) {
  .enterprises .catalogue-intro > .wrap {
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .enterprises .enterprises-hero-art > img {
    object-position: 72% center;
  }
  .enterprises .enterprises-hero-art figcaption {
    display: block !important;
    right: 16px;
    bottom: 14px;
  }
}

/* 8b. Keep hero copy above the full-bleed image */
.enterprises .catalogue-hero-copy {
  position: relative;
  z-index: 1;
}

/* 9. True full-bleed background hero — image spans viewport, text overlaid left */
.enterprises .catalogue-intro {
  background-color: #EEF0F5;
  background-image: url("hero-desk.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  aspect-ratio: 1942 / 809;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}
.enterprises .catalogue-intro > .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 40px;
  box-sizing: border-box;
}
.enterprises .catalogue-hero-copy {
  max-width: 44%;
}
/* Subtle bottom fade into the next section, below the devices */
.enterprises .catalogue-intro::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  background: linear-gradient(to bottom, transparent, #EEF0F5);
  pointer-events: none;
}
/* Tablet + mobile: text stacked above artwork, crop zoomed on the devices */
@media (max-width: 1100px) {
  .enterprises .catalogue-intro {
    aspect-ratio: auto;
    height: auto;
    max-height: none;
    min-height: 0;
    background-position: right bottom;
    background-size: auto min(52vw, 300px);
  }
  .enterprises .catalogue-intro > .wrap {
    display: block;
    height: auto;
    padding-top: 115px;
    padding-bottom: min(52vw, 300px);
  }
  .enterprises .catalogue-hero-copy {
    max-width: 100%;
  }
  .enterprises .catalogue-intro::after {
    display: none;
  }
}

/* 10. Mobile hero redo: centred text stack + framed device-focused image card */
.enterprises .mobile-hero-media { display: none; }
@media (max-width: 800px) {
  .enterprises .catalogue-intro { background-image: none; }
  .enterprises .catalogue-intro > .wrap {
    padding-bottom: 26px;
    text-align: center;
  }
  .enterprises .catalogue-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .enterprises .catalogue-hero-copy > p { max-width: 34ch; }
  .enterprises .hero-delivery {
    margin: 18px auto 0;
    text-align: center;
    max-width: 330px;
  }
  .enterprises .mobile-hero-media {
    display: block;
    margin: 0 16px 10px;
    height: clamp(210px, 60vw, 250px);
    border-radius: 18px;
    background: #EEF0F5 url("hero-desk.png") 100% 100% / 210% no-repeat;
    box-shadow: 0 18px 44px rgba(38,20,70,.16);
    border: 1px solid rgba(255,255,255,.65);
  }
}

/* 11. Mobile spacing/sizing polish: calmer headline, tighter rhythm */
@media (max-width: 800px) {
  .enterprises .catalogue-intro > .wrap {
    padding-top: 96px;
    padding-bottom: 20px;
  }
  .enterprises .catalogue-intro h1 {
    font-size: clamp(38px, 10.5vw, 46px) !important;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
  }
  .enterprises .catalogue-hero-copy > p {
    font-size: 15px;
    line-height: 1.55;
    max-width: 32ch;
  }
  .enterprises .hero-delivery {
    margin-top: 16px;
    padding: 12px 16px;
    font-size: 12.5px;
    max-width: 320px;
  }
  .enterprises .mobile-hero-media {
    margin-top: 26px;
    height: clamp(200px, 56vw, 240px);
  }
}

/* 12. Mobile: art-directed device crop + note spacing fix */
@media (max-width: 800px) {
  .enterprises .mobile-hero-media {
    background: #EEF0F5 url("hero-mobile.png") center / cover no-repeat;
    aspect-ratio: 1402 / 699;
    height: auto;
    margin-top: 24px;
  }
  .enterprises .hero-delivery {
    margin-top: 22px;
    padding: 13px 18px;
    line-height: 1.6;
  }
}

/* 13. Tablet joins the mobile treatment: centred stack + framed card, kills band edges */
@media (max-width: 1100px) {
  .enterprises .catalogue-intro { background-image: none; }
  .enterprises .catalogue-intro > .wrap {
    display: block;
    height: auto;
    padding-top: 96px;
    padding-bottom: 20px;
    text-align: center;
  }
  .enterprises .catalogue-hero-copy {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .enterprises .catalogue-hero-copy > p { max-width: 40ch; }
  .enterprises .catalogue-hero-actions { justify-content: center; }
  .enterprises .hero-delivery {
    margin: 22px auto 0;
    text-align: center;
    max-width: 340px;
    line-height: 1.6;
  }
  .enterprises .mobile-hero-media {
    display: block;
    margin: 24px 16px 10px;
    aspect-ratio: 1402 / 699;
    height: auto;
    border-radius: 18px;
    background: #EEF0F5 url("hero-mobile.png") center / cover no-repeat;
    box-shadow: 0 18px 44px rgba(38,20,70,.16);
    border: 1px solid rgba(255,255,255,.65);
  }
}
@media (max-width: 800px) {
  .enterprises .catalogue-hero-copy > p { max-width: 32ch; font-size: 15px; }
  .enterprises .hero-delivery { max-width: 320px; padding: 13px 18px; font-size: 12.5px; }
}

/* 14. Mobile/tablet hero: full-bleed device-focused image, tag lower */
@media (max-width: 1100px) {
  .enterprises .hero-delivery {
    margin-top: 34px;
  }
  .enterprises .mobile-hero-media {
    margin: 28px 0 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    aspect-ratio: 1330 / 741;
    max-height: 400px;
    background: url("hero-mobile.png") center / cover no-repeat;
  }
}
