/* ═══════════════════════════════════════════════════════════════
   MEDMATCH GLOBAL — packages, stories, FAQ, WhatsApp (additive)
   Uses the design tokens from styles.css — no existing rules touched.
   ═══════════════════════════════════════════════════════════════ */

/* ── trust badge ── */
.tbadge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 28px; padding: 12px 22px; border-radius: 999px;
  background: rgba(47, 169, 164, 0.09); border: 1px solid rgba(47, 169, 164, 0.4);
  font-size: 13px; color: var(--ink-soft); line-height: 1.5;
}
.tbadge i { color: var(--turquoise); font-style: normal; font-weight: 600; }
.tbadge b { color: var(--teal); font-weight: 500; }

/* ── packages grid ── */
.pkgs { padding: 16vh 0 12vh; background: var(--sand); }
.pkgs__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px; margin: 7vh 4vw 0; max-width: 1500px;
}
.pkgs__bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px;
  margin: 6vh 4vw 0; max-width: 1500px;
}

.pkg {
  background: var(--shell); border: 1px solid var(--line-soft); border-radius: 24px;
  padding: 34px 30px 30px; display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -45px rgba(6, 51, 59, 0.35);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pkg:hover { transform: translateY(-6px); box-shadow: 0 44px 70px -45px rgba(6, 51, 59, 0.5); }
.pkg__tag { font-size: 9.5px; letter-spacing: 0.32em; font-weight: 500; color: var(--turquoise); }
.pkg__name { font-family: var(--serif); font-size: 27px; font-weight: 500; margin: 10px 0 8px; line-height: 1.15; }
.pkg__desc { font-size: 13.5px; color: var(--ink-soft); }
.pkg__inc { list-style: none; margin: 18px 0 0; display: flex; flex-direction: column; gap: 7px; }
.pkg__inc li { font-size: 13px; color: var(--ink-soft); display: flex; gap: 10px; }
.pkg__inc li::before { content: "✦"; color: var(--turquoise); font-size: 10px; margin-top: 2px; }

.pkg__hotel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; padding: 5px;
  background: var(--foam);
}
.pkg__hbtn {
  border: 0; background: none; border-radius: 10px; padding: 11px 8px;
  font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-soft);
  transition: 0.3s;
}
.pkg__hbtn.is-on { background: linear-gradient(120deg, var(--turquoise), var(--teal)); color: var(--shell); box-shadow: 0 6px 16px -6px rgba(18, 112, 123, 0.6); }
.pkg__hnote { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 13.5px; color: var(--ink-soft); text-align: center; }

.pkg__free { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.pkg__free span { font-size: 12.5px; color: var(--ink-soft); }
.pkg__free b { color: var(--teal); }
.pkg__free em { font-style: italic; opacity: 0.8; }

.pkg__table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.pkg__table td { padding: 9px 0; font-size: 12.5px; color: var(--ink-soft); border-top: 1px solid var(--line-soft); vertical-align: top; }
.pkg__table td:last-child { text-align: right; white-space: nowrap; font-weight: 500; color: var(--ink); padding-left: 12px; }
.pkg__table td em { font-style: italic; opacity: 0.75; }
.pkg__table .free { color: var(--turquoise); letter-spacing: 0.08em; font-size: 11px; }
.pkg__table .total td { border-top: 2px solid var(--teal); padding-top: 12px; font-weight: 500; color: var(--ink); font-size: 13.5px; }
.pkg__table .total td:last-child { font-family: var(--serif); font-size: 24px; color: var(--teal); }

.pkg__ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.pkg__ctas .btn { padding: 15px 20px; width: 100%; }
.btn--wa {
  background: #25D366; color: #fff; gap: 10px;
  box-shadow: 0 12px 28px -12px rgba(37, 211, 102, 0.6);
}
.btn--wa::before { background: #128C4B; }
.btn--wa svg { width: 18px; height: 18px; position: relative; z-index: 2; }
.pkg__fine { margin-top: 16px; font-size: 11px; color: var(--ink-soft); opacity: 0.8; font-style: italic; line-height: 1.5; }

/* ── patient stories (shorts) ── */
.stories { padding: 15vh 0 13vh; background: var(--shell); }
.stories__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-right: 7vw; }
.stories__nav { display: flex; gap: 10px; }
.stories__nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--shell); color: var(--teal); font-size: 16px; transition: 0.3s;
}
.stories__nav button:hover { background: var(--teal); color: var(--shell); border-color: var(--teal); }
.stories__row {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6vh 7vw 20px; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.stories__row::-webkit-scrollbar { display: none; }
.story {
  flex: none; width: 210px; scroll-snap-align: start;
  border: 0; background: none; padding: 0; text-align: left; cursor: pointer;
}
.story__media {
  position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(120% 100% at 30% 0%, rgba(47, 169, 164, 0.55) 0%, transparent 55%),
    linear-gradient(160deg, var(--sea) 0%, var(--sea-deep) 80%);
  box-shadow: 0 24px 50px -35px rgba(6, 51, 59, 0.6);
  display: grid; place-items: center;
  transition: transform 0.45s var(--ease);
}
.story:hover .story__media { transform: translateY(-6px) scale(1.02); }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__play {
  position: relative; z-index: 2; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: var(--sea-deep);
  display: grid; place-items: center; font-size: 15px; padding-left: 4px;
  box-shadow: 0 10px 26px rgba(6, 51, 59, 0.45);
}
.story__meta { display: flex; flex-direction: column; margin-top: 12px; }
.story__meta strong { font-size: 13.5px; letter-spacing: 0.06em; font-weight: 500; color: var(--ink); }
.story__meta span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-top: 3px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 5000; display: none;
  background: rgba(4, 32, 37, 0.88); backdrop-filter: blur(8px);
  place-items: center; padding: 4vh 4vw;
}
.lightbox.is-open { display: grid; }
.lightbox__frame { width: min(420px, 92vw); aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,0.6); }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close {
  position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); color: #fff;
  font-size: 20px; transition: 0.3s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.22); }

/* ── floating WhatsApp (desktop only — mobile has the sticky bar) ── */
.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 2500;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.65);
  transition: transform 0.35s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45); animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }

/* ── standalone packages page ── */
.pagehead { padding: 20vh 7vw 6vh; background: var(--sea-deep); color: var(--shell); }
.pagehead .eyebrow { color: var(--aqua); }
.pagehead .lede { color: rgba(244, 250, 249, 0.78); }
.pagehead a.back { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--aqua); }

@media (max-width: 700px) {
  .wa-float { display: none; } /* mobile sticky bar already has WhatsApp */
}
@media (max-width: 640px) {
  .pkgs__grid { grid-template-columns: 1fr; margin: 6vh 5vw 0; }
  .story { width: 178px; }
  .stories__head { flex-direction: column; align-items: flex-start; }
}

/* ── partner hospital pages (acibadem.html / medical-park.html) ── */

.campuses {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin: 7vh 7vw 0; max-width: 1250px;
}
.campus {
  background: var(--shell); border: 1px solid var(--line-soft); border-radius: 20px;
  padding: 26px 26px 24px;
  box-shadow: 0 26px 50px -42px rgba(6, 51, 59, 0.35);
}
.campus h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.15; }
.campus__role {
  margin-top: 8px; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--turquoise); font-weight: 500;
}
.campus__addr { margin-top: 12px; font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.campuses__more {
  margin: 3vh 7vw 0; max-width: 640px;
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-soft);
}

.plist {
  columns: 2; column-gap: 26px;
  margin: 5vh 7vw 0; max-width: 1250px;
}
@media (max-width: 900px) { .plist { columns: 1; } }
.plist__cat {
  break-inside: avoid; margin-bottom: 26px;
  background: var(--shell); border: 1px solid var(--line-soft); border-radius: 20px;
  padding: 26px 26px 14px;
  box-shadow: 0 26px 50px -42px rgba(6, 51, 59, 0.35);
}
.plist__title {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  padding-bottom: 14px; border-bottom: 2px solid var(--teal);
}
.plist__table { width: 100%; border-collapse: collapse; }
.plist__table td {
  padding: 12px 0; font-size: 13.5px; color: var(--ink-soft);
  border-top: 1px solid var(--line-soft); vertical-align: top;
}
.plist__table tr:first-child td { border-top: 0; }
.plist__table td:last-child { text-align: right; white-space: nowrap; padding-left: 14px; }
.plist__table td b { display: block; font-weight: 500; color: var(--ink); font-size: 15px; }
.plist__table td span { display: block; font-size: 11px; color: var(--ink-soft); opacity: 0.8; margin-top: 2px; }

.plist__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 5vh 7vw 0; }

.soon { margin: 7vh 7vw 0; max-width: 1250px; }
.soon__card {
  background: var(--shell); border: 1px solid var(--line-soft); border-radius: 24px;
  padding: 44px 40px; max-width: 640px;
  box-shadow: 0 30px 60px -45px rgba(6, 51, 59, 0.35);
}
.soon__badge {
  display: inline-block; font-size: 10px; letter-spacing: 0.32em; font-weight: 500;
  color: var(--turquoise); border: 1px solid rgba(47, 169, 164, 0.4); border-radius: 999px;
  padding: 8px 18px; background: rgba(47, 169, 164, 0.09);
}
.soon__card h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin-top: 20px; line-height: 1.15; }
.soon__card p { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.soon__card .plist__ctas { margin: 26px 0 0; }
@media (max-width: 640px) { .soon__card { padding: 32px 24px; } }
