/* Zero Impulse public packages: catalogue and package pages */
.pkg-body { background: #f3f6fa; }
.pkg-page { background: #f3f6fa; padding-bottom: 72px; }

.pkg-hero { padding: clamp(124px, 12vw, 160px) var(--gutter) 48px; background: #101d3b; color: #fff; }
.pkg-hero > * { max-width: 860px; }
.pkg-hero .eyebrow { color: #73e0d7; }
.pkg-hero h1 { margin: 12px 0 16px; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -.04em; }
.pkg-hero > p:last-of-type, .pkg-hero > p:nth-of-type(2) { max-width: 680px; color: #c8d3e2; font-size: 1.05rem; line-height: 1.6; }
.pkg-hero-short { min-height: 60vh; }
.pkg-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; max-width: none; }
.pkg-filter button { min-height: 40px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: transparent; color: #fff; font-weight: 700; font-size: .86rem; cursor: pointer; }
.pkg-filter button.active, .pkg-filter button:hover { background: #fff; color: #101d3b; border-color: #fff; }

.pkg-catalogue { padding: 40px var(--gutter) 0; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pkg-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(11,21,48,.1); border-radius: 18px; background: #fff; text-decoration: none; color: var(--text); box-shadow: 0 10px 30px rgba(11,21,48,.06); transition: transform .18s ease, box-shadow .18s ease; }
.pkg-card:hover, .pkg-card:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(11,21,48,.12); }
.pkg-card[hidden] { display: none; }
.pkg-card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #dfe5ef; }
.pkg-card-media img { width: 100%; height: 100%; object-fit: cover; }
.pkg-card-initial { display: grid; place-items: center; height: 100%; color: #555aa7; font-size: 3rem; font-weight: 900; }
.pkg-card-count, .pkg-card-badge { position: absolute; bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.pkg-card-count { right: 10px; background: rgba(9,21,47,.78); color: #fff; }
.pkg-card-badge { left: 10px; background: #05b1a5; color: #052b2a; }
.pkg-card-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 18px 18px 20px; }
.pkg-card-body small { color: #555aa7; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pkg-card-body strong { font-size: 1.15rem; line-height: 1.25; color: #09152f; }
.pkg-card-summary { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.pkg-card-price { margin-top: auto; padding-top: 10px; color: #087f77; font-size: 1.05rem; font-weight: 900; }
.pkg-card-cta { color: #09152f; font-size: .88rem; font-weight: 800; }
.pkg-empty { max-width: 640px; margin: 20px auto; padding: 40px; border-radius: 18px; background: #fff; text-align: center; }

.pkg-help { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; margin: 56px var(--gutter) 0; padding: 32px; border-radius: 20px; background: #fff; }
.pkg-help h2 { margin: 0 0 6px; font-size: 1.5rem; color: #09152f; }
.pkg-help p { margin: 0; max-width: 560px; color: var(--muted); }
.pkg-help .cta-actions, .pkg-success .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Package page */
.pkg-detail-page { padding-top: clamp(96px, 9vw, 120px); }
.pkg-crumbs { display: flex; gap: 8px; padding: 0 var(--gutter) 16px; color: var(--muted); font-size: .86rem; }
.pkg-crumbs a { color: #555aa7; font-weight: 700; text-decoration: none; }
.pkg-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); padding: 0 var(--gutter); align-items: start; }
.pkg-gallery { position: sticky; top: 100px; min-width: 0; }
.pkg-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 20px; background: #dfe5ef; scrollbar-width: none; }
.pkg-slides::-webkit-scrollbar { display: none; }
.pkg-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 3; scroll-snap-align: start; }
.pkg-slide img { width: 100%; height: 100%; object-fit: cover; }
.pkg-slide-empty { display: grid; place-items: center; border-radius: 20px; background: #dfe5ef; color: #555aa7; font-size: 4rem; font-weight: 900; }
.pkg-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pkg-thumbs button { flex: 0 0 72px; height: 54px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: #dfe5ef; cursor: pointer; opacity: .7; }
.pkg-thumbs button[aria-current] { border-color: #05b1a5; opacity: 1; }
.pkg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pkg-info h1 { margin: 6px 0 10px; color: #09152f; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.03em; }
.pkg-price { margin: 0 0 14px; color: #087f77; font-size: 1.45rem; font-weight: 900; }
.pkg-summary { margin: 0 0 18px; color: var(--text); font-size: 1.06rem; }
.pkg-info h2 { margin: 24px 0 10px; color: #09152f; font-size: 1.05rem; }
.pkg-includes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pkg-includes li { position: relative; padding-left: 30px; line-height: 1.5; }
.pkg-includes li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: #d9f5f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f77' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pkg-description { margin-top: 18px; color: var(--muted); line-height: 1.65; }
.pkg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pkg-actions .button { min-height: 52px; }
.pkg-apply-button { flex: 1 1 220px; justify-content: center; }
.pkg-ask { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.pkg-ask a { color: #087f77; font-weight: 700; }

.pkg-apply { padding: 56px var(--gutter) 0; scroll-margin-top: 90px; }
.pkg-apply-card { max-width: 820px; margin: 0 auto; padding: clamp(22px, 4vw, 40px); border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(11,21,48,.08); }
.pkg-apply-head h2 { margin: 4px 0 8px; color: #09152f; font-size: 1.6rem; }
.pkg-apply-head p:last-child { margin: 0 0 22px; color: var(--muted); }
.pkg-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pkg-form label, .pkg-form legend { display: grid; gap: 6px; color: #2b3650; font-size: .86rem; font-weight: 700; }
.pkg-form fieldset { margin: 0; padding: 0; border: 0; }
.pkg-wide { grid-column: 1 / -1; }
.pkg-form :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 11px 13px; border: 1.5px solid #cfd8e3; border-radius: 12px; background: #fff; color: #09152f; font-size: 1rem; font-weight: 400; }
.pkg-form textarea { min-height: 96px; resize: vertical; }
.pkg-form :is(input, select, textarea):focus { outline: 3px solid rgba(5,177,165,.2); border-color: #05b1a5; }
.pkg-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; }
.pkg-check { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.pkg-check input, .pkg-consent input { width: 20px; min-height: 20px; height: 20px; accent-color: #087f77; }
.pkg-consent { display: flex !important; align-items: flex-start; gap: 10px; margin: 20px 0 6px; font-weight: 500 !important; line-height: 1.5; }
.pkg-consent a { color: #087f77; }
.pkg-hp { position: absolute !important; left: -9999px; }
.pkg-form-message { margin: 10px 0; padding: 11px 14px; border-radius: 10px; background: #fde8e7; color: #a12822; font-weight: 600; }
.pkg-form button[type=submit] { width: 100%; min-height: 54px; margin-top: 10px; justify-content: center; font-size: 1rem; cursor: pointer; }
.pkg-form button[disabled] { opacity: .65; cursor: wait; }
.pkg-success { text-align: center; }
.pkg-success h2 { color: #09152f; }
.pkg-success .cta-actions { justify-content: center; margin-top: 18px; }
.pkg-ref { padding: 12px; border-radius: 12px; background: #eef8f7; }

.pkg-footer { margin-top: 0; }

@media (max-width: 860px) {
  .pkg-detail { grid-template-columns: 1fr; padding: 0; }
  .pkg-gallery { position: static; }
  .pkg-slides { border-radius: 0; }
  .pkg-thumbs { padding: 0 16px; }
  .pkg-info { padding: 0 16px; }
  .pkg-crumbs { padding: 0 16px 12px; }
  .pkg-apply { padding: 40px 12px 0; }
  .pkg-form-grid { grid-template-columns: 1fr; }
  .pkg-help { margin: 40px 16px 0; padding: 24px; }
  .pkg-catalogue { padding: 28px 16px 0; }
  .pkg-hero { padding-left: 16px; padding-right: 16px; }
}

.pkg-l i { color: #c0392b; font-style: normal; }
.pkg-page .button.outline { border: 1.5px solid #09152f; background: #fff; color: #09152f; }
.pkg-page .button.outline:hover, .pkg-page .button.outline:focus-visible { background: #09152f; color: #fff; }
.pkg-hero .button.outline { border-color: #fff; background: transparent; color: #fff; }

/* Case studies */
.cs-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: -28px var(--gutter) 0; position: relative; }
.cs-results article { padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 14px 40px rgba(11,21,48,.1); }
.cs-results span { display: block; color: var(--muted); font-size: .82rem; font-weight: 700; }
.cs-results strong { display: block; margin: 6px 0 2px; color: #087f77; font-size: 2rem; letter-spacing: -.03em; }
.cs-results small { color: var(--muted); }
.cs-body { max-width: 820px; margin: 40px auto 0; padding: 0 16px; }
.cs-body h2 { margin: 28px 0 8px; color: #09152f; }
.cs-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.cs-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.cs-quote { margin: 30px 0; padding: 22px 26px; border-left: 4px solid #05b1a5; border-radius: 0 14px 14px 0; background: #fff; font-size: 1.15rem; line-height: 1.6; color: #09152f; }
.cs-quote cite { display: block; margin-top: 10px; color: var(--muted); font-size: .9rem; font-style: normal; font-weight: 700; }
.cs-services { color: var(--muted); }
