/* ==========================================================================
   Anet Tours — Premium tier additions
   (loaded after style.css on the Premium site only)
   ========================================================================== */

/* Six nav items + the language switch need a little less room */
@media (min-width: 1081px) and (max-width: 1320px) {
  .nav a { padding: 10px 9px; font-size: .92rem; }
  .nav a::after { left: 9px; right: 9px; }
  .nav-row { gap: 18px; }
  .brand__text small { display: none; }
}
@media (max-width: 400px) {
  .lang-switch a { padding: 6px 7px; font-size: .72rem; }
}

/* ---------- Branded intro (once per visit) ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 500; background: var(--ink); color: var(--white);
  display: grid; place-items: center; transition: opacity .6s ease, visibility .6s;
}
.preloader__inner { display: grid; justify-items: center; gap: 14px; }
.preloader img { width: 84px; height: 84px; filter: invert(1); animation: preLogo 1s var(--ease) both; }
.preloader span {
  font-family: "Fraunces", Georgia, serif; font-size: 1.9rem; letter-spacing: -.01em;
  animation: preText .9s .25s var(--ease) both;
}
.preloader i { display: block; width: 140px; height: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; position: relative; }
.preloader i::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--gold));
  transform-origin: left; animation: preBar 1.1s .2s var(--ease) both;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.no-intro .preloader { display: none; }
@keyframes preLogo { from { opacity: 0; transform: scale(.6) rotate(-8deg); } }
@keyframes preText { from { opacity: 0; transform: translateY(14px); } }
@keyframes preBar { from { transform: scaleX(0); } }

/* ---------- Filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.chips--center { justify-content: center; }
.chip {
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

[data-cat] { transition: opacity .35s ease, transform .45s var(--ease); }
[data-cat].is-hiding { opacity: 0 !important; transform: scale(.92) !important; }
[data-cat][hidden] { display: none !important; }

/* ---------- Full gallery page (masonry) ---------- */
.pgallery { columns: 3 280px; column-gap: 18px; }
.pgallery__item {
  display: block; width: 100%; margin: 0 0 18px; break-inside: avoid; border: 0; padding: 0;
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: var(--sand-2); color: var(--white); text-align: left;
}
.pgallery__item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.pgallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 20, 27, .8));
  opacity: .8; transition: opacity .4s;
}
.pgallery__item:hover img { transform: scale(1.06); }
.pgallery__item:hover::after { opacity: 1; }
.center-link { text-align: center; margin: 40px 0 0; }

/* ---------- Trip planner (multi-step form) ---------- */
.planner { position: relative; }
.planner__progress { margin-bottom: 28px; }
.planner__bar { height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.planner__bar span {
  display: block; height: 100%; width: 33.33%; border-radius: 6px;
  background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width .6s var(--ease);
}
.planner__steps { list-style: none; padding: 0; margin: 14px 0 0; display: flex; justify-content: space-between; gap: 10px; }
.planner__steps li { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; color: var(--muted); transition: color .3s; }
.planner__steps b {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem;
  background: var(--sand); color: var(--muted); transition: background .3s, color .3s;
}
.planner__steps li.is-active, .planner__steps li.is-done { color: var(--ink); }
.planner__steps li.is-active b { background: var(--accent); color: var(--white); }
.planner__steps li.is-done b { background: var(--ink); color: var(--white); }

.planner__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.planner__step legend { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.2; margin-bottom: 20px; padding: 0; }
.planner__step.is-entering { animation: stepIn .5s var(--ease) both; }
.planner__step.is-entering.from-left { animation-name: stepInLeft; }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes stepInLeft { from { opacity: 0; transform: translateX(-30px); } }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__card {
  display: grid; gap: 4px; height: 100%; padding: 18px 16px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .25s, background .25s, transform .35s var(--ease), box-shadow .35s;
}
.choice__card .ico {
  width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--sand); color: var(--accent);
  margin-bottom: 8px; transition: background .3s, color .3s;
}
.choice__card strong { font-size: .98rem; line-height: 1.3; }
.choice__card small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.choice:hover .choice__card { transform: translateY(-3px); border-color: var(--sand-2); }
.choice input:checked + .choice__card { border-color: var(--accent); background: #fff6f1; box-shadow: 0 10px 24px -14px rgba(194, 80, 43, .6); }
.choice input:checked + .choice__card .ico { background: var(--accent); color: var(--white); }
.choice input:focus-visible + .choice__card { outline: 3px solid var(--gold); outline-offset: 2px; }

.stepper { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.stepper button { width: 52px; border: 0; background: var(--sand); color: var(--ink); font-size: 1.3rem; font-weight: 700; transition: background .2s; }
.stepper button:hover { background: var(--sand-2); }
.field .stepper input { border: 0; border-radius: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.check { display: inline-flex !important; align-items: center; gap: 12px; cursor: pointer; font-weight: 600 !important; font-size: .95rem !important; }
.check input { position: absolute; opacity: 0; }
.check span {
  width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line); background: var(--paper);
  display: grid; place-items: center; transition: background .2s, border-color .2s; flex: none;
}
.check span::after { content: ""; width: 10px; height: 6px; border: solid var(--white); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease); }
.check input:checked + span { background: var(--accent); border-color: var(--accent); }
.check input:checked + span::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.planner__nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 28px; flex-wrap: wrap; }
.planner__nav [data-next], .planner__nav [data-submit] { margin-left: auto; }
.planner__nav [hidden] { display: none; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-layout > * { min-width: 0; }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border-radius: 16px; border: 1px solid transparent; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: var(--line); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 1.02rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--sand); flex: none; transition: background .3s, transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), background .3s;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--accent); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--white); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq__a p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .planner__steps li { font-size: 0; gap: 0; }
  .planner__steps b { font-size: .78rem; }
  .planner__steps li.is-active { font-size: .8rem; gap: 8px; }
  .choice__card { padding: 14px 12px; }
  .planner__nav .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}

/* Fit fixes: hidden inputs must not stretch, and long words must wrap */
.choice input, .check input { width: 1px !important; height: 1px; padding: 0; margin: 0; border: 0; }
.choice-grid > * { min-width: 0; }
.choice__card strong, .choice__card small { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choice__card { grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .choice__card .ico { grid-row: span 2; margin-bottom: 0; }
}

/* ---------- Home intro without photos (travelers' photos live on the Gallery page) ---------- */
.intro--solo { grid-template-columns: 1fr; text-align: center; }
.intro--solo .lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.intro--solo .pillars { grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.intro--solo .pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
@media (max-width: 860px) {
  .intro--solo .pillars { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* ---------- Destination cards (home, Tours page, trip pages) ---------- */
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.dgrid > * { min-width: 0; }
.dgrid-lead { margin: 0; max-width: 460px; }
.dcard {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, opacity .35s ease;
}
.dcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.dcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dcard:hover .dcard__media img { transform: scale(1.07); }
.dcard__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(220, 161, 59, .35), transparent 55%), linear-gradient(135deg, #1d3444, var(--ink));
}
.dcard__ph .ico { width: 44px; height: 44px; color: rgba(255, 255, 255, .55); }
.dcard__tag {
  position: absolute; left: 14px; top: 14px; background: var(--ink); color: var(--white);
  padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.dcard__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; flex: 1; }
.dcard__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.2; overflow-wrap: anywhere; }
.dcard__blurb { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.dcard__foot {
  margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: .86rem; font-weight: 700; color: var(--accent);
}
.dcard__foot > span:first-child { min-width: 0; }
.dcard__foot .ico { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.dcard:hover .dcard__foot .ico { transform: translateX(4px); }

/* ---------- Trip pages ---------- */
.tour-feature__media .dcard__ph .ico { width: 64px; height: 64px; }
.trip__summary { color: var(--muted); margin: -8px 0 22px; }
.trip__highlights { margin: 0 0 24px; }
.tour-feature + .tour-feature { margin-top: 32px; }
.trip-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 18px 0 40px; }
.trip-photo { border: 0; padding: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--sand-2); }
.trip-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.trip-photo:hover img { transform: scale(1.07); }
.soon {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px); text-align: center; max-width: 760px; margin: 0 auto;
}
.soon > .ico { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--sand); color: var(--accent); margin: 0 auto 18px; }
.soon p { color: var(--muted); max-width: 560px; margin: 10px auto 26px; }
.soon .btn-row { justify-content: center; }
@media (max-width: 560px) {
  .dgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dcard__body { padding: 14px 14px 16px; }
  .dcard__name { font-size: 1.15rem; }
  .dcard__blurb { font-size: .84rem; }
  .dcard__tag { left: 10px; top: 10px; font-size: .66rem; padding: 4px 9px; }
}
@media (max-width: 370px) {
  .dgrid { grid-template-columns: 1fr; }
}

/* ---------- Scheduled trip cards ---------- */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 22px; }
.tgrid > * { min-width: 0; }
.tour-feature + .tgrid { margin-top: 32px; }
.tcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tcard__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tcard__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.tcard__body h3 { font-size: 1.45rem; line-height: 1.25; margin-bottom: 8px; overflow-wrap: break-word; }
.tcard .tour-feature__dates { margin-bottom: 14px; font-size: .95rem; }
.tcard__list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; font-size: .95rem; color: var(--muted); }
.tcard__list li { display: flex; gap: 9px; align-items: flex-start; }
.tcard__list .ico { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--accent); }
.tcard__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tcard__foot strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.tcard__call { font-weight: 700; color: var(--muted); font-size: .92rem; }

/* Keep the home headline readable over bright slideshow photos */
.hero h1 { text-shadow: 0 2px 28px rgba(10, 20, 27, .65), 0 1px 3px rgba(10, 20, 27, .4); }

/* ---------- Travel calendar (Tours page) ---------- */
.sched { display: grid; gap: 36px; }
.sched-month { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: start; }
.sched-month:not(:has(.sched-row:not([hidden]))) { display: none; }
.sched-month h3 { font-size: 1.4rem; line-height: 1.25; margin: 14px 0 0; position: sticky; top: calc(var(--header-h) + 16px); }
.sched-rows { display: grid; gap: 10px; min-width: 0; }
.sched-row {
  display: grid; grid-template-columns: 190px 1fr auto 18px; gap: 16px; align-items: center; padding: 16px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease), opacity .35s ease;
}
.sched-row:hover { transform: translateX(4px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.sched-row > * { min-width: 0; }
.sched-row__date { font-size: .92rem; font-weight: 600; color: var(--muted); }
.sched-row__main strong { display: block; font-size: 1.05rem; line-height: 1.3; overflow-wrap: break-word; }
.sched-row__main small { color: var(--muted); font-size: .84rem; }
.sched-row__price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.sched-row__call { font-family: var(--font-body); font-size: .86rem; font-weight: 700; color: var(--muted); }
.sched-row > .ico { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 860px) {
  .sched-month { grid-template-columns: 1fr; gap: 12px; }
  .sched-month h3 { position: static; margin: 0; }
}
@media (max-width: 560px) {
  .sched-row { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 16px; }
  .sched-row__date { grid-column: 1 / -1; font-size: .86rem; }
  .sched-row > .ico { display: none; }
  .sched-row__price { white-space: normal; text-align: right; }
}
@media (max-width: 420px) {
  .sched-row { grid-template-columns: 1fr; }
  .sched-row__price { text-align: left; }
}

/* ---------- Individual trip page ---------- */
.tcard h3 a { color: inherit; text-decoration: none; }
.tcard h3 a:hover { color: var(--accent); }
.tour-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tour-main h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 34px 0 18px; }
.tour-facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tour-facts li { display: flex; gap: 12px; align-items: flex-start; background: var(--sand); border-radius: 14px; padding: 16px; min-width: 0; }
.tour-facts .ico { width: 22px; height: 22px; color: var(--accent); flex: none; }
.tour-facts small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tour-facts strong { font-size: 1rem; line-height: 1.35; }
.tour-facts a { color: var(--accent); }
.tour-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.tour-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.tour-list .ico { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--accent); }
.tour-pending { background: var(--sand); border-radius: 14px; padding: 18px 20px; color: var(--ink); margin: 0 0 32px; }
.tour-panel {
  position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow);
}
.tour-panel__price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.tour-panel__call { font-size: 1.15rem; color: var(--accent); }
.tour-panel h2 { font-size: 1.45rem; margin: 8px 0 0; }
.tour-panel p { margin: 0 0 6px; color: var(--muted); font-size: .98rem; }
.tour-panel .btn { width: 100%; justify-content: center; text-align: center; white-space: normal; }
.tour-panel small { color: var(--muted); text-align: center; }
.tour-panel .tour-print-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--sand, #f4ede2); color: var(--ink); font-size: .84rem; line-height: 1.45; text-align: center; }
.tour-panel .tour-print-note[hidden] { display: none; }
/* Early bird "golden ticket" under the trip price */
.tour-panel .eb {
  --eb-notch: 9px;
  position: relative; overflow: hidden; display: grid; gap: 5px; margin: 4px 0 6px; padding: 13px 18px 12px;
  border-radius: 14px; color: #fff;
  background: linear-gradient(125deg, #13212b 0%, #1d3442 55%, #3a2a17 100%);
  -webkit-mask: radial-gradient(circle var(--eb-notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--eb-notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--eb-notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--eb-notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  box-shadow: inset 0 0 0 1px rgba(220, 161, 59, .55);
}
.tour-panel .eb::after { /* light sweep */
  content: ""; position: absolute; inset: -40% auto -40% -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 223, 160, .28), transparent);
  transform: skewX(-18deg); animation: eb-shine 4.8s var(--ease) 1.2s infinite;
}
@keyframes eb-shine { 0% { left: -60%; } 38%, 100% { left: 130%; } }
.tour-panel .eb > * { position: relative; z-index: 1; }
.tour-panel .eb__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tour-panel .eb__tag { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tour-panel .eb__spark { display: inline-block; animation: eb-twinkle 2.4s ease-in-out infinite; }
@keyframes eb-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.35) rotate(45deg); opacity: .75; } }
.tour-panel .eb__left { font-size: .74rem; font-weight: 600; color: #ffe2a8; background: rgba(220, 161, 59, .16); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.tour-panel .eb__left:empty { display: none; }
.tour-panel .eb__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding-top: 7px; }
.tour-panel .eb__now { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; line-height: 1; color: #fff; }
.tour-panel .eb__was { font-size: .95rem; color: rgba(255, 255, 255, .55); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.tour-panel .eb__save { margin-left: auto; align-self: center; font-size: .78rem; font-weight: 800; color: var(--ink); background: linear-gradient(135deg, #f3c56b, var(--gold)); border-radius: 999px; padding: 4px 10px; box-shadow: 0 4px 12px -4px rgba(220, 161, 59, .8); white-space: nowrap; }
.tour-panel .eb__by { font-size: .8rem; color: rgba(255, 255, 255, .72); text-align: left; }
@media (prefers-reduced-motion: reduce) {
  .tour-panel .eb::after, .tour-panel .eb__spark { animation: none; }
  .tour-panel .eb::after { display: none; }
}
@media (max-width: 860px) {
  .tour-layout { grid-template-columns: minmax(0, 1fr); }
  .tour-panel { position: static; }
}
@media (max-width: 460px) {
  .tour-facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Trip page: main photo beside the title, then a photo set ---------- */
.trip-hero { background: var(--ink); color: var(--white); padding: calc(var(--header-h) + 76px) 0 64px; }
.trip-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.trip-hero .eyebrow { color: var(--gold); }
.trip-hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.08; margin: 12px 0 26px; }
.trip-hero__facts { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 16px; }
.trip-hero__facts li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.trip-hero__facts .ico { width: 22px; height: 22px; margin-top: 2px; flex: none; color: var(--gold); }
.trip-hero__facts small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.trip-hero__facts strong { font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.trip-hero__facts a { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.trip-hero__price { margin: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1.1; }
.trip-hero__photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.trip-hero__photo img, .trip-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trip-hero__photo figcaption, .trip-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 12px; color: var(--white); font-size: .88rem; font-weight: 600; line-height: 1.3; background: linear-gradient(to top, rgba(10, 20, 27, .82), rgba(10, 20, 27, 0)); }
.tour-main .trip-gallery__title { margin-top: 0; }
.trip-gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trip-gallery figure { position: relative; margin: 0; min-width: 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--sand); }
.trip-gallery--1 { grid-template-columns: minmax(0, 1fr); }
.trip-gallery--1 figure { aspect-ratio: 16 / 9; }
.trip-gallery--3 figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.trip-gallery__note { margin: 10px 0 0; font-size: .84rem; color: var(--muted); }
@media (max-width: 560px) {
  .trip-gallery { gap: 8px; }
  .trip-gallery figure { border-radius: 12px; }
  .trip-gallery figcaption { padding: 24px 10px 8px; font-size: .76rem; }
}
@media (max-width: 860px) {
  .trip-hero { padding: calc(var(--header-h) + 60px) 0 44px; }
  .trip-hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Policy pages ---------- */
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal { display: grid; gap: 24px; max-width: 860px; }
.legal > * { min-width: 0; }
.legal h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 0 0 12px; }
.legal p { margin: 0 0 12px; }
.legal p:last-child { margin-bottom: 0; }
.policy-card, .legal-block { scroll-margin-top: calc(var(--header-h) + 24px); }
.policy-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.legal-note { color: var(--muted); }
.policy-rows { list-style: none; padding: 0; margin: 0; }
.policy-rows li { display: flex; justify-content: space-between; gap: 8px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.policy-rows li:first-child { border-top: 0; }
.policy-rows span { min-width: 0; }
.policy-rows strong { text-align: right; max-width: 55%; }
.legal-block { padding: 8px 0; }
.legal-contact { display: grid; gap: 10px; }
.legal-contact a, .legal-contact > span { display: flex; align-items: center; gap: 10px; color: var(--ink); overflow-wrap: anywhere; min-width: 0; }
.legal-contact .ico { width: 20px; height: 20px; flex: none; color: var(--accent); }
.tour-policy { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 24px; }
.tour-policy .ico { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent); }
.tour-policy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .policy-rows li { flex-direction: column; }
  .policy-rows strong { text-align: left; max-width: none; }
}

/* ---------- Home page trip search ---------- */
.hero { min-height: calc(100vh - 170px); min-height: calc(100svh - 170px); }
.trip-search { padding: 24px 0 clamp(36px, 5vw, 60px); position: relative; }
.trip-search .wrap { position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ts-results { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.ts-results[hidden], .ts-empty[hidden], .sr-row[hidden], .sr-item[hidden] { display: none; }
.ts-results__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ts-clear { border: 0; background: none; padding: 4px 0; font: inherit; font-size: .92rem; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ts-list { display: grid; gap: 8px; max-height: 480px; overflow-y: auto; }
.sr-item { min-width: 0; }
.sr-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto 18px; gap: 14px; align-items: center; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .25s, background .25s; }
.sr-row:hover { border-color: var(--accent); background: var(--paper); }
.sr-row img { width: 84px; height: 62px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.sr-row__main strong { display: block; line-height: 1.3; overflow-wrap: break-word; }
.sr-row__main small { color: var(--muted); font-size: .84rem; }
.sr-row__price { font-weight: 700; color: var(--ink); text-align: right; font-size: .95rem; }
.sr-row > .ico { width: 18px; height: 18px; color: var(--accent); }
.ts-empty { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 560px) {
  .hero { min-height: 92vh; min-height: 92svh; }
  .sr-row { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 12px; }
  .sr-row img { width: 64px; height: 64px; grid-row: span 2; }
  .sr-row__price { grid-column: 2; text-align: left; font-size: .9rem; color: var(--accent); }
  .sr-row > .ico { display: none; }
  .ts-list { max-height: 420px; }
}

/* ---------- Email box ---------- */
.mail-box {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: clamp(22px, 4vw, 34px);
  border: 0; border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: var(--shadow); overflow-y: auto;
}
.mail-box::backdrop { background: rgba(10, 20, 27, .6); }
.mail-box h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 0 40px 4px 0; }
.mail-box__to { margin: 0 0 16px; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.mail-box__trap { position: absolute; left: -9999px; }
.mail-box__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--sand); color: var(--ink); cursor: pointer; }
.mail-box__close .ico { width: 20px; height: 20px; }
.mail-box .form-grid { margin-bottom: 0; }
.mail-box .field { margin-bottom: 12px; }
.mail-box .btn { width: 100%; justify-content: center; margin-top: 4px; }
.mail-box .btn[disabled] { opacity: .65; cursor: progress; }
.mail-box__status { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--sand); font-size: .92rem; }
.mail-box__status[hidden], .mail-box form[hidden], .mail-box__sent[hidden] { display: none; }
.mail-box__sent { text-align: center; padding: 16px 0 4px; }
.mail-box__sent > .ico { width: 56px; height: 56px; padding: 14px; margin: 0 auto 14px; border-radius: 50%; background: var(--sand); color: var(--accent); display: block; }
.mail-box__sent h2 { margin: 0 0 8px; }
.mail-box__sent p { color: var(--muted); margin: 0 0 18px; }

/* Planner after a request is sent: only the confirmation stays */
.planner.is-sent .planner__progress, .planner.is-sent .planner__step, .planner.is-sent .planner__nav { display: none; }

/* ---------- Printable tour sheet ---------- */
.print-sheet { display: none; }
@media print {
  @page { margin: 16mm; }
  body > *:not(main), main > *:not(.print-sheet) { display: none !important; }
  html, body { background: #fff !important; }
  .print-sheet { display: block; color: #000; font-size: 11.5pt; line-height: 1.45; }
  .print-sheet header { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1.5pt solid #000; }
  .print-sheet header img { width: 44px; height: 44px; }
  .print-sheet header strong, .print-sheet header span { display: block; }
  .print-sheet header span { font-size: 9.5pt; }
  .print-sheet h1 { font-size: 24pt; line-height: 1.15; margin: 16px 0 4px; color: #000; }
  .print-sheet__meta { margin: 0; }
  .print-sheet__price { font-size: 16pt; font-weight: 700; margin: 8px 0 0; }
  .print-sheet h2 { font-family: inherit; font-size: 12.5pt; font-weight: 700; margin: 18px 0 6px; color: #000; }
  .print-sheet ul { margin: 0; padding-left: 18px; }
  .print-sheet p { margin: 0 0 6px; }
  .print-sheet table { width: 100%; border-collapse: collapse; margin: 4px 0 10px; }
  .print-sheet td { padding: 4px 6px; border: .5pt solid #888; vertical-align: top; }
  .print-sheet footer { margin-top: 18px; padding-top: 8px; border-top: 1pt solid #000; font-size: 10pt; font-weight: 600; }
}

/* ---------- Year calendar (Tours page) ---------- */
.year-cal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0 0 32px; scroll-margin-top: calc(var(--header-h) + 24px); }
.ym { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; padding: 11px 6px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-align: center; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.ym strong { font-size: .92rem; font-weight: 700; line-height: 1.2; }
.ym small { font-size: .72rem; font-weight: 600; line-height: 1.25; color: var(--accent); transition: color .2s; }
a.ym[href]:hover, a.ym[href]:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--white); }
a.ym[href]:hover small, a.ym[href]:focus-visible small { color: var(--white); }
a.ym[href]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ym--empty { background: transparent; color: var(--muted); }
.ym--empty strong { font-weight: 600; }
.ym--empty small { color: var(--muted); font-weight: 500; }
.sched-month { scroll-margin-top: calc(var(--header-h) + 20px); }
.sched-month__head { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 8px; justify-items: start; }
.sched-month__head h3 { position: static; margin: 14px 0 0; }
.sched-back { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.sched-back:hover { text-decoration: underline; }
.sched-back .ico { width: 15px; height: 15px; }
.sched-month:target h3 { color: var(--accent); }
@media (max-width: 860px) {
  .year-cal { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sched-month__head { position: static; grid-auto-flow: column; justify-content: space-between; align-items: baseline; }
  .sched-month__head h3 { margin: 0; }
}
@media (max-width: 560px) {
  .year-cal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .ym { padding: 9px 4px; }
  .ym strong { font-size: .86rem; }
  .ym small { font-size: .68rem; }
}

/* ---------- Contrast, slideshow pause, form privacy line ---------- */
.cta-band .eyebrow { color: var(--gold); }
.hero__meta { align-items: center; }
.hero__pause { flex: none; width: 34px; height: 34px; margin-left: 12px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: rgba(10, 20, 27, .35); color: var(--white); cursor: pointer; transition: background .25s; }
.hero__pause:hover { background: rgba(10, 20, 27, .65); }
.hero__pause:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hero__pause[hidden] { display: none; }
.hero__pause .ico { width: 15px; height: 15px; }
.hero__pause .hero__pause-on, .hero__pause.is-paused .hero__pause-off { display: none; }
.hero__pause.is-paused .hero__pause-on { display: block; }
.hero__dots.is-paused button.is-active::after { animation-play-state: paused; }
.form-consent { margin: 8px 0 12px; font-size: .84rem; color: var(--muted); }
.form-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.planner .form-consent { margin: 16px 0 0; }
.planner.is-sent .form-consent { display: none; }
@media (max-width: 560px) {
  .scroll-cue { display: none; }
}

/* "I'm human" check (Cloudflare Turnstile) in the email box and the trip planner */
.human-check { min-height: 65px; margin: 4px 0 0; max-width: 100%; }
.human-check:empty { min-height: 0; }
.planner .human-check { margin-top: 18px; }

/* Language switch: the language you're not on stays readable on the light, scrolled header */
.site-header.is-scrolled .lang-switch a:not([aria-current="true"]) { color: var(--ink); }
.menu-open .site-header .lang-switch a:not([aria-current="true"]) { color: var(--white); }

/* Home hero: keep room for the header above the text. The general .wrap padding on phones was removing it,
   so long headlines (Armenian especially) slid under the header on shorter screens. */
.hero > .hero__content { padding-top: 160px; }
@media (max-width: 860px) { .hero > .hero__content { padding-top: 120px; } }

/* Phone numbers never break in the middle, like "(818) 336-" / "6363" */
a[href^="tel:"]:not(.btn) { white-space: nowrap; }

/* Armenian card titles on phones: long words (e.g. "Էմիրություններ", "ծաղկադաշտեր") fit the two-column cards
   instead of being split mid-word */
@media (max-width: 560px) {
  :lang(hy) .dcard__name { font-size: clamp(.95rem, 4.3vw, 1.08rem); }
}

/* Armenian page titles on phones: the longest words (e.g. "Խաղաղօվկիանոսյան", "քաղաքականություն") fit on one line
   at 360–414px instead of being split mid-word */
@media (max-width: 480px) {
  :lang(hy) h1, :lang(hy) .page-hero h1, :lang(hy) .trip-hero h1 { font-size: min(2.3rem, 8.3vw); }
}

/* "Similar trips" on trip pages: one card per row on phones, so long trip names
   (e.g. "Խաղաղօվկիանոսյան", "Morongo/Cabazon") are never split mid-word */
@media (max-width: 480px) {
  [data-similar] .dgrid { grid-template-columns: 1fr; }
}

/* Armenian trip titles next to the photo (tablet landscape and desktop): long words fit their half of the page */
@media (min-width: 861px) {
  :lang(hy) .trip-hero h1 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
}

/* ---------- Page not found (404) ---------- */
.nf { padding-block: clamp(40px, 6vw, 64px); }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 480px) { .nf__links .btn { flex: 1 1 100%; justify-content: center; } }

/* ---------- Home page trip search (redesign, November 19, 2026) ---------- */
.ts-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px);
  background: radial-gradient(circle at 100% 0%, rgba(220, 161, 59, .17), transparent 46%), radial-gradient(circle at 0% 100%, rgba(181, 72, 36, .06), transparent 40%), var(--white); }
.ts-card > * { position: relative; }
.ts-card__route { position: absolute; top: 12px; right: 16px; width: clamp(130px, 22vw, 220px); height: auto; pointer-events: none; }
.ts-card__route path { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 2 7; opacity: .75; animation: tsRoute 28s linear infinite; }
.ts-card__route circle { fill: var(--gold); }
@keyframes tsRoute { to { stroke-dashoffset: -360; } }
.ts-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 16px; }
.ts-head h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 0; }
.ts-total { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: var(--sand); font-size: .84rem; font-weight: 700; color: var(--ink); }
.ts-total__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2f8f5b; }
.ts-total__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2f8f5b; animation: tsPulse 2.2s ease-out infinite; }
@keyframes tsPulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.8); opacity: 0; } }

.ts-keyword { position: relative; display: block; }
.ts-keyword .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--accent); pointer-events: none; }
.ts-keyword input { width: 100%; padding: 16px 18px 16px 52px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper); font: inherit; font-size: 1.05rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.ts-keyword input::placeholder { color: #8a949a; }
.ts-keyword input:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(220, 161, 59, .35); }

.ts-picks { display: flex; gap: 8px; margin: 12px 0 0; overflow-x: auto; scrollbar-width: none; padding: 2px; margin-inline: -2px; }
.ts-picks::-webkit-scrollbar { display: none; }
.ts-pick { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font: inherit; font-size: .9rem; font-weight: 700; color: var(--ink); white-space: nowrap; cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.ts-pick .ico { width: 16px; height: 16px; color: var(--accent); transition: color .2s; }
.ts-pick:hover { border-color: var(--accent); transform: translateY(-1px); }
.ts-pick[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ts-pick[aria-pressed="true"] .ico { color: var(--gold); }

.ts-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: stretch; margin-top: 14px; padding: 6px; border: 1.5px solid var(--line); border-radius: 20px; background: var(--paper); }
.ts-field { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 32px 9px 14px; border-radius: 14px; cursor: pointer; transition: background .2s, box-shadow .2s; }
.ts-field + .ts-field::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.ts-field::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.ts-field:hover { background: var(--white); }
.ts-field:focus-within { background: var(--white); box-shadow: 0 0 0 3px var(--gold); z-index: 1; }
.ts-field:hover::before, .ts-field:focus-within::before, .ts-field:hover + .ts-field::before, .ts-field:focus-within + .ts-field::before { opacity: 0; }
.ts-field__ico.ico { flex: none; width: 20px; height: 20px; color: var(--accent); }
.ts-field__text { display: grid; min-width: 0; flex: 1; }
.ts-field__label { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.ts-field select { -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; padding: 1px 0 0; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); text-overflow: ellipsis; cursor: pointer; }
.ts-field select:focus { outline: none; }
.ts-go { margin-left: 6px; border-radius: 14px; white-space: nowrap; gap: 8px; }
.ts-go .ico { width: 18px; height: 18px; }

.sr-row:not([hidden]) { animation: srIn .45s cubic-bezier(.22, .8, .22, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes srIn { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 1080px) {
  .ts-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 0; overflow: hidden; background: var(--line); }
  .ts-field { border-radius: 0; background: var(--paper); padding-block: 11px; }
  .ts-field + .ts-field::before { display: none; }
  .ts-field:focus-within { box-shadow: inset 0 0 0 3px var(--gold); }
  .ts-go { grid-column: 1 / -1; margin: 0; border-radius: 0; justify-content: center; padding-block: 15px; }
}
@media (max-width: 480px) {
  .ts-fields { grid-template-columns: minmax(0, 1fr); }
  .ts-card__route { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .ts-card__route path, .ts-total__dot::after, .sr-row:not([hidden]) { animation: none; }
}
@media (max-width: 860px) {
  .ts-picks { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 28px; }
}
/* Armenian words are longer: on wide screens the button gets its own row so the fields keep their room */
@media (min-width: 1081px) {
  :lang(hy) .ts-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  :lang(hy) .ts-go { grid-column: 1 / -1; margin: 6px 0 0; justify-content: center; }
}
@media (min-width: 1081px) and (max-width: 1279px) {
  .ts-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ts-go { grid-column: 1 / -1; margin: 6px 0 0; justify-content: center; }
}
@media (max-width: 1080px) {
  .ts-go { white-space: normal; text-align: center; }
}

/* ---------- Footer service links land on their card on the Services page ---------- */
.service[id] { scroll-margin-top: 130px; }
.service:target { animation: serviceHere 2.6s var(--ease, ease) .5s both; }
.service:target .ico { background: var(--accent); color: var(--white); transition-delay: .5s; }
@keyframes serviceHere {
  0% { box-shadow: 0 0 0 0 rgba(220, 161, 59, 0); border-color: var(--line); }
  15% { box-shadow: 0 0 0 6px rgba(220, 161, 59, .55), var(--shadow); border-color: var(--gold); }
  70% { box-shadow: 0 0 0 3px rgba(220, 161, 59, .35), var(--shadow); border-color: var(--gold); }
  100% { box-shadow: 0 0 0 0 rgba(220, 161, 59, 0); border-color: var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .service:target { animation: none; box-shadow: 0 0 0 3px var(--gold); }
}

/* ---------- Trip pages: Share and Add to calendar ---------- */
.tour-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tmenu { position: relative; min-width: 0; }
.tour-panel .tmenu__btn { height: 100%; padding-inline: 12px; gap: 8px; font-size: .92rem; }
.tmenu__btn[aria-expanded="true"] { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tmenu__list { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 100%; width: max-content; max-width: min(280px, 80vw); display: grid; gap: 2px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); animation: tmenuIn .22s cubic-bezier(.22, .8, .22, 1); }
.tmenu + .tmenu .tmenu__list { left: auto; right: 0; }
.tmenu__list[hidden] { display: none; }
@keyframes tmenuIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.tmenu__list a, .tmenu__list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; }
.tmenu__list a:hover, .tmenu__list button:hover, .tmenu__list a:focus-visible, .tmenu__list button:focus-visible { background: var(--sand); }
.tmenu__list .ico { width: 18px; height: 18px; flex: none; color: var(--accent); }
.tmenu__list .is-done { color: #2f8f5b; }
.tmenu__list .is-done .ico { color: #2f8f5b; }
@media (max-width: 380px) { .tour-actions { grid-template-columns: minmax(0, 1fr); } .tmenu + .tmenu .tmenu__list { left: 0; right: auto; } }
@media (prefers-reduced-motion: reduce) { .tmenu__list { animation: none; } }
@media print { .tour-actions { display: none !important; } }
:lang(hy) .tour-actions { grid-template-columns: minmax(0, 1fr); }
:lang(hy) .tmenu + .tmenu .tmenu__list { left: 0; right: auto; }

/* ---------- Trip pages: Included / Not included ---------- */
.incl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: -8px 0 32px; align-items: start; }
.incl { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 22px; background: var(--white); }
.incl h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.2rem; }
.incl h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #2f8f5b; flex: none; }
.incl--no h3::before { background: var(--accent); }
.incl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; line-height: 1.5; }
.incl li .ico { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.incl--yes li .ico { color: #2f8f5b; }
.incl--no { background: var(--paper); }
.incl--no li .ico { color: var(--accent); }
@media print {
  .incl-grid { display: block; margin: 0; }
  .incl { border: 0; padding: 0; margin: 8px 0 0; background: none; }
  .incl h3::before { display: none; }
  .incl ul { display: block; padding-left: 18px; list-style: disc; }
}

/* ---------- Small phones: buttons stay compact (one line where possible) ---------- */
@media (max-width: 560px) {
  .btn { padding: 14px 20px; gap: 8px; font-size: .95rem; }
  .btn--sm { padding: 10px 16px; font-size: .88rem; }
  .tour-panel { padding: 20px 18px; }
}
@media (max-width: 380px) {
  .btn { padding: 13px 16px; font-size: .92rem; }
}
@media (max-width: 480px) {
  .tour-actions { grid-template-columns: minmax(0, 1fr); }
  .tmenu + .tmenu .tmenu__list { left: 0; right: auto; }
}
@media (max-width: 560px) {
  .option { padding: 18px; }
  .option .btn .ico--arrow { display: none; }
}
@media (max-width: 380px) {
  .btn .ico--arrow { display: none; }
  .chip { padding-inline: 14px; font-size: .88rem; }
}
@media (max-width: 560px) {
  .soon { padding: 28px 20px; }
  .soon .btn-row { flex-direction: column; align-items: stretch; }
  .soon .btn-row .btn { width: 100%; }
}
@media (max-width: 420px) {
  :lang(hy) .btn .ico--arrow { display: none; }
}
@media (max-width: 420px) {
  :lang(hy) .btn { letter-spacing: 0; padding-inline: 14px; }
}

/* ---------- Header menu: labels never break onto two lines ---------- */
.nav a { white-space: nowrap; }
/* Armenian menu words are longer: the header "Plan a trip" button never fits beside them ("Contact" stays in the menu) */
:lang(hy) .nav-row > .btn { display: none; }
@media (min-width: 1081px) {
  :lang(hy) .brand__text small { display: none; }
}

/* ---------- Armenian desktop: "Plan a trip" lives in the top bar (the menu has no room for it) ---------- */
.topbar__social { align-items: center; }
.topbar a.topbar__cta { display: none; }
:lang(hy) .topbar a.topbar__cta {
  display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; padding: 5px 14px; border-radius: 999px;
  background: var(--accent); color: var(--white); font-size: .82rem; font-weight: 700; opacity: 1; white-space: nowrap;
  transition: background .2s, transform .2s;
}
:lang(hy) .topbar a.topbar__cta:hover { background: var(--accent-dark, #9a3c1d); transform: translateY(-1px); }
:lang(hy) .topbar a.topbar__cta .ico { width: 14px; height: 14px; }
@media (max-width: 940px) {
  :lang(hy) .topbar__contact a:nth-child(2) { display: none; }
}

/* ---------- Secret Tour: "mystery" look (night sky, blurred photo, gold ? seal) ---------- */
.myst-seal {
  position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; z-index: 2;
  display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold);
  background: rgba(19, 33, 43, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow: 0 0 0 6px rgba(220, 161, 59, .16), 0 0 34px rgba(220, 161, 59, .45);
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1;
  animation: mystGlow 3.2s ease-in-out infinite;
}
@keyframes mystGlow {
  50% { box-shadow: 0 0 0 10px rgba(220, 161, 59, .08), 0 0 48px rgba(220, 161, 59, .6); }
}
.myst-badge {
  position: absolute; left: 14px; top: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.myst-sky {
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, .8), transparent 60%),
    radial-gradient(1px 1px at 78% 12%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1.5px 1.5px at 64% 66%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(1px 1px at 30% 82%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1px 1px at 90% 48%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(220, 161, 59, .22), transparent 45%),
    linear-gradient(160deg, #1d2f3d 0%, #13212b 55%, #241d36 100%);
}

/* Trip card on the California page */
.tcard--mystery { color: var(--white); border-color: rgba(220, 161, 59, .55); box-shadow: 0 0 0 1px rgba(220, 161, 59, .15);
  background:
    radial-gradient(1.5px 1.5px at 12% 58%, rgba(255, 255, 255, .8), transparent 60%),
    radial-gradient(1px 1px at 78% 62%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1.5px 1.5px at 64% 86%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(1px 1px at 88% 78%, rgba(255, 255, 255, .6), transparent 60%),
    linear-gradient(160deg, #1d2f3d 0%, #13212b 55%, #241d36 100%); }
.tcard--mystery .tcard__media { position: relative; overflow: hidden; }
.tcard--mystery .tcard__img { display: block; filter: blur(4px) brightness(.55) saturate(.8); transform: scale(1.08); }
.tcard--mystery .eyebrow { color: var(--gold); }
.tcard--mystery h3 a { color: var(--white); }
.tcard--mystery h3 a:hover { color: var(--gold); }
.tcard--mystery .tour-feature__dates, .tcard--mystery .tcard__list { color: rgba(255, 255, 255, .78); }
.tcard--mystery .tour-feature__dates .ico, .tcard--mystery .tcard__list .ico { color: var(--gold); }
.tcard--mystery .tcard__foot { border-top-color: rgba(255, 255, 255, .16); }
.tcard--mystery .tcard__foot strong { color: var(--gold); }

/* "Similar trips" card */
.dcard--mystery { color: var(--white); border-color: rgba(220, 161, 59, .55);
  background: linear-gradient(160deg, #1d2f3d 0%, #13212b 55%, #241d36 100%); }
.dcard--mystery .dcard__media img { filter: blur(4px) brightness(.55) saturate(.8); transform: scale(1.08); }
.dcard--mystery:hover .dcard__media img { transform: scale(1.12); }
.dcard--mystery .dcard__tag { background: var(--gold); color: var(--ink); }
.dcard--mystery .dcard__blurb { color: rgba(255, 255, 255, .72); }
.dcard--mystery .dcard__foot { color: var(--gold); border-top-color: rgba(255, 255, 255, .16); }

/* Travel calendar row */
.sched-row--mystery { color: var(--white); border-color: rgba(220, 161, 59, .55);
  background: radial-gradient(circle at 100% 0%, rgba(220, 161, 59, .2), transparent 40%), linear-gradient(120deg, #1d2f3d, #13212b 60%, #241d36); }
.sched-row--mystery .sched-row__date, .sched-row--mystery .sched-row__main small { color: rgba(255, 255, 255, .72); }
.sched-row--mystery .sched-row__price { color: var(--gold); }
.sched-row--mystery > .ico { color: var(--gold); }
.sched-row--mystery:hover { border-color: var(--gold); }
.myst-pill { display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font-family: var(--font-body); font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }

/* Trip page */
.trip-hero--mystery {
  background:
    radial-gradient(1.5px 1.5px at 8% 30%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1px 1px at 22% 70%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 20%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(1px 1px at 38% 88%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(circle at 85% 10%, rgba(220, 161, 59, .18), transparent 40%),
    linear-gradient(160deg, #1d2f3d 0%, #13212b 55%, #241d36 100%);
}
.trip-hero--mystery .trip-hero__photo { position: relative; overflow: hidden; }
.trip-hero--mystery .trip-hero__photo img { filter: blur(6px) brightness(.55) saturate(.85); transform: scale(1.08); }
.trip-hero--mystery .myst-seal { width: 104px; height: 104px; margin: -52px 0 0 -52px; font-size: 3.8rem; }
.trip-hero--mystery figcaption { color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.myst-note {
  display: flex; gap: 16px; align-items: center; margin: 0 0 28px; padding: 18px 20px; border-radius: var(--radius);
  color: var(--white); border: 1px solid rgba(220, 161, 59, .55);
  background: radial-gradient(circle at 100% 0%, rgba(220, 161, 59, .2), transparent 45%), linear-gradient(120deg, #1d2f3d, #13212b 60%, #241d36);
}
.myst-note__seal { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold);
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.myst-note strong { display: block; color: var(--gold); font-size: 1.05rem; }
.myst-note p { margin: 2px 0 0; color: rgba(255, 255, 255, .82); }

@media (prefers-reduced-motion: reduce) { .myst-seal { animation: none; } }
@media print { .myst-note { color: #000; background: none; border: 1pt solid #000; } .myst-note strong, .myst-note__seal { color: #000; border-color: #000; } }
.tcard--mystery .btn { --bg: var(--gold); --fg: var(--ink); box-shadow: 0 10px 24px -10px rgba(220, 161, 59, .7); }
.tcard--mystery .btn::after { background: #f0bb57; }

/* Home page: Secret Tour teaser band */
.myst-section { padding-top: 0; }
.myst-teaser {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 4vw, 56px);
  padding: clamp(24px, 4vw, 44px) clamp(22px, 5vw, 56px); border-radius: var(--radius-lg); border: 1px solid rgba(220, 161, 59, .55);
  color: var(--white); text-decoration: none; box-shadow: var(--shadow);
  background:
    radial-gradient(1.5px 1.5px at 8% 22%, rgba(255, 255, 255, .8), transparent 60%),
    radial-gradient(1px 1px at 26% 78%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1.5px 1.5px at 48% 14%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(1px 1px at 58% 84%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1.5px 1.5px at 72% 30%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1px 1px at 92% 70%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(circle at 88% 50%, rgba(220, 161, 59, .28), transparent 38%),
    linear-gradient(120deg, #1d2f3d 0%, #13212b 55%, #241d36 100%);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.myst-teaser:hover { transform: translateY(-3px); }
.myst-teaser .eyebrow { color: var(--gold); }
.myst-teaser h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 10px 0 8px; }
.myst-teaser p { margin: 0 0 20px; color: rgba(255, 255, 255, .8); max-width: 560px; }
.myst-teaser__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.myst-teaser__foot strong { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1; }
.myst-teaser .btn { --bg: var(--gold); --fg: var(--ink); box-shadow: 0 10px 24px -10px rgba(220, 161, 59, .7); }
.myst-teaser .btn::after { background: #f0bb57; }
.myst-teaser__seal {
  display: grid; place-items: center; width: clamp(110px, 14vw, 160px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold); background: rgba(19, 33, 43, .5);
  font-family: var(--font-display); font-size: clamp(3.6rem, 7vw, 5.4rem); font-weight: 600; line-height: 1;
  box-shadow: 0 0 0 10px rgba(220, 161, 59, .1), 0 0 60px rgba(220, 161, 59, .45);
  animation: mystGlow 3.2s ease-in-out infinite;
}
.myst-teaser__seal > span { transform: translateY(2px); }
@media (max-width: 640px) {
  .myst-teaser { grid-template-columns: 1fr; }
  .myst-teaser__seal { order: -1; width: 84px; font-size: 2.8rem; margin-bottom: -4px; }
}

/* Home page search: its result row */
.sr-row__media { position: relative; display: block; width: 84px; height: 62px; border-radius: 10px; overflow: hidden; }
.sr-row__media img { display: block; filter: blur(3px) brightness(.55); transform: scale(1.12); }
.myst-seal--sm { width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 1.2rem; border-width: 1.5px; box-shadow: 0 0 14px rgba(220, 161, 59, .5); animation: none; }
.sr-row--mystery { color: var(--white); border-color: rgba(220, 161, 59, .55); background: linear-gradient(120deg, #1d2f3d, #13212b 60%, #241d36); }
.sr-row--mystery:hover { border-color: var(--gold); background: linear-gradient(120deg, #22384a, #172836 60%, #2b2342); }
.sr-row--mystery .sr-row__main small { color: rgba(255, 255, 255, .72); }
.sr-row--mystery .sr-row__price, .sr-row--mystery > .ico { color: var(--gold); }
@media (max-width: 560px) {
  .sr-row__media { width: 64px; height: 64px; grid-row: span 2; }
  .sr-row--mystery .sr-row__price { color: var(--gold); }
}
@media (prefers-reduced-motion: reduce) { .myst-teaser__seal { animation: none; } }
@media (max-width: 560px) { .sr-row--mystery .myst-pill { display: none; } }

/* Gallery: blurred Secret Tour tile (links to the trip page, never opens the photo viewer) */
.pgallery__item--mystery { cursor: pointer; text-decoration: none; border: 1px solid rgba(220, 161, 59, .55); background: #13212b; }
.pgallery__item--mystery img { display: block; aspect-ratio: 4 / 3; object-fit: cover; filter: blur(5px) brightness(.5) saturate(.8); transform: scale(1.1); }
.pgallery__item--mystery:hover img { transform: scale(1.14); }
.pgallery__item--mystery .gallery__cap { color: var(--gold); z-index: 3; }
.pgallery__item--mystery .gallery__cap .ico { color: var(--gold); }

/* Very narrow phones (folded phones, small Androids, narrow windows): nothing gets cut off */
@media (max-width: 480px) {
  .cta-band { padding: 36px 20px; gap: 24px; }
  .cta-band__actions { justify-items: stretch; }
  .cta-phone { font-size: clamp(1.15rem, 6.4vw, 1.6rem); gap: 10px; }
  .cta-phone .ico { width: 42px; height: 42px; padding: 11px; flex: none; }
  .cta-band .btn-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .cta-band .btn-row .btn { width: 100%; justify-content: center; }
}
@media (max-width: 340px) {
  .wrap { padding: 0 12px; }
  .btn { white-space: normal; }
  .cta-band { padding: 30px 16px; }
  .cta-phone .ico { width: 36px; height: 36px; padding: 9px; }
  .tour-panel { padding-left: 14px; padding-right: 14px; }
  .tour-panel .eb__left, .tour-panel .eb__save { white-space: normal; }
}
/* Grids may shrink below their longest word on tiny screens */
.pillars, .intro--solo .pillars, .fab__menu { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 861px) { .intro--solo .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar > *, .fab__item > * { min-width: 0; }
.fab__item { overflow-wrap: anywhere; }
@media (max-width: 300px) {
  :lang(hy) h1 { font-size: 1.8rem; }
  :lang(hy) h2 { font-size: 1.5rem; }
  h1, h2, h3, li, .split-words .w { overflow-wrap: anywhere; }
}

/* Travel calendar: "Secret Tour" filter chip */
.chip--mystery { border-color: var(--gold); color: var(--ink); }
.chip--mystery span { color: var(--gold); }
.chip--mystery:hover { border-color: var(--gold); background: rgba(220, 161, 59, .12); }
.chip--mystery.is-active { background: linear-gradient(120deg, #1d2f3d, #13212b 60%, #241d36); border-color: var(--gold); color: var(--gold); box-shadow: 0 8px 22px -10px rgba(220, 161, 59, .7); }

/* iPhone Safari draws blurred photos past rounded corners: clip each blurred photo's box to its own rounded shape */
.pgallery__item--mystery, .sr-row__media, .trip-hero--mystery .trip-hero__photo,
.tcard--mystery .tcard__media, .dcard--mystery .dcard__media {
  isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black);
}
.tcard--mystery .tcard__media, .dcard--mystery .dcard__media { border-radius: var(--radius) var(--radius) 0 0; }
.tcard--mystery, .dcard--mystery, .myst-teaser { isolation: isolate; }

/* Phones and tablets: smooth scrolling on the home slideshow and page banners */
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 252, 247, .98); }
  .hero__slide { transform: none; transition: opacity 1.4s ease; }
  .hero__slide.is-active { transform: none; }
  .hero__slides, .page-hero__bg { will-change: auto; }
  .page-hero__bg { animation: none; }
}
