/* ============================================================
   ARTSTORK AGENCY — pricing.css
   ------------------------------------------------------------
   Styles for pricing.html ONLY. Loaded AFTER css/style.css,
   so every token (--lime, --bg, --line, --ease…), the header,
   the footer, .btn, .modal and .container come from the main
   stylesheet. Nothing here overrides the rest of the site.
   ============================================================ */

/* ---------- Header: active page link ---------- */
.header__link.is-current,
.mmenu__link.is-current { color: var(--lime); }

/* ---------- Pricing hero ---------- */
.phero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(38px, 5vw, 76px));
  padding-bottom: clamp(26px, 3.4vw, 46px);
  text-align: center;
  background:
    radial-gradient(70% 80% at 75% 6%, rgba(177, 195, 32, 0.05), transparent 60%),
    var(--bg);
}
.phero__inner { position: relative; z-index: 1; }
.phero .eyebrow { font-size: 13px; }
.phero__title {
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.phero__sub {
  margin: 18px auto 0;
  max-width: 620px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
}

.orbit--pricing {
  width: 330px; height: 330px;
  right: -70px;
  top: -90px;
}

/* ---------- Plan cards ----------
   The quote is a real HTML bubble placed UNDER the photo, so it can
   hold a few lines of copy. .plan-card is a flex column and .speech
   grows, which keeps the title / price / button rows aligned across
   all five cards regardless of quote length.                        */
.plans { padding-block: clamp(22px, 3vw, 38px) clamp(10px, 2vw, 18px); }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #0d0f0e, #080909);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(177, 195, 32, 0.35);
}

.plan-card__media {
  position: relative;
  flex: 0 0 auto;
  height: 168px;
  overflow: hidden;
  background-color: #0b0c0b;
}
/* Art-directed portraits: a wide crop for desktop/tablet and a tall crop for
   phone rows (swapped via <picture> in pricing.html). object-position keeps the
   face at the same spot in every card, whatever the card's aspect ratio is. */
.plan-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 42%;
}
.plan-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 42%, rgba(8, 8, 8, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 40%, rgba(9, 10, 9, 0.92) 100%);
}

.speech {
  position: relative;
  flex: 1 1 auto;
  margin: 16px 14px 0;
  padding: 14px 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(3, 3, 3, 0.92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  color: rgba(244, 244, 240, 0.92);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
}
.speech::after {
  content: '';
  position: absolute;
  left: 24px; top: -8px;
  width: 14px; height: 14px;
  background: rgba(3, 3, 3, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

.plan-card__body { padding: 16px 14px 16px; }
.plan-card__body h3 {
  min-height: 38px;
  color: var(--lime-bright);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.plan-card .price {
  min-height: 30px;
  margin: 8px 0 15px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.4;
}
.plan-card .price strong {
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
}

.outline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  border: 1px solid rgba(201, 221, 46, 0.65);
  border-radius: 8px;
  color: var(--lime-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.outline-btn:hover { background: var(--lime-bright); color: var(--lime-ink); }
.outline-btn .arrow { transition: transform var(--t-fast) var(--ease); }
.outline-btn:hover .arrow { transform: translate(2px, -2px); }

.arrow { width: 12px; height: 12px; flex: 0 0 auto; }

/* ---------- Compare table ---------- */
.compare-wrap { padding-block: clamp(10px, 1.8vw, 20px) clamp(40px, 5vw, 62px); }

.compare-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080909;
}
.table-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.compare-card table {
  width: 100%;
  min-width: 1090px;
  border-collapse: collapse;
  table-layout: fixed;
}
.compare-card th,
.compare-card td {
  padding: 17px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}
.compare-card thead th {
  padding: 23px 14px;
  background: #0a0b0a;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.compare-card thead th:first-child {
  text-align: left;
  color: var(--lime-bright);
  font-size: 15px;
  letter-spacing: 0.1em;
}
.compare-card th:first-child,
.compare-card td:first-child { width: 30%; }
.compare-card tbody th {
  text-align: left;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 600;
}
.compare-card tr:last-child th,
.compare-card tr:last-child td { border-bottom: 0; }
.compare-card th:last-child,
.compare-card td:last-child { border-right: 0; }

.table-price {
  display: block;
  white-space: normal;
  margin-top: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.row-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 12px;
  width: 22px; height: 22px;
  color: var(--lime);
}
.row-icon svg,
.yes svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.yes { color: var(--lime-bright); }
.yes svg { margin: auto; }

.table-hint {
  display: none;
  gap: 8px;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: #0a0b0a;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare-notes {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  padding: 20px;
  background: #070807;
}
.note {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}
.note strong { color: var(--lime-bright); }
.note-badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border: 1px solid rgba(177, 195, 32, 0.55);
  border-radius: 11px;
  background: rgba(177, 195, 32, 0.08);
  color: var(--lime-bright);
}
.note-badge svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- One-time services ---------- */
.one-time {
  padding-block: clamp(52px, 6.5vw, 76px);
  border-top: 1px solid var(--line-soft);
}
.section-head { margin-bottom: 32px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.section-head .desc {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14.5px;
}
.section-head .eyebrow { margin-bottom: 14px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.svc-item { min-width: 0; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 176px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0c0b;
  text-align: left;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(177, 195, 32, 0.4);
  background: #0d100d;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--lime-bright);
}
.service-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-copy {
  padding-right: 26px;
  margin-top: auto;
}
.service-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}
.service-price {
  display: block;
  margin-top: 7px;
  color: var(--lime-bright);
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}
.service-card__arrow {
  position: absolute;
  right: 20px; bottom: 22px;
  color: var(--lime-bright);
  transition: transform var(--t-fast) var(--ease);
}
.service-card:hover .service-card__arrow { transform: translate(2px, -2px); }
.service-card__chev { display: none; }

/* Mobile accordion panel (kept out of the flow on desktop) */
.svc-panel { display: none; }

/* ---------- Listing Launch ---------- */
.launch {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 34px;
  border: 1px solid rgba(177, 195, 32, 0.34);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #0c0e0c 0%, #0a0b0a 58%, rgba(177, 195, 32, 0.055) 100%);
}
.launch::after {
  content: '';
  position: absolute;
  right: -100px; top: -130px;
  width: 240px; height: 240px;
  border: 1px solid rgba(177, 195, 32, 0.16);
  border-radius: 50%;
}
.launch__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.launch .eyebrow { margin-bottom: 12px; font-size: 12px; }
.launch h3 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.launch__sub {
  margin-top: 12px;
  max-width: 54ch;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
}
.launch-price {
  color: var(--lime-bright);
  font-size: clamp(38px, 4.4vw, 46px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.launch__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 34px;
  padding-top: 28px;
}
.launch h4 {
  margin-bottom: 15px;
  color: var(--lime-bright);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.launch ul {
  display: grid;
  gap: 10px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.5;
}
.launch li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.launch li::before {
  content: '✓';
  color: var(--lime-bright);
  font-weight: 800;
}
.launch strong { color: var(--text); }
.launch__add-ons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.chip {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 11.5px;
}
.chip strong { color: var(--text); }

/* ---------- Final CTA (uses the site .cta grid) ---------- */
.cta--pricing { padding-block: clamp(56px, 6.5vw, 96px); }
.cta__small {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 13px;
}

/* ---------- Plan / service detail modals ---------- */
.modal__body--plan {
  display: flex;
  flex-direction: column;
  width: min(540px, 100%);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  padding: clamp(20px, 3vw, 28px) clamp(26px, 3.6vw, 36px) clamp(26px, 3.6vw, 36px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-2);
}
/* The panel scrolls, so the close button has to live inside it — same
   sticky pattern css/style.css already uses for doc modals on phones. */
.modal__body--plan .modal__close {
  position: sticky;
  top: 0;
  right: auto;
  z-index: 5;
  align-self: flex-end;
  margin: -4px -6px 2px 0;
  background: var(--bg-2);
}
.plan-modal__title {
  margin-right: 34px;
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}
.modal-price {
  margin: 10px 0 20px;
  color: var(--lime-bright);
  font-size: 26px;
  font-weight: 800;
}
.modal-price span {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}
.detail-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.detail-list li {
  display: flex;
  gap: 11px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.5;
}
.mini-check {
  flex: 0 0 auto;
  width: 19px; height: 19px;
  margin-top: 1px;
  color: var(--lime-bright);
}
.mini-check svg { width: 19px; height: 19px; }
.modal-note {
  display: flex;
  gap: 10px;
  margin: -8px 0 22px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(177, 195, 32, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.015);
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.5;
}
.modal-note::before {
  content: '!';
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 16px; height: 16px;
  margin-top: 1px;
  border: 1px solid rgba(177, 195, 32, 0.55);
  border-radius: 50%;
  color: var(--lime-bright);
  font-size: 10px;
  font-weight: 800;
}
.modal-cta { width: 100%; justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
  .table-hint { display: flex; }
}

@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .launch__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .launch__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-notes { grid-template-columns: 1fr; }
  .orbit--pricing { right: -120px; top: -120px; opacity: 0.7; }
}

/* ---------- MOBILE (≤768px): plan rows + services accordion ---------- */
@media (max-width: 768px) {

  .phero { padding-top: calc(var(--header-h) + 30px); text-align: left; }
  .phero__sub { margin-left: 0; }

  /* Plan cards become compact rows */
  .plan-grid { grid-template-columns: 1fr; gap: 12px; }
  .plan-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: stretch;
  }
  .plan-card:hover { transform: none; }
  .plan-card__media {
    grid-row: 1 / span 2;
    height: auto;
    min-height: 130px;
  }
  .plan-card__media img { object-position: 50% 34%; }
  .plan-card__shade {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 62%, rgba(9, 10, 9, 0.6) 100%);
  }
  .speech {
    margin: 12px 13px 0;
    padding: 11px 12px;
    font-size: 12px;
    line-height: 1.5;
  }
  .speech::after { display: none; }
  .plan-card__body { padding: 12px 13px 14px; }
  .plan-card__body h3 { min-height: 0; font-size: 14px; }
  .plan-card .price { margin: 6px 0 12px; font-size: 12.5px; }
  .plan-card .price strong { font-size: 19px; }
  .plan-card .outline-btn { height: 40px; }

  /* The comparison table is unusable on a phone — hide it.
     Per-plan details stay available through the SEE DETAILS modals.
     The two notes below it are still shown.                          */
  .table-hint,
  .table-scroll { display: none; }
  .compare-card {
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .compare-notes {
    gap: 10px;
    padding: 0;
    background: transparent;
  }
  .compare-wrap { padding-block: 6px 30px; }

  /* One-time services become an accordion */
  .services-grid { grid-template-columns: 1fr; gap: 10px; }

  .svc-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0a0c0b;
    transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
  }
  .svc-item.is-open {
    border-color: rgba(177, 195, 32, 0.42);
    background: #0c0f0c;
  }

  .service-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    min-height: 0;
    padding: 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .service-card:hover {
    transform: none;
    background: transparent;
  }
  .service-icon {
    width: 42px; height: 42px;
    margin-bottom: 0;
    border-color: rgba(177, 195, 32, 0.35);
  }
  .service-icon svg { width: 23px; height: 23px; }
  .service-copy { padding-right: 0; margin-top: 0; }
  .service-copy strong { font-size: 14.5px; }
  .service-price {
    margin-top: 0;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
  }
  .service-card__arrow { display: none; }
  .service-card__chev {
    display: block;
    width: 18px; height: 18px;
    color: var(--text-3);
    transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  }
  .svc-item.is-open .service-card__chev {
    color: var(--lime-bright);
    transform: rotate(180deg);
  }

  .svc-panel {
    display: block;
    height: 0;
    overflow: hidden;
    transition: height 0.34s var(--ease);
  }
  .svc-panel[hidden] { display: none; }
  .svc-panel__inner {
    margin-top: 2px;
    padding: 15px 16px 18px 72px;
    border-top: 1px solid var(--line-soft);
  }
  .svc-panel .detail-list { gap: 9px; margin-bottom: 14px; }
  .svc-panel .modal-note { margin: 0 0 14px; font-size: 12px; }
  .svc-panel .detail-list li { font-size: 13px; }
  .svc-panel .outline-btn { height: 42px; }

  /* Listing Launch */
  .launch { padding: 24px; margin-top: 14px; }
  .launch__top { display: block; padding-bottom: 22px; }
  .launch-price { display: block; margin-top: 16px; }
  .launch__grid { grid-template-columns: 1fr; gap: 26px; padding-top: 24px; }
  .launch__grid > div:first-child { grid-column: auto; }
}

@media (max-width: 480px) {
  .phero__title { font-size: 37px; }
  .phero__sub { font-size: 14.5px; }
  .plan-card { grid-template-columns: 90px minmax(0, 1fr); }
  .service-card { gap: 12px; padding: 14px; }
  .service-copy strong { font-size: 13.5px; }
  .service-price { font-size: 14px; }
  .svc-panel__inner { padding-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-panel { transition: none; }
}

/* --- One-time service cards: hover hint (desktop pointers only) --- */
@media (hover: hover) and (pointer: fine) {
  .service-card::after {
    content: 'Click to view';
    position: absolute;
    right: 18px; top: 20px;
    padding: 5px 11px;
    border: 1px solid rgba(177, 195, 32, 0.45);
    border-radius: 999px;
    background: rgba(177, 195, 32, 0.13);
    color: var(--lime-bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
    pointer-events: none;
  }
  .service-card:hover::after,
  .service-card:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card::after { transition: none; }
}
