/* Every inner page in the direction A look (6 Oct 2026, Mohamed: "yes do all of them").
   Loaded after home-a.css and blog-a.css; reuses their tokens and parts (.wrap, .eyebrow, .sun-dot, .sec-head, .sec-p,
   .btn, .link-btn, .field, .ctl, .seg, .faq, .trip, .cta, .p-hero, .crumbs, .prose, .p-grid, .p-card, .b-cats). */

/* ---------- page hero additions ---------- */
.p-hero .eyebrow { color: #fff; }
.p-hero .hero-p { margin-top: 16px; font-size: 19px; line-height: 1.5; color: #E3EAF3; max-width: 34em; }
.p-hero .hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.p-hero .b-cats { margin-top: 26px; }
.p-hero-plain { background: var(--navy); }
.p-hero-plain .p-hero-in { padding-block: 72px 56px; }
.p-hero-short { min-height: clamp(360px, 48vh, 500px); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: 15.5px; font-weight: 600; color: #DCE5F0; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ico { color: #FFB45C; }

/* ---------- sections ---------- */
.pg-sec { padding: 80px 0; }
.pg-sec.pg-tight { padding: 56px 0; }
.pg-alt { background: var(--mist); }
.pg-navy { background: var(--navy); color: #fff; }
.pg-navy .sec-head h2 { color: #fff; }
.pg-navy .sec-p { color: var(--light); }
.pg-navy :focus-visible { outline-color: #FFB45C; }
.pg-h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; color: var(--navy); }
.pg-h3 { font-size: 21px; line-height: 1.3; font-weight: 800; color: var(--navy); }
.pg-sub { margin-top: 10px; font-size: 17px; color: var(--text-2); max-width: 42em; }

/* ---------- cards ---------- */
.pg-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pg-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--card-r); transition: box-shadow .2s ease; }
.pg-card h3 { font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.pg-card h3 a { color: inherit; text-decoration: none; }
.pg-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--card-r); }
.pg-card p { color: var(--text-2); font-size: 15.5px; }
.pg-card .pg-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pg-card .pg-price { font-weight: 800; color: var(--navy); font-size: 16px; }
.pg-card .pg-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; color: var(--blue); }
.pg-card:has(h3 a):hover { box-shadow: 0 22px 44px -26px rgba(2,31,69,.4); }
.pg-card:has(h3 a):hover .pg-go { text-decoration: underline; text-underline-offset: 4px; }
.pg-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.pg-card h3 a:focus-visible { outline: none; }
.pg-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--blue); flex: none; }
.pg-ico .ico { width: 24px; height: 24px; }
.pg-ico.sun { background: var(--sand); color: #B45309; }
.pg-alt .pg-card { border-color: #E2E9F2; }
.pg-navy .pg-card { background: var(--navy-2); border-color: rgba(255,255,255,.14); color: #fff; }
.pg-navy .pg-card h3 { color: #fff; }
.pg-navy .pg-card p { color: var(--light); }
.pg-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: #8A4B00; font-size: 12.5px; font-weight: 800; }
.pg-tag.blue { background: var(--mist); color: var(--blue); }
.pg-media { border-radius: 18px; overflow: hidden; background: var(--mist); }
.pg-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ---------- lists ---------- */
.pg-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.pg-ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 24px; }
.pg-ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.pg-ticks li > .ico { color: var(--teal); margin-top: 2px; }
.pg-ticks.no li > .ico { color: var(--muted); }
.pg-navy .pg-ticks li { color: #E3EAF3; }
.pg-facts { margin: 0; border-top: 1px solid var(--line); }
.pg-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pg-facts dt { color: var(--muted); font-weight: 600; font-size: 15px; }
.pg-facts dd { margin: 0; font-weight: 700; color: var(--navy); text-align: end; }

/* ---------- notes ---------- */
.pg-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--sand); border: 1px solid #F3D6B0; color: var(--text); font-size: 15.5px; }
.pg-note > .ico { color: #B45309; margin-top: 2px; }
.pg-note b { display: block; color: var(--navy); margin-bottom: 2px; }
.pg-note.ok { background: #E9F7EF; border-color: #BFE6CF; }
.pg-note.ok > .ico { color: #0B6B3A; }
.pg-note.err { background: #FDECEA; border-color: #F5C2BC; }
.pg-note.err > .ico { color: var(--danger); }
.pg-note.info { background: var(--mist); border-color: var(--line); }
.pg-note.info > .ico { color: var(--blue); }
.pg-note ul { margin: 6px 0 0; padding-inline-start: 18px; }

/* ---------- side card (price, request) ---------- */
.pg-side { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 16px; }
.pg-buy { display: grid; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 26px 54px -32px rgba(2,31,69,.42); }
.pg-buy .from { font-size: 14px; font-weight: 700; color: var(--muted); }
.pg-buy .amt { font-size: 38px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.pg-buy .amt small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-inline-start: 4px; }
.pg-buy .amt-2 { font-size: 15px; color: var(--text-2); font-weight: 600; }
.pg-buy .btn { width: 100%; }
.pg-buy .pg-small { font-size: 13.5px; color: var(--muted); text-align: center; }

/* ---------- forms ---------- */
.pg-form { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 26px 54px -32px rgba(2,31,69,.42); }
.pg-form > h2 { font-size: 24px; line-height: 1.2; font-weight: 800; color: var(--navy); }
.pg-form > h2 + p { margin-top: 6px; color: var(--text-2); }
.pg-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.pg-fgrid .full { grid-column: 1 / -1; }
.pg-fgrid + .btn, .pg-fgrid + .pg-acts { margin-top: 22px; }
.pg-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.pg-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.pg-acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pg-form-foot { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.ctl[type=date], .ctl[type=time], .ctl[type=datetime-local] { min-height: 48px; }
input[type=file].ctl { height: auto; padding: 10px 12px; }

/* ---------- steps ---------- */
.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: pgstep; }
.pg-steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-steps > li { counter-increment: pgstep; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--card-r); }
.pg-steps > li::before { content: counter(pgstep); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 17px; }
.pg-steps h3 { font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.pg-steps p { color: var(--text-2); font-size: 15.5px; }
.pg-navy .pg-steps > li { background: var(--navy-2); border-color: rgba(255,255,255,.14); }
.pg-navy .pg-steps > li::before { background: var(--sun); color: var(--navy); }
.pg-navy .pg-steps h3 { color: #fff; }
.pg-navy .pg-steps p { color: var(--light); }

/* ---------- split: words beside a photo ---------- */
.pg-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.pg-split.rev > :first-child { order: 2; }

/* ---------- tables ---------- */
.pg-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pg-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.pg-table th { padding: 12px 16px; background: var(--navy); color: #fff; text-align: start; font-size: 13.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
:lang(ar) .pg-table th { text-transform: none; letter-spacing: 0; font-size: 14.5px; }
.pg-table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.pg-table tbody tr:nth-child(even) td { background: #F8FAFC; }
.pg-table td b, .pg-table td strong { color: var(--navy); }

/* ---------- FAQ (uses .faq from the homepage) ---------- */
.pg-faq { display: grid; gap: 10px; max-width: 860px; }
.pg-faq .faq { margin: 0; }
.pg-faq .faq summary .chev { flex: none; color: var(--blue); }
.faq .faq-a { padding: 0 18px 18px; color: var(--text-2); }
.faq .faq-a > * + * { margin-top: 10px; }
.faq .faq-a p, .faq .faq-a ul { padding: 0; }
.faq .faq-a ul { margin: 0; padding-inline-start: 20px; }
.faq .faq-a a { color: var(--blue); font-weight: 600; }

/* ---------- chips on light backgrounds, paging ---------- */
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--btn-r); background: #fff; color: var(--navy); font-size: 15px; font-weight: 700; text-decoration: none; }
.pg-chip:hover { border-color: var(--navy); }
.pg-chip[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- centred result card (thank-you and confirmation pages) ---------- */
.pg-done { max-width: 720px; margin-inline: auto; padding: 36px 32px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -34px rgba(2,31,69,.45); }
.pg-done .done-ico { width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #E9F7EF; color: #0B6B3A; }
.pg-done .done-ico .ico { width: 36px; height: 36px; }
.pg-done h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.pg-done > p { margin-top: 10px; color: var(--text-2); }
.pg-done .pg-facts { margin-top: 22px; text-align: start; }
.pg-done .pg-acts { justify-content: center; margin-top: 24px; }
.pg-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; color: var(--navy); letter-spacing: .02em; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .pg-cards, .pg-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-steps, .pg-steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-split { grid-template-columns: 1fr; gap: 32px; }
  .pg-split.rev > :first-child { order: 0; }
  .pg-side { position: static; }
}
@media (max-width: 699px) {
  .pg-sec { padding: 56px 0; }
  .pg-sec.pg-tight { padding: 40px 0; }
  .pg-cards, .pg-cards.two, .pg-cards.four { grid-template-columns: 1fr; gap: 12px; }
  .pg-card { padding: 20px; }
  .pg-ticks.two { grid-template-columns: 1fr; }
  .pg-steps, .pg-steps.four { grid-template-columns: 1fr; gap: 12px; }
  .pg-steps > li { padding: 20px; }
  .pg-form { padding: 20px 16px; border-radius: 16px; }
  .pg-fgrid { grid-template-columns: 1fr; gap: 14px; }
  .pg-buy { padding: 20px; }
  .pg-buy .amt { font-size: 32px; }
  .pg-table th, .pg-table td { padding: 10px 12px; }
  .pg-done { padding: 28px 18px; }
  .p-hero .hero-p { font-size: 17px; }
  .p-hero-plain .p-hero-in { padding-block: 40px 36px; }
  .p-hero .hero-acts .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .pg-card { transition: none; } }

/* ---------- full tour lists (the homepage row scrolls sideways on phones; full lists stack) ---------- */
.trip-grid-all { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trip-desc { font-size: 15px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trip-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.trip-grid-all .trip .btn { position: relative; z-index: 2; }
.trip-grid-all .trip:hover { box-shadow: 0 22px 44px -26px rgba(2,31,69,.4); }
.trip-media .b-card-ph { height: 100%; }
@media (max-width: 1023px) { .trip-grid-all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .trip-grid-all { display: grid; grid-template-columns: 1fr; overflow: visible; margin-inline: 0; padding-inline: 0; gap: 16px; }
  .trip-grid-all .trip { flex: none; }
}

/* ---------- spacing helpers (kept last so they win over the components above) ---------- */
.pg-stack > * + * { margin-top: 16px; }
.pg-block { margin-top: 40px; }
.pg-block > h2 + *, .pg-block > h3 + * { margin-top: 14px; }
.pg-card > h2 + ul, .pg-card > h3 + ul { margin-top: 4px; }
/* phones: on a tour or service page the price and the next step come straight after the title */
@media (max-width: 1023px) { .p-grid.buy-first > .pg-side { order: -1; } }
/* a note that sits over the lower edge of the hero */
.pg-overlap { position: relative; margin-top: -64px; }
.pg-overlap .pg-note { box-shadow: 0 22px 44px -26px rgba(2,31,69,.45); }
@media (max-width: 699px) { .pg-overlap { margin-top: -40px; } }

/* ---------- shared fixes found while converting every page (6 Oct 2026) ---------- */
.h1-2 { color: #7FE3DE; }
.b-hero .hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
/* a long eyebrow wraps beside its dot instead of leaving the dot alone on a line */
.p-hero .eyebrow, .b-hero .eyebrow { flex-wrap: nowrap; align-items: flex-start; }
.p-hero .eyebrow .sun-dot, .b-hero .eyebrow .sun-dot { margin-top: .42em; }
/* phones: long Russian or German button labels wrap inside the button */
@media (max-width: 699px) {
  main .btn { white-space: normal; height: auto; min-height: 48px; padding-block: 11px; text-align: center; line-height: 1.25; }
  .b-hero .hero-acts .btn { flex: 1 1 100%; }
}

