/* ==========================================================================
   ABC Tour — shared components.
   Each block is a neumorphic control from the UI-kit reference, put to work:
   dark "Search" pill → trip search · violet pill → primary CTA · DATA rings →
   booking steps · vertical sliders → best-months chart · A/B/C list →
   itinerary · Accept/Reject switch → segmented tabs · light/dark toggles →
   add-on switches · round icon buttons → shortcuts.
   ========================================================================== */

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--btn-h); padding: 0 1.6em;
  border: 0; border-radius: var(--pill);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--glow), -4px -4px 10px rgb(var(--shadow-light)); }
.btn--primary:hover { box-shadow: 0 16px 30px -8px rgb(70 82 255 / .72), -4px -4px 10px rgb(var(--shadow-light)); }
.btn--primary:active { box-shadow: inset 3px 3px 8px rgb(16 18 70 / .4); }

.btn--neo { background: var(--surface); color: var(--ink); box-shadow: var(--raise-sm); }
.btn--neo:hover { color: var(--accent-text); }
.btn--neo:active { box-shadow: var(--inset-sm); }

.btn--dark { background: var(--panel); color: var(--on-panel); box-shadow: 8px 10px 22px -10px rgb(37 42 80 / .7), -4px -4px 10px rgb(var(--shadow-light)); }
.btn--dark:hover { background: var(--panel-2); }

.btn--ghost { background: transparent; color: var(--on-panel); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .28); }
.btn--ghost:hover { background: rgb(255 255 255 / .08); }

.btn--wa { background: var(--wa); color: #05301a; box-shadow: 0 12px 26px -10px rgb(37 211 102 / .75); }
.btn--wa:hover { background: #2fe072; }

.btn--sm { --btn-h: 42px; padding: 0 1.15em; font-size: .85rem; }
.btn--lg { --btn-h: 60px; padding: 0 2em; font-size: 1rem; }
.btn--block { width: 100%; }

/* Round icon button (reference icon row) */
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  display: inline-grid; place-items: center; flex: none;
  background: var(--surface); color: var(--accent); box-shadow: var(--raise-sm);
  transition: box-shadow .2s var(--ease), color .2s, transform .2s var(--ease);
}
.icon-btn:hover { color: var(--accent-2); transform: translateY(-2px); }
.icon-btn:active { box-shadow: var(--inset-sm); transform: none; }
.icon-btn--sm { width: 38px; height: 38px; }
.icon-btn--lg { width: 64px; height: 64px; }
.icon-btn--lg .icon { width: 26px; height: 26px; }
.icon-btn--wa { color: var(--wa-dark); }
.icon-btn--dark { background: var(--panel-2); color: var(--on-panel); box-shadow: none; }
.icon-btn--dark:hover { background: var(--panel-3); color: #fff; }

/* ---------- Tags & chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .45em;
  padding: 5px 12px; border-radius: var(--pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--surface-hi); color: var(--accent-text); box-shadow: var(--raise-sm);
}
.tag .icon { width: 14px; height: 14px; }
.tag--glass { background: rgb(255 255 255 / .78); color: var(--ink); box-shadow: 0 6px 16px -6px rgb(27 31 59 / .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag--dark { background: var(--panel); color: var(--on-panel); box-shadow: none; }
.tag--plain { box-shadow: none; background: rgb(45 91 255 / .1); }

.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 0 18px; border-radius: var(--pill);
  background: var(--surface); color: var(--ink-2); box-shadow: var(--raise-sm);
  font-weight: 600; font-size: var(--fs-sm);
  transition: color .2s, box-shadow .2s, transform .2s var(--ease);
}
.chip .icon { color: var(--accent); width: 18px; height: 18px; }
.chip:hover { color: var(--accent-text); transform: translateY(-1px); }
.chip.is-active, .chip[aria-current] { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.chip.is-active .icon, .chip[aria-current] .icon { color: #fff; }
.chip__count {
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--pill);
  display: inline-grid; place-items: center; font-size: .72rem; font-weight: 700;
  color: var(--ink-2); box-shadow: var(--inset-sm);
}
.chip.is-active .chip__count, .chip[aria-current] .chip__count { color: #fff; box-shadow: none; background: rgb(255 255 255 / .22); }

/* ---------- Surfaces ---------- */
.neo { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--raise); }
.neo-inset { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--inset); }
.panel { background: var(--panel); color: var(--on-panel); border-radius: var(--r-lg); box-shadow: var(--panel-shadow); }
.frame { padding: 12px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--raise-lg); }
.frame > img, .frame > svg { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-xl) - 10px); }

/* Make a whole card clickable from its title link */
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretched-link:focus-visible { outline: none; }
.stretched-link:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 4px; }

/* ---------- Section head ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head__text { display: grid; gap: 12px; max-width: 720px; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__text { justify-items: center; }
.section-head--center .section-lead { margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: 14px; }
.site-header__bar {
  position: relative; display: flex; align-items: center; gap: 16px;
  min-height: 68px; padding: 8px 8px 8px 16px;
  border-radius: var(--pill); background: rgb(233 236 246 / .94);
  box-shadow: var(--raise); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; margin-right: auto; }
.brand__mark { width: 40px; height: auto; filter: drop-shadow(0 4px 6px rgb(11 47 128 / .25)); }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; color: var(--ink); line-height: 1; }
.brand__name span { margin-left: .22em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__disc { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: 0 8px 20px -6px rgb(0 0 0 / .45); }
.brand__disc img { width: 34px; }
.brand--on-dark .brand__name { color: #fff; }
.brand--on-dark .brand__name span { background: linear-gradient(135deg, #7fb0ff, #c29bff); -webkit-background-clip: text; background-clip: text; }

.site-nav { display: flex; align-items: center; gap: 14px; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__list a {
  display: block; padding: 10px 16px; border-radius: var(--pill);
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink-2);
  transition: color .2s, box-shadow .2s;
}
.site-nav__list a:hover { color: var(--ink); }
.site-nav__actions { display: flex; align-items: center; gap: 10px; }
/* Active page (set statically per page via <body data-page="…">) */
body[data-page="home"] .site-nav a[data-nav="home"],
body[data-page="destinations"] .site-nav a[data-nav="destinations"],
body[data-page="packages"] .site-nav a[data-nav="packages"] { color: var(--accent-text); box-shadow: var(--inset-sm); }

/* Mobile menu: CSS-only checkbox toggle */
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-toggle__btn { display: none; }
.nav-toggle__btn .icon { width: 22px; height: 22px; }
.nav-toggle__btn .icon--close { display: none; }

@media (max-width: 980px) {
  .nav-toggle__btn { display: inline-grid; cursor: pointer; }
  .nav-toggle:focus-visible + .nav-toggle__btn { outline: 3px solid var(--accent); outline-offset: 3px; }
  .nav-toggle:checked + .nav-toggle__btn .icon--menu { display: none; }
  .nav-toggle:checked + .nav-toggle__btn .icon--close { display: block; }
  .site-nav {
    display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 14px; padding: 16px;
    border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--raise-lg);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__list a { padding: 14px 18px; font-size: 1rem; }
  .site-nav__actions { justify-content: space-between; padding-top: 14px; border-top: 1px dashed rgb(var(--shadow-dark)); }
  .site-nav__actions .btn { flex: 1; }
}
@media (max-width: 980px) { .nav-toggle { display: block; } }
@media (min-width: 981px) { .nav-toggle { display: none; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--ink-3); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a { font-weight: 500; }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .7; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Inner-page hero ---------- */
.page-hero { padding-top: clamp(24px, 4vw, 44px); padding-bottom: clamp(28px, 5vw, 56px); }
.page-hero__title { font-size: var(--fs-hero); font-weight: 800; margin-top: 18px; }
.page-hero__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 62ch; margin-top: 14px; }

/* ---------- Destination card ---------- */
.dest-card {
  position: relative; display: flex; flex-direction: column;
  padding: 12px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--raise);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.dest-card:hover { transform: translateY(-5px); box-shadow: var(--raise-lg); }
.dest-card__media { position: relative; aspect-ratio: 16 / 10; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; background: var(--surface-lo); }
.dest-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.dest-card:hover .dest-card__media img { transform: scale(1.06); }
.dest-card__flag { position: absolute; top: 12px; left: 12px; }
.dest-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 8px 6px; }
.dest-card__meta { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.dest-card__meta .icon { width: 15px; height: 15px; color: var(--accent); }
.dest-card__title { font-size: 1.35rem; font-weight: 800; }
.dest-card__text { flex: 1; font-size: var(--fs-sm); color: var(--ink-2); }
.dest-card__foot { display: flex; align-items: center; gap: 16px; margin-top: 6px; padding-top: 14px; border-top: 1.5px dashed rgb(var(--shadow-dark)); }
.dest-card__price small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.dest-card__price strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.dest-card__days { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--ink-2); }
.dest-card__days .icon { width: 16px; height: 16px; color: var(--accent); }
.dest-card__go {
  margin-left: auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--glow);
  transition: transform .3s var(--ease);
}
.dest-card:hover .dest-card__go { transform: translateX(3px); }

/* ---------- Package card ---------- */
.pkg-card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-xl);
  background: var(--surface); box-shadow: var(--raise);
}
.pkg-card--dark { background: var(--panel); color: var(--on-panel); box-shadow: var(--panel-shadow); }
.pkg-card__flag {
  position: absolute; top: -14px; right: 24px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--pill);
  background: var(--grad); color: #fff; box-shadow: var(--glow);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.pkg-card__flag .icon { width: 13px; height: 13px; }
.pkg-card__thumb { display: block; aspect-ratio: 16 / 9; margin: -8px -8px 0; border-radius: var(--r); overflow: hidden; background: var(--surface-lo); }
.pkg-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pkg-card__head { display: flex; align-items: center; gap: 14px; }
.pkg-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface); color: var(--accent); box-shadow: var(--raise-sm); }
.pkg-card__icon .icon { width: 24px; height: 24px; }
.pkg-card--dark .pkg-card__icon { background: var(--panel-2); color: var(--cyan); box-shadow: var(--panel-inset); }
.pkg-card__tier { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.pkg-card--dark .pkg-card__tier { color: var(--cyan); }
.pkg-card__name { font-size: 1.3rem; font-weight: 800; }
.pkg-card__dest { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--ink-2); }
.pkg-card__dest .icon { width: 16px; height: 16px; color: var(--accent); }
.pkg-card__dest a { font-weight: 700; color: var(--ink); }
.pkg-card__dest a:hover { color: var(--accent-text); }
.pkg-card__price { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: var(--r); box-shadow: var(--inset-sm); }
.pkg-card--dark .pkg-card__price { background: rgb(0 0 0 / .14); box-shadow: var(--panel-inset); }
.pkg-card__amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pkg-card--dark .pkg-card__amount { background: none; color: #fff; }
.pkg-card__per { font-size: var(--fs-xs); color: var(--ink-3); }
.pkg-card--dark .pkg-card__per { color: var(--on-panel-2); }
.pkg-card__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.pkg-card__facts li { display: inline-flex; align-items: center; gap: 6px; }
.pkg-card__facts .icon { width: 17px; height: 17px; color: var(--accent); }
.pkg-card--dark .pkg-card__facts { color: var(--on-panel); }
.pkg-card--dark .pkg-card__facts .icon { color: var(--cyan); }
.pkg-card__cta { margin-top: auto; }

.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: var(--ink-2); }
.checklist li + li { margin-top: 10px; }
.checklist .icon { width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; color: var(--accent); background: rgb(45 91 255 / .12); }
.pkg-card--dark .checklist li, .panel .checklist li { color: var(--on-panel-2); }
.pkg-card--dark .checklist .icon, .panel .checklist .icon { color: var(--cyan); background: rgb(75 184 238 / .16); }

/* ---------- Ring gauge (reference DATA rings) ---------- */
.ring {
  --size: 128px; --track: rgb(var(--shadow-dark));
  position: relative; width: var(--size); aspect-ratio: 1; flex: none; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; text-align: center;
  background: var(--surface); box-shadow: var(--raise);
}
.ring::before {
  content: ""; position: absolute; inset: 15%; border-radius: 50%;
  background: conic-gradient(#2d5bff 0%, #8e3cff calc(var(--p) * 1%), var(--track) calc(var(--p) * 1%));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}
.ring__value { position: relative; font-family: var(--font-display); font-weight: 800; font-size: calc(var(--size) * .2); line-height: 1; color: var(--ink); }
.ring__label { position: relative; margin-top: 4px; font-size: calc(var(--size) * .075); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ring--sm { --size: 88px; }
.ring--lg { --size: 168px; }

/* ---------- Best-months bars (reference vertical sliders) ---------- */
.month-bars { --bar-h: 150px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(5px, 1.2vw, 14px); align-items: end; }
.month-bars__col { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.month-bars__track { position: relative; width: 100%; max-width: 30px; height: var(--bar-h); border-radius: var(--pill); background: var(--panel); box-shadow: 4px 6px 12px -4px rgb(37 42 80 / .5), -4px -4px 10px rgb(var(--shadow-light)); }
.month-bars__fill { position: absolute; left: 4px; right: 4px; bottom: 4px; height: 26%; border-radius: var(--pill); background: var(--panel-3); }
.is-best .month-bars__fill { height: calc(88% - 8px); background: linear-gradient(0deg, #2d5bff, #8e3cff); box-shadow: 0 0 14px rgb(91 77 255 / .55); }
.month-bars__knob { width: 22px; height: 22px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; box-shadow: 3px 3px 7px rgb(var(--shadow-dark)), -3px -3px 7px rgb(var(--shadow-light)); }
.month-bars__knob::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--panel-3); }
.is-best .month-bars__knob::after { background: var(--grad); }
.month-bars__m { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.is-best .month-bars__m { color: var(--accent-text); }
@media (max-width: 520px) { .month-bars { --bar-h: 110px; } .month-bars__knob { width: 16px; height: 16px; } .month-bars__m { font-size: .66rem; letter-spacing: 0; } }

/* ---------- Itinerary timeline (reference A/B/C list) ---------- */
.timeline { padding: clamp(14px, 3vw, 30px) clamp(18px, 3vw, 34px); border-radius: var(--r-lg); background: var(--panel); color: var(--on-panel); box-shadow: var(--panel-shadow); }
.timeline__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start; padding-block: 18px; }
.timeline__item + .timeline__item { border-top: 2px dashed rgb(255 255 255 / .14); }
.timeline__badge { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .95rem; box-shadow: var(--glow); }
.timeline__title { font-size: 1.05rem; font-weight: 700; }
.timeline__text { margin-top: 4px; font-size: var(--fs-sm); color: var(--on-panel-2); }
.timeline__meta { padding-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--on-panel-2); white-space: nowrap; }
@media (max-width: 560px) { .timeline__meta { display: none; } .timeline__item { grid-template-columns: auto minmax(0, 1fr); } }

/* ---------- Segmented control (reference Accept/Reject) ---------- */
.segmented { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: var(--pill); background: var(--panel); box-shadow: 6px 8px 18px -8px rgb(37 42 80 / .6), -4px -4px 10px rgb(var(--shadow-light)); }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.segmented label, .segmented a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px; border-radius: var(--pill); font-weight: 600; font-size: var(--fs-sm); color: var(--on-panel-2); cursor: pointer; transition: color .2s, background-color .2s; }
.segmented label:hover, .segmented a:hover { color: #fff; }
.segmented input:checked + label, .segmented a[aria-current] { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.segmented input:focus-visible + label { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------- Toggle switch (reference light/dark toggles) ---------- */
.toggle { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.toggle__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__track { position: relative; flex: none; width: 58px; height: 32px; border-radius: var(--pill); background: var(--surface); box-shadow: var(--inset-sm); transition: background .3s, box-shadow .3s; }
.toggle__track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--panel); box-shadow: 2px 2px 6px rgb(var(--shadow-dark)); transition: transform .3s var(--ease), background-color .3s; }
.toggle__input:checked + .toggle__track { background: var(--grad); box-shadow: var(--glow); }
.toggle__input:checked + .toggle__track::after { transform: translateX(26px); background: #fff; }
.toggle__input:focus-visible + .toggle__track { outline: 3px solid var(--accent); outline-offset: 3px; }
.toggle__text { font-weight: 600; font-size: var(--fs-sm); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field__label small { font-weight: 500; color: var(--ink-3); }
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 14px 20px; border: 0; border-radius: var(--pill);
  background: var(--surface); color: var(--ink); box-shadow: var(--inset); outline: none;
  transition: box-shadow .2s;
}
.textarea { min-height: 120px; border-radius: var(--r); resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); opacity: .85; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { box-shadow: var(--inset), 0 0 0 3px rgb(45 91 255 / .4); }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5bff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 18px;
}
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--accent); pointer-events: none; }
.input-icon > .input, .input-icon > .select { padding-left: 50px; }

/* Selectable option card (radio/checkbox inside a label) */
.option {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--raise-sm);
  cursor: pointer; transition: box-shadow .2s var(--ease);
}
.option > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.option__dot { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--inset-sm); }
.option__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: transparent; transition: background .2s; }
.option:has(> input:checked) { box-shadow: var(--inset-sm), 0 0 0 2px var(--accent); }
.option:has(> input:checked) .option__dot::after { background: var(--grad); }
.option:has(> input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.option:has(> input[type="checkbox"]) .option__dot { border-radius: 7px; }
.option:has(> input[type="checkbox"]) .option__dot::after { border-radius: 3px; }

/* Dark search pill (reference "Search" bar) */
.searchbar { display: flex; align-items: center; gap: 4px; padding: 8px; border-radius: var(--pill); background: var(--panel); color: var(--on-panel); box-shadow: var(--panel-shadow); }
.searchbar__field { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 6px 18px; }
.searchbar__field + .searchbar__field::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgb(255 255 255 / .14); }
.searchbar__label { display: flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-panel-2); }
.searchbar__label .icon { width: 14px; height: 14px; color: var(--cyan); }
.searchbar__input { width: 100%; padding: 2px 0; border: 0; background: transparent; color: var(--on-panel); font-weight: 600; outline: none; color-scheme: dark; }
.searchbar__input::placeholder { color: rgb(243 245 255 / .55); }
.searchbar__input option { color: var(--ink); background: #fff; }
.searchbar__field:focus-within { border-radius: var(--pill); box-shadow: inset 0 0 0 2px var(--cyan); }
.searchbar .btn { flex: none; }
/* Blue (#2d5bff) focus outlines fall below 3:1 on the indigo panel — use cyan (6.2:1) on dark surfaces */
.searchbar :focus-visible, .pkg-card--dark :focus-visible, .wa-band :focus-visible,
.panel :focus-visible, .site-footer__panel :focus-visible { outline-color: var(--cyan); }
@media (max-width: 760px) {
  .searchbar { flex-direction: column; align-items: stretch; border-radius: var(--r-lg); padding: 10px; }
  .searchbar__field { padding: 12px 16px; }
  .searchbar__field + .searchbar__field::before { left: 16px; right: 16px; top: 0; bottom: auto; width: auto; height: 1px; }
  .searchbar__field:focus-within { border-radius: var(--r); }
  .searchbar .btn { margin-top: 6px; }
}

/* ---------- Progress (reference "Downloading" bar) ---------- */
.progress { height: 12px; padding: 3px; border-radius: var(--pill); background: var(--surface); box-shadow: var(--inset-sm); }
.progress > span { display: block; height: 100%; width: calc(var(--p, 0) * 1%); border-radius: var(--pill); background: var(--grad); }

/* ---------- Stat card (reference dark weather card) ---------- */
.stat-card { position: relative; overflow: hidden; padding: 26px; border-radius: var(--r-lg); background: var(--panel); color: var(--on-panel); box-shadow: var(--panel-shadow); }
.stat-card::after { content: ""; position: absolute; top: 22px; right: 22px; width: 72px; height: 72px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 40px rgb(142 60 255 / .5); }
.stat-card__value { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 1.9rem + 1.8vw, 3.2rem); line-height: 1; }
.stat-card__label { position: relative; z-index: 1; margin-top: 6px; font-weight: 700; }
.stat-card__text { position: relative; z-index: 1; margin-top: 12px; font-size: var(--fs-sm); color: var(--on-panel-2); }

/* ---------- Feature tile ---------- */
.feature { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--raise); }
.feature__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--glow); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { font-size: 1.1rem; font-weight: 700; }
.feature__text { font-size: var(--fs-sm); color: var(--ink-2); }

/* ---------- WhatsApp CTA band ---------- */
.wa-band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px, 3vw, 32px); padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); background: var(--panel); color: var(--on-panel); box-shadow: var(--panel-shadow); }
.wa-band::before { content: ""; position: absolute; width: 340px; height: 340px; right: -90px; top: -150px; border-radius: 50%; background: radial-gradient(circle, rgb(37 211 102 / .28), transparent 65%); pointer-events: none; }
.wa-band__icon { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 0 0 10px rgb(37 211 102 / .14); }
.wa-band__icon .icon { width: 36px; height: 36px; }
.wa-band__text { position: relative; flex: 1 1 320px; }
.wa-band__title { font-size: var(--fs-xl); font-weight: 800; }
.wa-band__text p { margin-top: 6px; color: var(--on-panel-2); }
.wa-band .btn { position: relative; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 60;
  display: flex; align-items: center; height: 60px; padding-right: 0; border-radius: var(--pill);
  background: linear-gradient(145deg, #34e27a, #14a64f); color: #fff;
  box-shadow: 0 16px 30px -10px rgb(20 166 79 / .75), -4px -4px 12px rgb(var(--shadow-light) / .8);
  transition: padding .35s var(--ease), transform .25s var(--ease);
}
.wa-float::before { content: ""; position: absolute; left: 0; top: 0; width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 0 0 0 rgb(37 211 102 / .55); animation: wa-pulse 2.6s var(--ease) infinite; }
.wa-float__icon { width: 60px; height: 60px; display: grid; place-items: center; flex: none; }
.wa-float__icon .icon { width: 30px; height: 30px; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: .92rem; transition: max-width .35s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { padding-right: 22px; transform: translateY(-2px); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 160px; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgb(37 211 102 / .5); } 70%, 100% { box-shadow: 0 0 0 18px rgb(37 211 102 / 0); } }

/* ---------- Footer ---------- */
.site-footer { padding-bottom: var(--gutter); }
.site-footer__panel { padding: clamp(24px, 5vw, 64px); border-radius: var(--r-xl); background: var(--panel); color: var(--on-panel); box-shadow: var(--panel-shadow); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: clamp(28px, 4vw, 48px); }
.site-footer__brand p { margin-top: 18px; max-width: 34ch; font-size: var(--fs-sm); color: var(--on-panel-2); }
.site-footer__h { margin-bottom: 16px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.site-footer__links li + li { margin-top: 10px; }
.site-footer__links a { font-size: var(--fs-sm); color: var(--on-panel-2); transition: color .2s; }
.site-footer__links a:hover { color: #fff; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: var(--on-panel-2); }
.contact-list li + li { margin-top: 12px; }
.contact-list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--cyan); }
.contact-list a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.site-footer__news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: clamp(28px, 4vw, 44px); padding: 22px 24px; border-radius: var(--r-lg); background: rgb(0 0 0 / .16); box-shadow: var(--panel-inset); }
.site-footer__news h2 { font-size: 1.1rem; font-weight: 700; }
.site-footer__news p { font-size: var(--fs-sm); color: var(--on-panel-2); }
.site-footer__form { display: flex; flex: 1 1 340px; min-width: 0; max-width: 460px; gap: 8px; padding: 6px; border-radius: var(--pill); background: var(--panel-2); }
.site-footer__form input { flex: 1; width: 0; min-width: 0; padding: 0 16px; border: 0; background: transparent; color: #fff; outline: none; }
.site-footer__form input::placeholder { color: rgb(243 245 255 / .55); }
.site-footer__form:focus-within { box-shadow: 0 0 0 2px rgb(75 184 238 / .6); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .1); font-size: var(--fs-xs); color: var(--on-panel-2); }
.site-footer__bottom ul { display: flex; gap: 18px; list-style: none; padding: 0; }
.site-footer__bottom a:hover { color: #fff; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
