/* ════════════════════════════════════════════════════════════════
   Packages / Editions page  (route: /editions)  — v2 restyle
   Content styles are scoped under #packages-page so nothing leaks into
   the shared header/footer or the rest of the site. CSS variables live on
   the #packages-page wrapper (NOT :root) so the design's --primary-dark
   (#245E94) can't override the site-global --primary-dark.
   Font intentionally inherits the site font (Poppins), not Manrope — see CLAUDE.md.

   The hero (.pkg-hero) sits OUTSIDE #packages-page: it must be the immediate
   sibling of the shared #header so it can slide up under the transparent
   header (which has z-index:199), the same technique the homepage uses for
   its .fullscreen hero — this keeps the white header legible over the dark hero.
   ════════════════════════════════════════════════════════════════ */

/* ── Hero — homepage hero image + navy overlay + curved bottom (amendment 1) ── */
.pkg-hero {
  position: relative;
  text-align: center;
  color: #fff;
  /* extra bottom padding so the sub-line clears the shape-divider wave (matches
     the "Get in Touch" hero's 160px). Top keeps the 80px header-clearance. */
  padding: 150px 28px 160px;
  background:
    linear-gradient(rgba(21, 42, 71, .78), rgba(21, 42, 71, .78)),
    url('/images/Banner3.jpg') center / cover no-repeat;
}
@media (max-width: 991px) {
  .pkg-hero {
    padding-bottom: 96px;
  }
}
/* Slide the hero up under the shared transparent header (same as homepage .fullscreen) */
#header[data-transparent="true"] + .pkg-hero {
  top: -80px;
  margin-bottom: -80px;
}
.pkg-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
}
.pkg-hero p {
  max-width: 620px;
  margin: 16px auto 0;
  opacity: .9;
  font-size: 16.5px;
  color: #fff;
}

/* ════════════════════════════════════════════════════════════════ */
#packages-page {
  --primary: #2E75B7;
  --primary-dark: #245E94;
  --primary-soft: #EAF2FA;
  --navy: #152A47;
  --navy-2: #1D3A5F;
  --bg-page: #F0F3F7;
  --card: #FFFFFF;
  --ink: #1E2A38;
  --ink-soft: #5B6B7C;
  --line: #E1E7EE;
  --green: #059669;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(30, 42, 56, .08);
  background: var(--bg-page);
  color: var(--ink);
  line-height: 1.6;
}
#packages-page * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Headings follow their container's colour (the theme sets explicit heading
   colours that would otherwise show dark-on-navy in the dark card headers/bands) */
#packages-page h1,
#packages-page h2,
#packages-page h3,
#packages-page h4,
#packages-page h5,
#packages-page h6 {
  color: inherit;
}
#packages-page .wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
#packages-page .narrow {
  max-width: 960px;
  margin: 0 auto;
}

/* Anchor targets (#one / #enterprise / #full) — small breathing room if deep-linked */
#packages-page #one,
#packages-page #enterprise,
#packages-page #full {
  scroll-margin-top: 70px;
}

/* Buttons */
#packages-page .btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border: 0;
  border-radius: var(--radius-sm);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
  cursor: pointer;
  transition: all .15s;
}
#packages-page .btn.solid {
  background: var(--primary);
  color: #fff;
}
#packages-page .btn.solid:hover,
#packages-page .btn.solid:focus-visible {
  background: var(--primary-dark);
}
#packages-page .btn.ghost {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
#packages-page .btn.ghost:hover,
#packages-page .btn.ghost:focus-visible {
  background: var(--primary-soft);
}

/* Section framing */
#packages-page section.block {
  padding: 72px 0;
}
#packages-page section.block.first {
  padding-top: 48px;
}
#packages-page section.block.alt {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
#packages-page .sec-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}
#packages-page .sec-eyebrow {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
#packages-page .sec-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
#packages-page .sec-head p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin-top: 10px;
}
@media (max-width: 640px) {
  #packages-page section.block {
    padding: 48px 0;
  }
  #packages-page section.block.first {
    padding-top: 48px;
  }
}

/* Edition detail cards */
#packages-page .det-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
#packages-page .det {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#packages-page .det .head {
  padding: 32px 36px 24px;
}
#packages-page .det.ent .head {
  background: var(--navy);
  color: #fff;
}
#packages-page .det .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}
#packages-page .det.ent .tag {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
#packages-page .det h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.02em;
}
#packages-page .det .strap {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
}
#packages-page .det.ent .strap {
  color: #9CC2E8;
}
#packages-page .det .body {
  padding: 26px 36px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
#packages-page .det p.desc {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin-bottom: 22px;
}
#packages-page .det h4 {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
#packages-page .det ul {
  list-style: none;
  margin-bottom: 24px;
}
#packages-page .det li {
  padding: 6px 0;
  font-size: 14.5px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-weight: 500;
  color: var(--ink);
}
#packages-page .det li svg {
  flex: none;
  margin-top: 4px;
}
#packages-page .det .ideal {
  background: var(--bg-page);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 26px;
}
#packages-page .det .ideal h4 {
  margin-bottom: 8px;
}
#packages-page .det .ideal ul {
  margin: 0;
}
#packages-page .det .ideal li {
  padding: 3px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  display: list-item;
}
#packages-page .det .ideal li::before {
  content: "·";
  font-weight: 800;
  color: var(--primary);
  margin-right: 8px;
}
#packages-page .det .spacer {
  flex: 1;
}
@media (max-width: 860px) {
  #packages-page .det-grid {
    grid-template-columns: 1fr;
  }
  #packages-page .det .head {
    padding: 26px;
  }
  #packages-page .det .body {
    padding: 22px 26px 28px;
  }
}

/* 3. Full comparison — grouped cards, Enterprise column tinted */
#packages-page .cmp-group {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;                    /* narrow screens: scroll rather than clip the table */
  margin-bottom: 22px;
}
#packages-page .cmp-group .cmp-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
#packages-page .cmp-group .cmp-title .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
}
#packages-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
#packages-page th,
#packages-page td {
  padding: 13px 24px;
  text-align: left;
  vertical-align: top;
}
#packages-page thead th {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--line);
  background: #FAFBFC;
}
#packages-page thead th:nth-child(2),
#packages-page thead th:nth-child(3) {
  width: 29%;
}
#packages-page tbody tr {
  border-bottom: 1px solid var(--line);
}
#packages-page tbody tr:last-child {
  border-bottom: none;
}
#packages-page tbody tr:nth-child(even) {
  background: #FAFBFC;
}
#packages-page tbody td:first-child {
  font-weight: 700;
}
#packages-page tbody td:nth-child(2) {
  color: var(--ink-soft);
  font-weight: 500;
}
#packages-page tbody td:nth-child(3) {
  background: rgba(46, 117, 183, .06);
  font-weight: 500;
}
#packages-page .tick {
  color: var(--green);
  font-weight: 800;
}
#packages-page .dash {
  color: #B9C4CF;
  font-weight: 800;
}
@media (max-width: 640px) {
  #packages-page th,
  #packages-page td {
    padding: 10px 12px;
    font-size: 12.5px;
  }
}

/* 4. Why Fabiye — navy band */
#packages-page .why-band {
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
}
#packages-page .why-band .sec-eyebrow {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
#packages-page .why-band .sec-head h2 {
  color: #fff;
}
#packages-page .why-band .sec-head p {
  color: #B9CCE4;
}
#packages-page .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
#packages-page .why-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 24px;
}
#packages-page .why-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #9CC2E8;
}
#packages-page .why-card p {
  font-size: 13.5px;
  color: #C9D7E8;
}
@media (max-width: 900px) {
  #packages-page .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  #packages-page .why-grid {
    grid-template-columns: 1fr;
  }
}

/* Final CTA */
#packages-page .final {
  padding: 72px 0 84px;
  text-align: center;
}
#packages-page .final h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
#packages-page .final p {
  color: var(--ink-soft);
  margin: 12px auto 26px;
  max-width: 540px;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  #packages-page * {
    transition: none !important;
  }
}
