/* Zenlo cinematic direction — hero, rhythm and motion. September 2026. */

:root {
  /* motion tokens: one family of curves and four durations for the whole page */
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 220ms;   /* hover, focus */
  --dur-2: 520ms;   /* state changes */
  --dur-3: 900ms;   /* reveals */
  --dur-4: 1200ms;  /* large moves */
}

/* ---------- Buttons: arrow nudge ---------- */

.btn .arrow {
  transition: transform 320ms var(--ease-out);
}

.btn:hover .arrow,
.btn:focus-visible .arrow {
  transform: translateX(5px);
}

.btn-primary {
  transition: background var(--ease), box-shadow 320ms var(--ease-out), transform 320ms var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

/* ---------- Interlude (wide photo breath) ---------- */

.interlude {
  position: relative;
  isolation: isolate;
  min-height: clamp(380px, 40vw, 560px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: #e9e4da;
}

.interlude-media {
  position: absolute;
  inset: -8% 0;
  z-index: -1;
  margin: 0;
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}

.interlude-media picture,
.interlude-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.interlude-media img {
  object-fit: cover;
  object-position: 60% 50%;
}

.interlude-copy {
  padding-top: clamp(48px, 5.5vw, 84px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding-right: clamp(0px, 16vw, 260px);
}

.interlude-copy .overline {
  color: var(--forest);
}

.interlude h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.055em;
  color: var(--ink);
}

.interlude-note {
  max-width: 300px;
  margin: 18px 0 0;
  color: #3f463d;
  font-size: .95rem;
  line-height: 1.6;
}

.interlude h2 em {
  font-style: normal;
  color: var(--forest);
  font-weight: 400;
}

/* ---------- Rhythm: vary density ---------- */

#journey { padding-bottom: 72px; }
#treatments { padding-top: 104px; }
#stories { padding-block: 72px; }

/* ---------- Journey: living bento ---------- */

.bento-live {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.live-plan { grid-column: span 7; }
.live-stay { grid-column: span 5; }
.live-after { grid-column: span 4; }
.bento-live .bento-wide { grid-column: span 8; }

.live-card {
  --mx: 50%;
  --my: 0%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  padding: 30px;
  background: #edf0e8;
  border: 1px solid transparent;
  box-shadow: none;
  transition: transform 500ms var(--ease-out), border-color 300ms ease;
}

.live-plan {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr;
  align-items: center;
}

.bento-live .live-card::before {
  display: block;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .7), transparent 60%);
  opacity: 0;
  transition: opacity 400ms ease;
}

.bento-live .live-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 74, 58, .12);
  box-shadow: none;
}

.bento-live .live-card:hover::before { opacity: 1; }

.live-step {
  display: inline-block;
  margin-bottom: 18px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
}

.bento-live .live-card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -.03em;
}

.bento-live .live-card p { margin: 0; }
.live-head p { max-width: 34ch; }

.live-ui {
  align-self: end;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Plan: a mini document that fills itself in */
.plan-ui {
  padding: 20px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(25, 27, 24, .04), 0 18px 40px -26px rgba(31, 74, 58, .35);
  transform: rotate(1.2deg);
  transition: transform 600ms var(--ease-out);
}

.live-plan:hover .plan-ui { transform: rotate(0deg) translateY(-2px); }

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.plan-title { font-size: .86rem; font-weight: 500; }

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--sage);
  color: var(--forest);
  font-size: .68rem;
  font-weight: 500;
  white-space: nowrap;
}

.plan-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3f8a67;
  animation: live-pulse 2.4s ease-in-out infinite;
}

.plan-rows { margin: 12px 0 16px; padding: 0; list-style: none; }

.plan-rows li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 0;
  font-size: .85rem;
  color: var(--ink);
}

.plan-check {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #c9d3c5;
  transition: background 300ms ease, border-color 300ms ease;
  transition-delay: calc(.35s + var(--i) * .35s);
}

.plan-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid var(--paper);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 300ms var(--ease-out);
  transition-delay: calc(.45s + var(--i) * .35s);
}

.plan-bar { height: 4px; border-radius: 4px; background: var(--sage); overflow: hidden; }

.plan-bar span {
  display: block;
  height: 100%;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease-soft) .35s;
}

.is-live .plan-check { background: var(--forest); border-color: var(--forest); }
.is-live .plan-check::after { transform: rotate(45deg) scale(1); }
.is-live .plan-bar span { transform: scaleX(1); }

/* Stay: an itinerary with a travelling "now" marker */
.trip-ui {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 22px;
}

.trip-ui::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: #c9d3c5;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--ease-soft) .3s;
}

.is-live .trip-ui::before { transform: scaleY(1); }

.trip-ui li {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: .85rem;
  opacity: .35;
  transition: opacity 500ms ease;
  transition-delay: calc(.4s + var(--i) * .3s);
}

.is-live .trip-ui li { opacity: 1; }

.trip-ui li::before {
  content: '';
  position: absolute;
  left: -22px;
  top: .35em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #edf0e8;
  border: 1px solid var(--forest);
  box-sizing: border-box;
}

.is-live .trip-ui li::before {
  animation: trip-now 8s var(--ease-soft) infinite;
  animation-delay: calc(1.8s + var(--i) * 2s);
}

.trip-ui b { font-weight: 500; }
.trip-ui span { color: var(--muted); font-size: .78rem; text-align: right; }

@keyframes trip-now {
  0%, 22%, 100% { background: #edf0e8; box-shadow: 0 0 0 0 rgba(31, 74, 58, 0); }
  4%, 18% { background: var(--forest); box-shadow: 0 0 0 5px rgba(31, 74, 58, .12); }
}

/* After: a coordinator conversation */
.chat-ui {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-live .bubble {
  max-width: 88%;
  margin: 0;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: .8rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px) scale(.96);
  transform-origin: left bottom;
  transition: opacity 400ms ease, transform 500ms var(--ease-out);
  transition-delay: calc(.4s + var(--i) * .7s);
}

.bento-live .bubble-in { align-self: flex-start; background: var(--paper); color: var(--ink); border-bottom-left-radius: 5px; }
.bento-live .bubble-out { align-self: flex-end; background: var(--forest); color: var(--paper); border-bottom-right-radius: 5px; transform-origin: right bottom; }

.typing {
  display: inline-flex;
  gap: 4px;
  align-self: flex-start;
  padding: 10px 13px;
  border-radius: 16px;
  background: var(--paper);
  opacity: 0;
  transition: opacity 400ms ease calc(.4s + var(--i) * .7s);
}

.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9aa597;
  animation: typing 1.2s ease-in-out infinite;
}

.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

.is-live .bubble { opacity: 1; transform: none; }
.is-live .typing { opacity: 1; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 138, 103, .45); }
  50% { box-shadow: 0 0 0 5px rgba(63, 138, 103, 0); }
}

/* Wide card: stats in a row, watermark stays faint behind the text */
.bento-live .bento-wide {
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 34px 36px;
  align-content: space-between;
}

.bento-live .bento-wide:hover { transform: translateY(-4px); }

.bento-watermark {
  color: rgba(253, 252, 250, .05);
  right: -30px;
  bottom: -50px;
  width: 220px;
}

.bento-live .bento-stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(253, 252, 250, .14);
}

.bento-live .bento-stats li {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  border: 0;
}

.bento-live .bento-stats span { font-size: .82rem; }

@media (max-width: 1100px) {
  .live-plan { grid-column: span 12; }
  .live-stay, .live-after { grid-column: span 6; }
  .bento-live .bento-wide { grid-column: span 12; }
}

@media (max-width: 780px) {
  .bento-live { grid-template-columns: 1fr; }
  .live-plan, .live-stay, .live-after, .bento-live .bento-wide { grid-column: auto; }
  .live-plan { grid-template-columns: 1fr; }
  .live-card { padding: 24px; gap: 24px; }
  .plan-ui { transform: none; }
  .bento-live .bento-wide { padding: 28px 24px; }
  .bento-live .bento-stats { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Reveals ----------
   js/motion.js adds .is-in the first time an element is in view. Reveals are one-shot animations that
   release the element afterwards (no fill-forwards), so hover transitions on the same card keep working. */

@keyframes reveal-rise {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
}

@keyframes reveal-fade {
  from { opacity: 0; }
}

@keyframes word-rise {
  from { transform: translate3d(0, 108%, 0); }
}

@keyframes curtain {
  to { transform: scaleY(0); }
}

@keyframes settle {
  from { transform: scale(1.08); }
}

.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

.js [data-reveal].is-in {
  animation: reveal-rise var(--dur-4) var(--ease-out) var(--rd, 0s) backwards;
}

.js [data-reveal="fade"]:not(.is-in) { transform: none; }
.js [data-reveal="fade"].is-in { animation-name: reveal-fade; animation-duration: var(--dur-3); }

/* headings: the build wraps each word; words rise out of a mask, one after another */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: .14em .06em .12em 0;
  margin: -.14em -.06em -.12em 0;
}

.wi { display: inline-block; }

.js [data-reveal="words"]:not(.is-in) { opacity: 1; transform: none; }
.js [data-reveal="words"]:not(.is-in) .wi { transform: translate3d(0, 108%, 0); }
.js [data-reveal="words"].is-in { animation: none; }
.js [data-reveal="words"].is-in .wi {
  animation: word-rise var(--dur-4) var(--ease-out) calc(var(--rd, 0s) + var(--i, 0) * 55ms) backwards;
}

/* photographs: a cover draws away from the top while the picture settles */
.js [data-reveal="wipe"] { position: relative; overflow: hidden; }
.js [data-reveal="wipe"]:not(.is-in) { opacity: 1; transform: none; }
.js [data-reveal="wipe"].is-in { animation: none; }

.js [data-reveal="wipe"]::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 2;
  background: var(--cover, var(--ivory));
  transform-origin: 50% 0;
  pointer-events: none;
}

.js [data-reveal="wipe"].is-in::after { animation: curtain 1.1s var(--ease-io) var(--rd, 0s) forwards; }
.js [data-reveal="wipe"].is-in img { animation: settle 1.5s var(--ease-out) var(--rd, 0s) backwards; }

@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
  .wi { transform: none !important; animation: none !important; }
  [data-reveal="wipe"]::after { display: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 780px) {
  .interlude { min-height: 0; flex-direction: column; align-items: stretch; background: var(--ivory); }
  .interlude-media {
    position: relative;
    inset: auto;
    height: min(78vw, 360px);
    order: 2;
    transform: none;
  }
  .interlude-copy {
    padding-block: 48px 24px;
    padding-right: 0;
    align-items: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .hero-reveal,
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .js [data-reveal] .wi { transform: none !important; }
  .js [data-reveal="wipe"]::after { display: none; }
  .hero-media-inner,
  .interlude-media { transform: none !important; }
  .hero-video { display: none; }
  .bubble, .typing, .trip-ui li { opacity: 1 !important; transform: none !important; }
  .plan-check { background: var(--forest); border-color: var(--forest); }
  .plan-check::after { transform: rotate(45deg) scale(1) !important; }
  .plan-bar span, .trip-ui::before { transform: none !important; }
  .typing { display: none; }
}

/* ---------- Treatments: segmented tabs + photo panels ---------- */

.treat-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 20px;
  padding: 6px;
  border-radius: 22px;
  background: #ebeee6;
  isolation: isolate;
}

.treat-tab {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: baseline;
  padding: 16px 18px;
  border-radius: 16px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition: color 300ms ease;
}

.treat-tab:hover { color: var(--ink); }

.tt-num {
  grid-row: span 2;
  font-size: .72rem;
  letter-spacing: .06em;
  color: inherit;
  opacity: .7;
}

.tt-name {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -.02em;
}

.tt-sub {
  margin-top: 2px;
  font-size: .78rem;
  opacity: .8;
}

.treat-tab-ink {
  position: absolute;
  z-index: 0;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc((100% - 12px) / 4);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(25, 27, 24, .05), 0 10px 24px -14px rgba(31, 74, 58, .35);
  transition: transform 520ms var(--ease-out);
}

#t-crowns:checked ~ .treat-tabs .treat-tab-ink { transform: translateX(100%); }
#t-veneers:checked ~ .treat-tabs .treat-tab-ink { transform: translateX(200%); }
#t-whitening:checked ~ .treat-tabs .treat-tab-ink { transform: translateX(300%); }

#t-implants:checked ~ .treat-tabs label[for="t-implants"],
#t-crowns:checked ~ .treat-tabs label[for="t-crowns"],
#t-veneers:checked ~ .treat-tabs label[for="t-veneers"],
#t-whitening:checked ~ .treat-tabs label[for="t-whitening"] {
  color: var(--forest);
}

#t-implants:focus-visible ~ .treat-tabs label[for="t-implants"],
#t-crowns:focus-visible ~ .treat-tabs label[for="t-crowns"],
#t-veneers:focus-visible ~ .treat-tabs label[for="t-veneers"],
#t-whitening:focus-visible ~ .treat-tabs label[for="t-whitening"] {
  outline: 2px solid var(--forest);
  outline-offset: -2px;
}

/* Panels stack in one grid cell, so the height follows the content. */
.treat-details,
.picker .treat-details {
  display: grid;
  min-height: 0;
}

.treat-detail {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr) minmax(0, .8fr);
  gap: 40px;
  padding: 14px 40px 14px 14px;
  border-radius: 28px;
  box-shadow: none;
  transform: translateY(8px);
  transition: opacity 420ms ease, transform 520ms var(--ease-out), visibility 420ms;
}

.td-media {
  margin: 0;
  align-self: stretch;
  overflow: hidden;
  border-radius: 20px;
  background: #e9e4da;
  aspect-ratio: 1;
}

.td-media picture,
.td-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.td-media img {
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease-out);
}

#t-implants:checked ~ .treat-details .td-implants .td-media img,
#t-crowns:checked ~ .treat-details .td-crowns .td-media img,
#t-veneers:checked ~ .treat-details .td-veneers .td-media img,
#t-whitening:checked ~ .treat-details .td-whitening .td-media img {
  transform: none;
}

.td-copy { padding-block: 24px; }
.td-copy h3 { font-weight: 400; }
.td-copy p { font-size: .98rem; }

@media (max-width: 1100px) {
  .treat-detail {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    padding-right: 32px;
  }
  .td-stats { grid-column: 2; padding-bottom: 20px; }
  .td-media { grid-row: span 2; aspect-ratio: auto; }
  .tt-sub { display: none; }
}

@media (max-width: 780px) {
  .treat-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .treat-tab-ink { display: none; }
  .treat-tab { padding: 13px 14px; transition: color 300ms ease, background 300ms ease; }
  #t-implants:checked ~ .treat-tabs label[for="t-implants"],
  #t-crowns:checked ~ .treat-tabs label[for="t-crowns"],
  #t-veneers:checked ~ .treat-tabs label[for="t-veneers"],
  #t-whitening:checked ~ .treat-tabs label[for="t-whitening"] {
    background: var(--paper);
    box-shadow: 0 8px 20px -14px rgba(31, 74, 58, .4);
  }
  .treat-detail,
  .picker .treat-detail {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 10px 10px 26px;
  }
  .td-media { grid-row: auto; aspect-ratio: 4 / 3; }
  .td-copy, .td-stats { padding: 0 14px; }
  .td-copy { padding-top: 6px; }
  .td-stats { grid-column: auto; }
}

/* ---------- The difference: crisper pillars ---------- */

/* Keep the stage halo from washing over the pills above it. */
.smile-head { position: relative; z-index: 1; }

.smile-pillars { gap: 16px; }

.smile-pillars li {
  padding: 28px 28px 30px;
  background: #edf0e8;
  border: 1px solid transparent;
  box-shadow: none;
}

.smile-pillars li::before,
.smile-pillars li::after { display: none; }

.smile-pillars li:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 74, 58, .12);
  box-shadow: none;
}

.smile-pillar-num {
  margin-bottom: 18px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--forest);
}

.smile-pillars h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--ink);
}

.smile-pillars p { color: #4f574d; }

/* ---------- Our promise: three moments ---------- */

.care2 {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.care2-media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 28px;
  background: #e9e4da;
}

.care2-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.care2-photo.is-active { opacity: 1; }

.care2-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease-out);
}

.care2-photo.is-active img { transform: none; }

.care2-body .overline { color: var(--forest); }

.care2-body h2 {
  margin: 0 0 clamp(28px, 4vw, 44px);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.05em;
}

.care2-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.care2-item {
  position: relative;
  border-bottom: 1px solid var(--line);
}

/* Thin green line marks the open moment. */
.care2-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 100%;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease-out);
}

.care2-item.is-active::before { transform: scaleX(1); }

.care2-item h3 { margin: 0; }

.care2-trigger {
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color 300ms ease;
}

.care2-trigger:hover,
.care2-item.is-active .care2-trigger { color: var(--ink); }

.care2-num {
  flex: none;
  width: 2ch;
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--forest);
}

.care2-title {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -.025em;
}

.care2-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms var(--ease-out);
}

.care2-panel > p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding-left: calc(2ch + 18px);
  max-width: 44ch;
  color: #4f574d;
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0;
  transition: opacity 400ms ease, padding 500ms var(--ease-out);
}

.care2-item.is-active .care2-panel { grid-template-rows: 1fr; }
.care2-item.is-active .care2-panel > p { opacity: 1; padding-bottom: 24px; transition-delay: 120ms; }

/* Without JS every moment stays readable. */
html:not(.js) .care2-panel { grid-template-rows: 1fr; }
html:not(.js) .care2-panel > p { opacity: 1; padding-bottom: 20px; }

@media (max-width: 960px) {
  .care2 { grid-template-columns: 1fr; gap: 36px; }
  .care2-media { aspect-ratio: 4 / 3; border-radius: 22px; }
}

/* ---------- Stories: honest, still rich ---------- */

.stories2 { padding-block: clamp(80px, 9vw, 120px); }

.stories2-lede {
  margin: 0;
  max-width: 44ch;
  color: #4f574d;
  font-size: 1.02rem;
  line-height: 1.7;
}

.stories2-kicker {
  margin: 0 0 8px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
}

.stories2-questions {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stories2-questions li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(31, 74, 58, .12);
}

.stories2-questions h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -.02em;
}

.stories2-questions p {
  margin: 0;
  color: #4f574d;
  font-size: .92rem;
  line-height: 1.6;
}

.stories2-promise {
  margin: auto 0 0;
  padding-top: 24px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--forest);
  font-size: .88rem;
  line-height: 1.5;
}

/* ---------- Closing CTA: photo band ---------- */

.cta2 {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 50vw, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #e8e1d4;
}

.cta2-media {
  position: absolute;
  inset: -8% 0;
  z-index: -1;
  margin: 0;
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}

.cta2-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 241, 232, .7) 0%, rgba(246, 241, 232, .35) 40%, rgba(246, 241, 232, 0) 60%);
}

.cta2-media picture,
.cta2-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.cta2-media img { object-fit: cover; object-position: 70% 50%; }

.cta2-inner { padding-block: 80px; }

.cta2-inner .overline { color: var(--forest); }

.cta2 h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5.6vw, 5.4rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.06em;
  color: var(--ink);
}

.cta2 h2 em {
  font-style: normal;
  font-weight: 400;
  color: var(--forest);
}

.cta2-lede {
  max-width: 40ch;
  margin: 26px 0 30px;
  color: #3f463d;
  font-size: 1.02rem;
  line-height: 1.65;
}

.cta2-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: .82rem;
  color: #3f463d;
}

.cta2-points li { display: flex; align-items: center; gap: 8px; }

.cta2-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
}

@media (max-width: 780px) {
  .cta2 {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--ivory);
  }
  .cta2-media {
    position: relative;
    inset: auto;
    z-index: 0;
    height: min(86vw, 420px);
    order: 2;
    transform: none;
  }
  .cta2-media::after { display: none; }
  .cta2-inner { padding-block: 64px 36px; }
}

/* ---------- Our promise: pinned scroll walk-through (desktop) ---------- */

@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .care2-section.is-scrolly {
    height: 220vh;
    padding-block: 0;
    overflow: visible;
  }

  .care2-section.is-scrolly .care2 {
    position: sticky;
    top: 88px;
    height: calc(100vh - 88px);
    align-content: center;
  }

  .care2-section.is-scrolly .care2-media {
    max-height: calc(100vh - 88px - 96px);
    justify-self: stretch;
  }

  /* The green line fills as you scroll through the open moment. */
  .care2-section.is-scrolly .care2-item.is-active::before {
    transform: scaleX(var(--p, 0));
    transition: transform 120ms linear;
  }

  .care2-section.is-scrolly .care2-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background: rgba(31, 74, 58, .14);
    z-index: -1;
  }
}

/* ---------- FAQ: steady help card, gliding answers ---------- */

/* The sticky intro always keeps room below the help card, however many answers are open. */
@media (min-width: 961px) {
  .faq-intro { padding-bottom: 32px; }
}

.faq-item .faq-answer {
  transition: opacity 300ms ease;
}

/* ---------- Shared head for the new sections ---------- */

.prices-head,
.ferizaj-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.prices-head .overline,
.ferizaj-head .overline { color: var(--forest); }

.prices-head h2,
.ferizaj-head h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.055em;
}

.prices-lede,
.ferizaj-lede {
  margin: 0;
  max-width: 44ch;
  color: #4f574d;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ---------- Prices ---------- */

.prices-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 16px;
  align-items: start;
}

.price-includes {
  position: sticky;
  top: 110px;
  padding: 30px;
  border-radius: 28px;
  background: var(--forest);
  color: rgba(253, 252, 250, .82);
}

.price-includes-title {
  margin: 0 0 18px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(253, 252, 250, .6);
}

.price-includes ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-includes li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--paper);
  font-size: .98rem;
}

.price-includes li::before {
  content: "✓";
  flex: none;
  color: #9fd8b8;
  font-size: .85rem;
}

.price-includes .btn-primary {
  background: var(--paper);
  color: var(--forest);
}

.price-includes .btn-primary:hover { background: #fff; }

.price-note {
  margin: 16px 0 0;
  font-size: .8rem;
  color: rgba(253, 252, 250, .55);
}

/* ---------- Ferizaj ---------- */

.ferizaj-kicker {
  margin: 0 0 22px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
}

.ferizaj-note {
  margin: auto 0 0;
  padding-top: 22px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .prices-head,
.ferizaj-head,
.prices-grid { grid-template-columns: 1fr; }
  .price-includes { position: static; }
}

@media (max-width: 520px) {
  .price-includes { padding: 26px 22px; }
}

/* ---------- Closing CTA: copy + planner ---------- */

.cta2-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.planner {
  padding: 26px;
  border-radius: 24px;
  background: rgba(253, 252, 250, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(25, 27, 24, .35);
}

.planner-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.planner-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -.02em;
}

.planner-count {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}

.planner-bar {
  height: 3px;
  margin: 14px 0 22px;
  border-radius: 3px;
  background: #e3e8de;
  overflow: hidden;
}

.planner-bar span {
  display: block;
  height: 100%;
  width: calc(var(--step, 1) / 3 * 100%);
  background: var(--forest);
  transition: width 500ms var(--ease-out);
}

.planner-step {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.planner-step.is-active { animation: planner-in 420ms var(--ease-out); }

@keyframes planner-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

.planner legend {
  margin-bottom: 14px;
  padding: 0;
  font-size: 1.02rem;
  letter-spacing: -.01em;
}

.planner-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.planner-options label { position: relative; cursor: pointer; }
.planner-options .is-wide { grid-column: 1 / -1; }

.planner-options input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.planner-options span {
  display: block;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font-size: .9rem;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.planner-options label:hover span { border-color: rgba(31, 74, 58, .35); }

.planner-options input:checked + span {
  border-color: var(--forest);
  background: #edf0e8;
  color: var(--forest);
}

.planner-options input:focus-visible + span {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.planner-field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: .85rem;
  color: #3f463d;
}

.planner-field small { color: var(--muted); }

.planner-field input,
.planner-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  resize: vertical;
}

.planner-field input:focus,
.planner-field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(31, 74, 58, .12);
}

.planner-error {
  margin: 12px 0 0;
  color: #9a3b2e;
  font-size: .84rem;
}

.planner-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.planner-actions .btn-primary { margin-left: auto; }

.planner-back {
  padding: 10px 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: .88rem;
  cursor: pointer;
}

.planner-back:hover { color: var(--ink); }

.planner-privacy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .cta2-inner { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .planner {
    background: var(--paper);
    box-shadow: 0 20px 40px -28px rgba(25, 27, 24, .35);
  }
}

/* ---------- Mobile sticky CTA ---------- */

.mobile-cta { display: none; }

@media (max-width: 780px) {
  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 30;
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(248, 246, 241, .92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 14px 34px -14px rgba(25, 27, 24, .4);
    transform: translateY(140%);
    transition: transform 420ms var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn-primary { flex: 1; min-height: 48px; }
  .mobile-cta-wa {
    flex: none;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf0e8;
    color: var(--forest);
  }
  .mobile-cta-wa svg { width: 22px; height: 22px; }
}

/* ---------- Ferizaj: journey map ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.journey-map {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
  gap: 16px;
}

.map-stage {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(70% 60% at 85% 85%, rgba(31, 74, 58, .08), transparent 70%),
    #f1efe6;
}

.map-svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-land { fill: rgba(31, 74, 58, .05); }

#map-dots circle { fill: rgba(31, 74, 58, .13); }

.map-city .map-dot {
  fill: #f1efe6;
  stroke: rgba(31, 74, 58, .55);
  stroke-width: 1.5;
  transition: fill 300ms ease, stroke 300ms ease, r 300ms ease;
}

.map-city text {
  fill: #6b7268;
  font-size: 17px;
  letter-spacing: -.01em;
  transition: fill 300ms ease;
}

.map-city.is-active .map-dot {
  fill: var(--forest);
  stroke: var(--forest);
  r: 7;
}

.map-city.is-active text { fill: var(--ink); font-weight: 500; }

.map-arc {
  fill: none;
  stroke: var(--forest);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.map-arc.is-drawing { animation: map-draw 1.6s var(--ease-out) forwards; }

@keyframes map-draw { to { stroke-dashoffset: 0; } }

.map-arc-shadow {
  fill: none;
  stroke: rgba(31, 74, 58, .12);
  stroke-width: 1.5;
  stroke-dasharray: 2 7;
}

.map-home circle:not(.map-pulse) {
  fill: var(--forest);
  stroke: #f1efe6;
  stroke-width: 3;
}

.map-pulse {
  fill: rgba(31, 74, 58, .18);
  transform-box: fill-box;
  transform-origin: center;
  animation: map-pulse 2.8s ease-out infinite;
}

@keyframes map-pulse {
  from { transform: scale(.6); opacity: 1; }
  to { transform: scale(3.2); opacity: 0; }
}

.map-home text {
  fill: var(--ink);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.map-readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(31, 74, 58, .1);
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.map-readout-arrow { color: var(--muted); }

.map-readout b {
  margin-left: auto;
  color: var(--forest);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.map-side {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 28px;
  background: #edf0e8;
}

.map-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.map-pick {
  padding: 8px 13px;
  border: 1px solid rgba(31, 74, 58, .16);
  border-radius: 999px;
  background: transparent;
  color: #3f463d;
  font-size: .85rem;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.map-pick:hover { border-color: var(--forest); }

.map-pick.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}

.map-side .ferizaj-note { margin: 0; padding-top: 14px; }

.map-pick-other {
  border-style: dashed;
  color: var(--forest);
}

.map-other { margin-top: 14px; }

.map-other label {
  display: block;
  margin-bottom: 6px;
  font-size: .85rem;
  color: #3f463d;
}

.map-other-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-other input {
  flex: 1 1 160px;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(31, 74, 58, .2);
  border-radius: 999px;
  background: var(--paper);
  font: inherit;
  font-size: .95rem;
}

.map-other input:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(31, 74, 58, .12);
}

.map-other .btn-primary { min-height: 44px; padding: 0 18px; font-size: .86rem; }

/* "Somewhere else": Pristina stays the focus, other cities step back. */
.journey-map.is-other .map-city { opacity: .45; }
.journey-map.is-other .map-readout b { color: var(--muted); font-weight: 400; }

.map-steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-steps li {
  position: relative;
  padding-left: 26px;
}

.map-steps li::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 22px;
  bottom: -14px;
  border-left: 1px dashed rgba(31, 74, 58, .35);
}

.map-steps li:last-child::before { display: none; }

.map-steps li::after {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--forest);
  background: #edf0e8;
  box-sizing: border-box;
  transition: background 300ms ease;
}

.map-steps li.is-active::after { background: var(--forest); }

.map-steps button {
  display: flex;
  gap: 12px;
  align-items: baseline;
  width: 100%;
  padding: 6px 0;
  border: 0;
  background: none;
  color: #6b7268;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  text-align: left;
  cursor: pointer;
  transition: color 250ms ease;
}

.map-steps .land-n {
  font-size: .72rem;
  color: var(--forest);
}

.map-steps li.is-active button,
.map-steps button:hover { color: var(--ink); }

.map-steps p {
  margin: 0;
  color: #4f574d;
  font-size: .9rem;
  line-height: 1.55;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 450ms var(--ease-out), opacity 300ms ease, padding 450ms var(--ease-out);
}

.map-steps li.is-active p {
  max-height: 8em;
  opacity: 1;
  padding: 2px 0 14px;
}

.facts-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts-strip > div {
  padding: 18px 20px 18px 0;
}

.facts-strip > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.facts-strip dt {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts-strip dd {
  margin: 4px 0 0;
  font-size: .95rem;
  line-height: 1.4;
}

/* Small screens: only the chosen city and Pristina are labelled, at a readable size. */
@media (max-width: 640px) {
  .map-city:not(.is-active) text { display: none; }
  .map-city:not(.is-active) .map-dot { r: 7; }
  .map-city.is-active .map-dot { r: 11; }
  .map-hit { r: 40; }
  .map-city text { font-size: 42px; }
  .map-home text { font-size: 44px; }
  .map-home circle:not(.map-pulse) { r: 11; }
  .map-home text { transform: translateY(-14px); }
  .map-arc { stroke-width: 5; }
  .map-arc-shadow { stroke-width: 3; stroke-dasharray: 5 14; }
  #map-dots circle { r: 2.8; fill: rgba(31, 74, 58, .18); }
}

@media (max-width: 960px) {
  .journey-map { grid-template-columns: 1fr; }
  .facts-strip { grid-template-columns: 1fr 1fr; }
  .facts-strip > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-strip > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .map-readout { padding: 16px 18px 12px; font-size: .95rem; }
  .map-side { padding: 26px 22px; }
}

/* ---------- Prices: compact ---------- */

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #edf0e8;
  color: var(--forest);
  font-size: .88rem;
}

.price-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
}

.price-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-tile {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.price-tile h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -.02em;
}

.price-tile p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.price-from {
  display: block;
  margin-top: 14px;
  color: var(--forest);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -.02em;
}

@media (max-width: 520px) {
  .price-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .price-tile { padding: 16px; }
  .price-tile h3 { font-size: 1rem; }
}

/* ---------- Stories: compact ---------- */

.stories2 { padding-block: clamp(64px, 7vw, 96px); }

.stories2-card {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border-radius: 28px;
  background: #edf0e8;
}

.stories2-photo {
  position: relative;
  margin: 0;
  min-height: 100%;
}

.stories2-photo picture,
.stories2-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stories2-photo img { object-fit: cover; object-position: 50% 30%; }

.stories2-body { padding: clamp(28px, 4vw, 48px); }

.stories2-body .overline { color: var(--forest); }

.stories2-body h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.05em;
}

.stories2-body .stories2-lede {
  margin: 0 0 24px;
  max-width: 48ch;
  font-size: .98rem;
}

.stories2-body .stories2-questions {
  display: grid;
  gap: 8px;
  margin: 8px 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: q;
}

.stories2-body .stories2-questions li {
  display: flex;
  gap: 12px;
  padding: 0;
  border: 0;
  font-size: 1rem;
  counter-increment: q;
}

.stories2-body .stories2-questions li::before {
  content: "0" counter(q);
  color: rgba(31, 74, 58, .5);
  font-size: .8rem;
  padding-top: .15em;
}

.stories2-body .stories2-promise { margin: 0; padding: 0; }

@media (max-width: 780px) {
  .stories2-card { grid-template-columns: 1fr; }
  .stories2-photo { aspect-ratio: 16 / 10; min-height: 0; }
}

/* ---------- Ferizaj: once you land ---------- */

.land-row {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 16px;
  margin-top: 16px;
}

.land-steps {
  padding: 30px;
  border-radius: 28px;
  background: #edf0e8;
}

.land-media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 28px;
  background: #e9e4da;
}

.land-shot {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 600ms ease;
}

.land-shot.is-active { opacity: 1; }

.land-shot picture,
.land-shot img {
  display: block;
  width: 100%;
  height: 100%;
}

.land-shot img {
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-out);
}

.land-shot.is-active img { transform: none; }

.land-shot figcaption,
.interlude-credit {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(253, 252, 250, .82);
  color: #4f574d;
  font-size: .72rem;
}

.interlude-credit { left: auto; right: 16px; }

/* Hotel step: the facade, with a room tucked into the corner. */
.land-shot-hotel img { object-position: 60% 40%; }

.land-shot .land-inset {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: clamp(110px, 24%, 170px);
  height: auto;
  aspect-ratio: 614 / 768;
  overflow: hidden;
  border: 4px solid var(--paper);
  border-radius: 16px;
  box-shadow: 0 16px 30px -14px rgba(25, 27, 24, .45);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 500ms ease 250ms, transform 700ms var(--ease-out) 250ms;
}

.land-shot.is-active .land-inset { opacity: 1; transform: none; }

.land-shot .land-inset img {
  object-fit: cover;
  object-position: 50% 45%;
}

@media (max-width: 960px) {
  .land-row { grid-template-columns: 1fr; }
  .land-media { min-height: 0; aspect-ratio: 4 / 3; }
}

@media (max-width: 520px) {
  .land-steps { padding: 26px 22px; }
}

/* ---------- Mobile polish ---------- */

@media (max-width: 780px) {
  /* Team: a swipeable row instead of three full-screen cards. */
  .doctor-grid {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .doctor-grid::-webkit-scrollbar { display: none; }
  .doctor-grid .doctor-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  /* Readable small print. */
  .compare-tag { font-size: .7rem; }

}

@media (max-width: 780px) {
  /* One main action at a time: the header button steps aside while the floating bar is up. */
  .header-cta { transition: opacity 300ms ease, visibility 300ms; }
  .has-mobile-cta .header-cta { opacity: 0; visibility: hidden; }

  /* Team: tighter rhythm around the swipeable row. */
  #team { padding-block: 56px; }
  .team-head { margin-bottom: 1.6rem; }
  .team-lede { margin-top: .7rem; font-size: .95rem; }
  .doctor-card { padding: 1.3rem 1.2rem 1.4rem; }
  .doctor-photo { width: 52%; max-width: 160px; margin-block: .2rem 0; }
  .team-cta { margin-top: 1.4rem; gap: .6rem; }

  /* The difference: pillars swipe too, instead of stacking three cards. */
  .smile-pillars {
    display: flex;
    gap: 12px;
    margin: 1.8rem calc(var(--gutter) * -1) 0;
    padding: 4px var(--gutter) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .smile-pillars::-webkit-scrollbar { display: none; }
  .smile-pillars li {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
}

/* ---------- Prices: how you pay ---------- */

.pay {
  margin-top: 12px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.pay__title {
  margin: 0 0 14px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
}

.pay__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.pay__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pay__chips li {
  padding: 7px 13px;
  border-radius: 999px;
  background: #edf0e8;
  color: var(--forest);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
}

.pay__method {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ink);
  font-size: .92rem;
}

.pay__method svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--forest);
}

.pay__note {
  max-width: 52ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

/* ---------- Ferizaj map: the second airport ---------- */

.map-hub circle {
  fill: #f1efe6;
  stroke: var(--forest);
  stroke-width: 2.5;
}

.map-hub text {
  fill: var(--ink);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.02em;
}

@media (max-width: 640px) {
  .map-hub circle { r: 10; stroke-width: 5; }
  .map-hub text { font-size: 38px; transform: translateY(14px); }
}

/* ---------- Ferizaj map: regions, clickable cities, route card ----------
   Two regions share the viewBox (Europe, USA); only the active one shows. Every city is a button: a large
   invisible hit circle, a hover state, and until the first choice a slow ping on the cities not yet chosen
   plus a small hint, so the map reads as something to touch. */

.map-region {
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms var(--ease-soft), visibility 0s linear 500ms;
}

.map-region.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.map-city { cursor: pointer; outline: none; }
.map-hit { fill: transparent; }

.map-city:hover .map-dot,
.map-city:focus-visible .map-dot { fill: var(--paper); stroke: var(--forest); stroke-width: 2; r: 7; }
.map-city.is-active:hover .map-dot,
.map-city.is-active:focus-visible .map-dot { fill: var(--forest); }
.map-city:hover text,
.map-city:focus-visible text { fill: var(--ink); }
.map-city:focus-visible .map-hit { fill: rgba(31, 74, 58, .08); }

.map-ring {
  fill: none;
  stroke: rgba(31, 74, 58, .5);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  pointer-events: none;
}

.journey-map:not(.is-touched) .map-city:not(.is-active) .map-ring { animation: map-ping 3.6s ease-out infinite; }
.journey-map:not(.is-touched) .map-city:nth-of-type(3n + 2) .map-ring { animation-delay: 1.2s; }
.journey-map:not(.is-touched) .map-city:nth-of-type(3n) .map-ring { animation-delay: 2.4s; }

@keyframes map-ping {
  0%        { transform: scale(1);   opacity: .8; }
  60%, 100% { transform: scale(3.4); opacity: 0; }
}

.map-hint {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 13px 7px 10px;
  border: 1px solid rgba(31, 74, 58, .12);
  border-radius: 999px;
  background: rgba(253, 252, 250, .9);
  color: #3f463d;
  font-size: .78rem;
  pointer-events: none;
  transition: opacity 400ms ease, transform 400ms var(--ease-out);
}

.map-hint svg { width: 16px; height: 16px; flex: none; color: var(--forest); }
.journey-map.is-touched .map-hint { opacity: 0; transform: translate3d(0, 6px, 0); }

/* region switch: two equal halves across the card on a tinted track, the chosen half lifted in white (a
   segmented control, unlike the forest-filled city pills below), each with its number of cities, so it reads
   as "which list of cities" and not as two more cities */
.map-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(31, 74, 58, .07);
}

.map-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #3f463d;
  font: inherit;
  font-size: .86rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, box-shadow 250ms ease;
}

.map-tab:hover { color: var(--ink); background: rgba(253, 252, 250, .6); }

.map-tab__n {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(31, 74, 58, .1);
  color: var(--forest);
  font-size: .7rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: background 250ms ease, color 250ms ease;
}

.map-tab.is-active {
  background: var(--paper);
  color: var(--forest);
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(25, 27, 24, .08), 0 6px 16px -8px rgba(31, 74, 58, .35);
}

.map-tab.is-active .map-tab__n { background: var(--forest); color: var(--paper); }

.map-side .map-pick-other { align-self: flex-start; margin-top: 6px; }

/* the trip from the chosen city */
.map-route {
  margin-top: 22px;
  padding: 6px 20px 20px;
  border: 1px solid rgba(31, 74, 58, .08);
  border-radius: 20px;
  background: var(--paper);
}

.map-route__rows { margin: 0 0 16px; }

.map-route__rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.map-route__rows > div + div { border-top: 1px solid var(--line); }

.map-route__rows dt { color: var(--muted); font-size: .82rem; }

.map-route__rows dd {
  margin: 0;
  color: var(--ink);
  font-size: .9rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.map-route__cta {
  width: 100%;
  min-height: 48px;
  justify-content: space-between;
  font-size: .9rem;
}

.map-route__added {
  display: flex;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--forest);
  font-size: .8rem;
  line-height: 1.45;
}

.map-route__added::before { content: "\2713"; flex: none; }

@media (max-width: 640px) {
  .map-hint { left: 12px; bottom: 12px; font-size: .74rem; }
}

/* ---------- Ferizaj: once you land, steps that look like what they are ----------
   Each step carries a round plus that turns into a minus when open, it answers hover, and while nobody
   has touched the row the open step shows a thin line filling up as the steps advance (js/ui.js). */

.map-steps button {
  align-items: center;
  padding: 8px 0;
}

.map-steps .land-t { flex: 1; }

.land-icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(31, 74, 58, .25);
  border-radius: 50%;
  transition: border-color 250ms ease, background 250ms ease;
}

.land-icon::before,
.land-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1.5px;
  margin: -.75px 0 0 -4.5px;
  border-radius: 1px;
  background: var(--forest);
  transition: transform 300ms var(--ease-out), opacity 200ms ease, background 250ms ease;
}

.land-icon::after { transform: rotate(90deg); }

.map-steps button:hover .land-icon,
.map-steps button:focus-visible .land-icon { border-color: var(--forest); background: var(--paper); }

.map-steps li.is-active .land-icon { border-color: var(--forest); background: var(--forest); }
.map-steps li.is-active .land-icon::before,
.map-steps li.is-active .land-icon::after { background: var(--paper); }
.map-steps li.is-active .land-icon::after { transform: rotate(0deg); opacity: 0; }

.map-steps .land-t {
  padding-bottom: 2px;
  background: linear-gradient(var(--forest), var(--forest)) 0 100% / 0 1px no-repeat;
}

.land-row.is-cycling .map-steps li.is-active .land-t { animation: land-progress 5.2s linear forwards; }

@keyframes land-progress { to { background-size: 100% 1px; } }

/* ---------- Ferizaj: partners ----------
   Company cards in the manner of a premium brokerage app: the partner's own logo on its own colour in a
   rounded tile, the name, a small category line, two facts on hairlines. */

.partners { margin-top: 28px; }

.partners__label {
  margin: 0 0 14px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
}

.partners__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "tile body" "facts facts" "link link";
  align-content: start;
  align-items: center;
  gap: 18px 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(25, 27, 24, .04), 0 26px 50px -38px rgba(31, 74, 58, .4);
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out);
}

.partner:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 1px 2px rgba(25, 27, 24, .05), 0 30px 56px -34px rgba(31, 74, 58, .5);
}

.partner__tile {
  grid-area: tile;
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(25, 27, 24, .06);
}

.partner--lybeten .partner__tile { background: #fff; }
.partner--venera .partner__tile { background: #0f8b8d; }

.partner__logo {
  display: block;
  width: auto;
  max-width: 78%;
  height: 76%;
  object-fit: contain;
}

.partner--venera .partner__logo { height: 70%; }

.partner__word {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
}

.partner__body { grid-area: body; min-width: 0; }

.partner__name {
  margin: 0;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.partner__role {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.partner__facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.partner__facts > div { padding-top: 14px; }
.partner__facts > div + div { padding-left: 18px; border-left: 1px solid var(--line); }

.partner__facts dt {
  color: var(--muted);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.partner__facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.partner__link {
  grid-area: link;
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--forest);
  font: inherit;
  font-size: .88rem;
  cursor: pointer;
}

.partner__link span { display: inline-block; transition: transform 300ms var(--ease-out); }
.partner__link:hover span,
.partner__link:focus-visible span { transform: translate3d(3px, 0, 0); }

@media (max-width: 780px) {
  .partners__list { grid-template-columns: 1fr; }
  .partner { padding: 20px; gap: 16px 18px; }
  .partner__tile { width: 80px; border-radius: 18px; }
  .partner__name { font-size: 1.25rem; }
}
