/* ==========================================================================
   פה ושם — שכבת ליטוש (v6.1)
   נטענת אחרי styles.css. שומרת על השפה הגרפית (פלטת זית/טרקוטה/זהב, פרנק-רוהל,
   המפה המאוירת והפולרואידים) ומורידה עומס: פחות אימוג'ים, צללים וכפתורים,
   כרטיסים נקיים יותר, ותצוגת מובייל מלאה. הפולרואידים מוצגים רק במחשב.
   ========================================================================== */

:root {
  --header-h: 4.25rem;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius-card: 14px;
  --shadow-card: 0 1px 2px rgba(6, 23, 46, .05), 0 6px 18px -10px rgba(6, 23, 46, .18);
  --shadow-lift: 0 2px 4px rgba(6, 23, 46, .06), 0 16px 30px -14px rgba(6, 23, 46, .28);
  --wa: #1f9e57;
  --wa-hover: #17834a;
}

/* ---------- base ---------- */
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { background-size: 32px 32px; }
.container { padding-left: var(--gutter); padding-right: var(--gutter-r); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold-carto); outline-offset: 2px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -80px; inset-inline-start: 12px; z-index: 999; background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: calc(10px + env(safe-area-inset-top, 0px)); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }

/* ---------- buttons: flat and calm ---------- */
.btn { border-radius: 999px; padding: .7rem 1.35rem; line-height: 1.2; }
.btn-primary { background: var(--primary); box-shadow: none; border: 0; }
.btn-primary:hover { background: var(--primary-light); transform: none; box-shadow: none; }
.btn-accent { background: var(--accent); box-shadow: none; border: 0; }
.btn-accent:hover { background: var(--accent-hover); transform: none; box-shadow: none; }
.btn-outline { background: transparent; border: 1.5px solid #d8cfbf; }
.btn-outline:hover { background: #fff; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; border: 0; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-wa-outline { background: transparent; color: var(--wa); border: 1.5px solid currentColor; margin-top: .6rem; }
.btn-wa-outline:hover { background: rgba(31, 158, 87, .08); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- section headings: one gold rule instead of the emoji ornament ---------- */
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.5rem); text-wrap: balance; }
.section-title::after {
  content: ''; display: block; width: 72px; height: 8px; margin: .55rem auto 0; opacity: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 8'%3E%3Cpath d='M1 5 Q 10 1 19 4 T 37 4 T 55 3 T 71 4' fill='none' stroke='%234796c8' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
}
.section-subtitle { font-size: 1.05rem; margin-bottom: 2.25rem; text-wrap: pretty; }
.map-section, .tours-section, .articles-section, .recommended-section, .reviews-section { padding-top: clamp(3.25rem, 7vw, 5rem); padding-bottom: clamp(3.25rem, 7vw, 5rem); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header { top: 0; padding-top: env(safe-area-inset-top, 0px); box-shadow: none; border-bottom: 1px solid var(--border); background: rgba(253, 252, 248, .92); }
.navbar { height: var(--header-h); gap: 1rem; }
.brand { gap: .6rem; min-width: 0; flex-shrink: 1; }
.brand-mark { width: 38px; height: 38px; color: var(--primary); flex-shrink: 0; transform: rotate(-8deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
#brandTitleText { font-family: var(--font-serif); font-weight: 800; font-size: 1.45rem; color: var(--primary); white-space: nowrap; }
.brand .brand-badge { background: none; border: 0; box-shadow: none; padding: 0; color: var(--text-muted); font-weight: 600; font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30ch; }
.nav-links { gap: .25rem; margin-inline-start: auto; }
.nav-link { display: block; padding: .5rem .8rem; border-radius: 999px; font-size: .97rem; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background: #eaf1f8; color: var(--primary); }
.nav-actions { gap: .45rem; flex-shrink: 0; }
.icon-btn { width: 2.5rem; height: 2.5rem; background: transparent; }
.icon-btn svg { width: 20px; height: 20px; }
.lang-btn { height: 2.5rem; padding: 0 .85rem; border-radius: 999px; border: 1px solid var(--border); background: transparent; font-weight: 700; font-size: .9rem; color: var(--primary); }
.lang-btn:hover { background: #fff; }
.nav-cta { padding: .6rem 1.15rem; font-size: .95rem; }
.menu-btn { display: none; }
.nav-menu-cta { display: none; }

@media (max-width: 1180px) {
  .brand .brand-badge { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 3.75rem; }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; inset-inline: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-main); border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px -18px rgba(6, 23, 46, .35);
    padding-block: .5rem 1rem; padding-left: var(--gutter); padding-right: var(--gutter-r);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: .85rem .75rem; font-size: 1.1rem; border-radius: 10px; }
  .nav-menu-cta { display: block; padding-top: .5rem; }
  .nav-menu-cta .btn { width: 100%; padding: .9rem; font-size: 1.05rem; }
  .brand-mark { width: 32px; height: 32px; }
  #brandTitleText { font-size: 1.3rem; }
}
@media (max-width: 380px) {
  .lang-btn { padding: 0 .6rem; font-size: .82rem; }
  .nav-actions { gap: .3rem; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero-content { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); }
.hero-content > div:first-child { min-width: 0; }
.hero-badges { gap: .5rem; margin-bottom: 1.25rem !important; }
.hero-badges .badge-item { font-size: .82rem; padding: .35rem .8rem; box-shadow: none; background: rgba(255, 255, 255, .7); font-weight: 600; color: var(--text-muted); }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); text-wrap: balance; margin-bottom: 1rem; }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.2rem); margin-bottom: 1.75rem; }
.hero-cta { gap: .75rem; }
.hero-cta .btn { padding: .85rem 1.6rem; font-size: 1.02rem; }
.hero-card { padding: 12px 12px 18px; border-radius: 6px; box-shadow: var(--shadow-lift); transform: rotate(1.5deg); max-width: 400px; background: #fff; }
html[dir="ltr"] .hero-card { transform: rotate(-1.5deg); }
.hero-card .guide-slideshow-wrap { border-radius: 3px; overflow: hidden; }
.hero-card-name { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 800; color: var(--primary); margin: .85rem 0 .2rem; padding-inline: 4px; }
.hero-card-quote { font-size: .92rem; color: var(--text-muted); line-height: 1.5; padding-inline: 4px; }
.floating-pill { font-size: .8rem; padding: .35rem .8rem; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); z-index: 15; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 3px rgba(34, 163, 90, .2); }
.slideshow-arrow { width: 2.1rem; height: 2.1rem; font-size: .85rem; }

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: start; }
  .hero-text { margin-inline: 0; }
  .hero-badges, .hero-cta { justify-content: flex-start; }
  .hero-visual { justify-content: flex-start; }
  .hero-card { max-width: 520px; transform: none; }
  html[dir="ltr"] .hero-card { transform: none; }
}
@media (max-width: 640px) {
  .hero-badges .badge-item:nth-child(n+3) { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-card { max-width: none; padding: 8px 8px 14px; }
  .hero-card-quote { font-size: .88rem; }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-section { padding: clamp(3rem, 7vw, 4.5rem) 0; background: linear-gradient(180deg, var(--bg-main) 0%, #f4ede2 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-container { background: #fff; position: relative; z-index: 26; border-radius: 18px; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.about-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 1.5rem; flex-wrap: wrap; padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.about-badge { color: var(--primary); background: #f0f7f1; border-color: #cfe3d3; box-shadow: none; margin-bottom: .5rem; font-size: .82rem; }
.about-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; color: var(--primary); line-height: 1.1; }
.about-bio { font-size: 1.08rem; line-height: 1.85; max-width: 72ch; margin-bottom: 2rem; }
.about-bio p + p { margin-top: 1rem; }
.about-grid { gap: 1rem; }
.about-card { box-shadow: none; border: 1px solid var(--border-delicate); background: #fdfbf6; padding: 1.25rem; border-radius: 12px; text-align: start; }
.about-card:hover { transform: none; box-shadow: none; }
.about-card-icon { font-size: 1.5rem; margin-bottom: .4rem; }
.about-card-title { font-size: 1.05rem; }
.about-card-desc { font-size: .93rem; }

/* ==========================================================================
   MAP: same illustration, sensible height
   ========================================================================== */
.map-outer-scroll { width: 100%; max-width: 540px; border-radius: 18px; box-shadow: var(--shadow-lift); }
.map-interactive-canvas { min-height: 0 !important; }
.map-controls-bar { margin-bottom: 1.25rem; }
.accessible-regions-grid { margin-top: 1.5rem; }
@media (max-width: 640px) {
  .map-outer-scroll { border-radius: 12px; }
  .compass-rose { transform: scale(.6); transform-origin: top left; top: .75rem !important; left: .75rem !important; }
  html[dir="ltr"] .compass-rose { transform-origin: top right; left: auto !important; right: .75rem !important; }
  .map-geo-labels-layer { display: none; }
}

/* ==========================================================================
   TOURS
   ========================================================================== */
.tours-section { background: #f5f2ea; }
.tours-filter {
  justify-content: center; gap: .5rem; margin-bottom: 2rem;
}
.filter-btn { padding: .45rem 1rem; font-size: .92rem; white-space: nowrap; }
@media (max-width: 760px) {
  .tours-filter {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: .25rem;
    scroll-snap-type: x proximity;
  }
  .tours-filter::-webkit-scrollbar { display: none; }
  .filter-btn { scroll-snap-align: start; flex-shrink: 0; }
}
.tours-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.tour-card, .past-tour-card { border-radius: var(--radius-card); box-shadow: var(--shadow-card); border: 1px solid var(--border-delicate); background: #fff; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.tour-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tour-img-wrap { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; height: auto !important; padding: 0; border: 0; overflow: hidden; background: #e9e2d3; cursor: pointer; }
.past-tour-card .tour-img-wrap { cursor: default; }
.tour-img-wrap .tour-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tour-card:hover .tour-img { transform: scale(1.03); }
.tour-region-pill { position: absolute; bottom: .65rem; inset-inline-start: .65rem; background: rgba(253, 252, 248, .94); color: var(--primary); padding: .2rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 700; z-index: 2; }
.tour-media-count { position: absolute; top: .65rem; inset-inline-end: .65rem; background: rgba(4, 15, 31, .7); color: #fff; font-size: .75rem; font-weight: 700; padding: .15rem .55rem .15rem .45rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .3rem; }
.tour-media-count::before { content: ''; width: 12px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: 2px -2px 0 -.5px rgba(4, 15, 31, .7), 2px -2px 0 1px currentColor; }
.tour-body { padding: 1.1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.tour-title { font-size: 1.22rem; line-height: 1.3; margin: 0; text-wrap: balance; }
.tour-meta { font-size: .88rem; color: var(--text-muted); font-weight: 600; margin: 0; font-variant-numeric: tabular-nums; }
.tour-desc { font-size: .95rem; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tour-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: .15rem 0 0; padding: 0; }
.tour-tag { font-size: .76rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: #f1ede3; color: var(--text-muted); }
.tour-tag-taste { background: #fbefe2; color: #9a4a22; }
.tour-footer { margin-top: auto; padding-top: .75rem; border-top: 0 !important; display: block; }
.tour-footer .btn { width: 100%; padding: .7rem 1rem; }

.tours-arsenal-callout {
  margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  background: var(--primary); color: #f3efe4; border-radius: var(--radius-card); padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  text-align: start; border: 0; box-shadow: none;
}
.tours-arsenal-callout h3 { font-family: var(--font-serif); font-size: 1.35rem; color: #fff; margin-bottom: .25rem; }
.tours-arsenal-callout p { color: #d9e2da; max-width: 60ch; font-size: .98rem; }
.tours-arsenal-callout .btn-primary { background: #fdfcf8; color: var(--primary); }
.tours-arsenal-callout .btn-primary:hover { background: #fff; }
.tours-empty { grid-column: 1 / -1; text-align: center; padding: 2.25rem 1rem; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius-card); color: var(--text-muted); display: grid; gap: .35rem; justify-items: center; }
.tours-empty .btn { margin-top: .5rem; }

/* past tours: quieter */
.past-tours-wrapper { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: clamp(2rem, 5vw, 3rem); border-top: 1px dashed #d8cfbf; }
.past-tours-head { margin-bottom: 1.5rem; }
.past-badge { color: #8a5a12; background: #fbf1dc; border-color: #f0dcb3; box-shadow: none; font-size: .8rem; margin-bottom: .4rem; }
.past-tours-title { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 1.85rem); font-weight: 800; color: var(--primary); }
.past-tours-sub { color: var(--text-muted); margin-top: .25rem; max-width: 65ch; }
.past-tour-card { opacity: .97; }
.past-tour-card .tour-img { filter: saturate(.8); }
.past-tour-seal, .past-dates-badge, .tour-spec-chips, .tour-region-badge, .tour-media-card-badge { display: none !important; }
.past-tour-btn { width: 100%; border-radius: 999px; padding: .65rem 1rem; }

/* ==========================================================================
   ARTICLES / RECOMMENDED / REVIEWS
   ========================================================================== */
.articles-grid, .reviews-grid { gap: 1.25rem; }
.article-card, .review-card, .rec-site-card { box-shadow: var(--shadow-card); border-radius: var(--radius-card); border: 1px solid var(--border-delicate); }
.article-card:hover, .rec-site-card:hover { transform: translateY(-2px); }
.recommended-section { background: #f5f2ea; }
.recommended-grid { gap: 1rem; }
.rec-site-card { padding: 1.15rem; }
.review-card { padding: 1.4rem; }
.review-text { font-size: 1rem; }
@media (max-width: 640px) {
  .articles-grid, .reviews-grid, .recommended-grid { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   MODALS & FORMS
   ========================================================================== */
.modal-overlay { padding: 1rem; z-index: 200; }
.modal-card { border-radius: 16px; padding: clamp(1.25rem, 4vw, 2rem); max-height: calc(100dvh - 2rem); overscroll-behavior: contain; }
.modal-close-btn, .modal-close { position: absolute; top: .9rem; left: .9rem; right: auto; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #f1ede3; color: var(--text-muted); font-size: 1rem; display: grid; place-items: center; border: 0; cursor: pointer; z-index: 3; }
html[dir="ltr"] .modal-close-btn, html[dir="ltr"] .modal-close { right: .9rem; left: auto; }
.modal-close-btn:hover, .modal-close:hover { background: #e6dfd0; color: var(--text-main); }
.inquiry-card { max-width: 640px; }
.inquiry-head { margin-bottom: 1rem; padding-inline-end: 2.5rem; }
.inquiry-badge { color: var(--primary); background: #f0f7f1; border-color: #cfe3d3; box-shadow: none; font-size: .8rem; margin-bottom: .4rem; }
#modalSelectedTourTitle { font-family: var(--font-serif); font-size: clamp(1.35rem, 3.5vw, 1.65rem); font-weight: 800; color: var(--primary); line-height: 1.25; margin-bottom: .35rem; }
#modalSelectedTourTitle:focus { outline: none; }
#modalSubtitle { font-size: .92rem; color: var(--text-muted); }
.tour-showcase-container { margin-bottom: 1.25rem; border-radius: 10px; overflow: hidden; }
.inquiry-form { display: grid; gap: 1.1rem; }
.inquiry-step { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; min-width: 0; }
.inquiry-step > legend { padding: 0; margin-bottom: .55rem; font-size: 1rem; color: var(--primary); }
.form-label-sm { display: block; font-size: .85rem; font-weight: 700; color: var(--text-muted); margin-bottom: .3rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.form-row-2 > * { min-width: 0; }
@media (max-width: 520px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-input { font-size: 1rem; background: #fdfcf8; border-width: 1px; border-radius: 10px; padding: .75rem .9rem; }
.form-input:focus { box-shadow: 0 0 0 3px rgba(43, 84, 66, .18); }
.form-input[aria-invalid="true"] { border-color: #b8432f; }
.form-hint { font-size: .82rem; color: var(--text-muted); margin: -.35rem 0 .75rem; }
.form-footnote { font-size: .82rem; color: var(--text-muted); text-align: center; margin-top: -.35rem; }
.form-error-msg { background: #fbece8; color: #9b2f1f; border-radius: 10px; padding: .6rem .85rem; font-weight: 600; font-size: .92rem; margin: 0 0 .75rem; }
.date-selector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .5rem; }
.date-selector-grid:empty { display: none; }
.date-card-item { text-align: start; border: 1.5px solid var(--border); border-radius: 10px; padding: .55rem .7rem; background: #fff; display: grid; gap: .1rem; cursor: pointer; font: inherit; color: inherit; }
.date-card-item.selected { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); background: #f0f7f1; }
.date-card-date { font-weight: 800; font-size: .95rem; }
.date-card-sub { font-size: .8rem; color: var(--text-muted); }
.ondemand-custom-date-box { grid-column: 1 / -1; }
.custom-date-wrap { margin-top: .1rem; }
.prominent-info-card { background: #f6f3eb; border: 1px solid var(--border-delicate); border-radius: 12px; padding: .9rem 1rem; box-shadow: none; font-size: .9rem; display: grid; gap: .6rem; margin: 0; }
.prominent-time-row { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; color: var(--text-muted); font-weight: 600; margin: 0; padding: 0; border: 0; background: none; }
.prominent-badge-time { font-weight: 800; color: var(--primary); background: none; padding: 0; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.route-specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .5rem 1rem; margin: 0; }
.route-specs-grid strong { display: block; font-size: .78rem; color: var(--text-muted); font-weight: 700; }
.route-specs-grid div div { font-weight: 700; color: var(--text-main); }
.route-notes-line { font-size: .85rem; color: var(--text-muted); margin: 0; }
.dietary-box { background: #fdf6ea; border: 1px solid #f0dcb3; border-radius: 10px; padding: .8rem .9rem; margin: 0; }
.contact-modal-card { max-width: 520px; }
#contactModalTitle { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 800; color: var(--primary); margin-bottom: .3rem; padding-inline-end: 2.5rem; }
.contact-sub { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.25rem; }
.contact-modal-card .form-group { margin-bottom: .85rem; }
.article-modal-title { font-family: var(--font-serif); font-size: clamp(1.4rem, 4vw, 1.75rem); font-weight: 800; color: var(--primary); line-height: 1.3; margin-bottom: 1rem; padding-inline-end: 2.5rem; }
.article-modal-body { font-size: 1.02rem; line-height: 1.8; }
.article-modal-body h3, .article-modal-body h4 { margin: 1rem 0 .4rem; color: var(--primary); }
.article-modal-body ul { padding-inline-start: 1.2rem; }

/* inquiry confirmation */
.inquiry-done { text-align: center; padding: .5rem .25rem; display: grid; gap: .9rem; justify-items: center; }
.inquiry-done-title { font-family: var(--font-serif); font-size: 1.6rem; color: var(--primary); font-weight: 800; padding-inline: 2rem; }
.inquiry-done-title:focus { outline: none; }
.inquiry-done-text { color: var(--text-muted); max-width: 46ch; line-height: 1.6; }
.inquiry-done-summary { width: 100%; background: #f6f3eb; border-radius: 12px; padding: .85rem 1rem; margin: 0; display: grid; gap: .35rem; text-align: start; }
.inquiry-done-summary div { display: flex; justify-content: space-between; gap: 1rem; font-size: .93rem; }
.inquiry-done-summary dt { color: var(--text-muted); }
.inquiry-done-summary dd { margin: 0; font-weight: 700; text-align: end; }
.inquiry-done-actions { width: 100%; display: grid; gap: .6rem; }

@media (max-width: 640px) {
  /* modals become bottom sheets on phones */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-card { border-radius: 18px 18px 0 0; max-height: calc(100dvh - 2.5rem); padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
}

/* ==========================================================================
   ACCESSIBILITY DRAWER & FLOATING WHATSAPP
   ========================================================================== */
.accessibility-drawer { top: calc(var(--header-h) + 8px + env(safe-area-inset-top, 0px)); left: auto; inset-inline-end: max(12px, env(safe-area-inset-right, 0px)); width: min(300px, calc(100vw - 24px)); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lift); z-index: 160; }
html[dir="rtl"] .accessibility-drawer { left: max(12px, env(safe-area-inset-left, 0px)); right: auto; }
html[dir="ltr"] .accessibility-drawer { right: max(12px, env(safe-area-inset-right, 0px)); left: auto; }
.accessibility-drawer > div:first-child { display: flex; justify-content: space-between; align-items: center; margin-bottom: .85rem; }
.a11y-title { font-size: 1rem; color: var(--primary); }
.a11y-close { width: 2rem; height: 2rem; border-radius: 50%; background: #f1ede3; color: var(--text-muted); }
.a11y-action-btn { min-height: 2.6rem; background: #fdfcf8; }

.floating-whatsapp {
  width: 3.25rem; height: 3.25rem; background: var(--wa); box-shadow: 0 6px 18px -6px rgba(31, 158, 87, .7);
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); left: max(1.25rem, env(safe-area-inset-left, 0px)); right: auto; z-index: 90;
}
html[dir="ltr"] .floating-whatsapp { right: max(1.25rem, env(safe-area-inset-right, 0px)); left: auto; }
.floating-whatsapp svg { width: 28px; height: 28px; }
.floating-whatsapp:hover { transform: none; background: var(--wa-hover); }
.share-fab { display: none !important; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-brand { font-family: var(--font-serif); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; font-size: .9rem; color: #b6c2bb; }
.footer-contact a { color: #e9efe9; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(233, 239, 233, .35); }
.footer-note { font-size: .88rem; color: #b6c2bb; line-height: 1.6; margin-bottom: .9rem; }
.footer-cta { background: var(--accent); color: #fff; padding: .6rem 1.15rem; margin-bottom: .9rem; display: inline-flex; }
.footer-cta:hover { background: var(--accent-hover); }
.footer .link-btn { color: #b6c2bb; font-size: .88rem; display: block; }
.footer-bottom .link-btn { display: inline; }
@media (max-width: 640px) {
  .footer-grid { gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 4.5rem; }
}

/* ==========================================================================
   POLAROIDS: desktop only (≥1024px). Hidden on tablets and phones.
   ========================================================================== */
@media (max-width: 1023.98px) {
  body .polaroid-ambient-layer, body #polaroidAmbientLayer { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  body #polaroidAmbientLayer { display: none !important; }
  .tour-card, .tour-img, .btn { transition: none !important; }
}

/* the old bottom-sheet for map taps must never peek on desktop */
@media (min-width: 769px) { .bottom-sheet { display: none; } }
.bottom-sheet { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); visibility: hidden; }
.bottom-sheet.open { visibility: visible; }

/* high-contrast mode keeps working with the new pieces */
body.high-contrast .tour-card, body.high-contrast .past-tour-card, body.high-contrast .about-container, body.high-contrast .modal-card { background: var(--bg-card); color: var(--text-main); }
body.high-contrast .tours-arsenal-callout { background: #000; border: 2px solid var(--border); }

/* ==========================================================================
   PHONE LAYOUT: shorter page, swipeable rows for secondary content
   ========================================================================== */
@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr 1fr !important; gap: .6rem; }
  .about-card { padding: .9rem; }
  .about-card-icon { font-size: 1.25rem; }
  .about-card-title { font-size: .95rem; }
  .about-card-desc { font-size: .85rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .about-bio { font-size: 1rem; line-height: 1.75; }

  .tour-img-wrap { aspect-ratio: 16 / 9; }
  .tour-desc { -webkit-line-clamp: 2; }
  .tours-grid { gap: 1rem; }

  /* articles, recommended places and reviews: swipe sideways instead of a long stack */
  .articles-grid, .recommended-grid, .reviews-grid {
    display: grid !important; grid-auto-flow: column; grid-template-columns: none !important;
    grid-auto-columns: 84%; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: .5rem;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .articles-grid::-webkit-scrollbar, .recommended-grid::-webkit-scrollbar, .reviews-grid::-webkit-scrollbar { display: none; }
  .articles-grid > *, .recommended-grid > *, .reviews-grid > * { scroll-snap-align: center; min-width: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .section-subtitle { margin-bottom: 1.5rem; }
}
.btn-sm { padding: .4rem .85rem; font-size: .85rem; }

/* tour gallery inside the inquiry window: compact */
.showcase-viewer { aspect-ratio: 16 / 9; height: auto !important; max-height: 320px; }
@media (max-width: 640px) {
  .showcase-viewer { max-height: 200px; }
  .showcase-filmstrip { display: none; }
}
.map-geo-labels-layer, html[lang="en"] .map-geo-labels-layer { display: none !important; }

/* map points without scheduled tours: quieter, no pulse */
.map-hotspot-pin.pin-empty .pin-radar-dot,
.map-hotspot-pin.pin-empty .pin-beacon-outer { animation: none !important; opacity: .55; filter: grayscale(.6); }
.map-hotspot-pin.pin-empty .pin-label-pill { opacity: .78; }
.map-hotspot-pin.pin-empty:hover .pin-label-pill, .map-hotspot-pin.pin-empty:focus-visible .pin-label-pill { opacity: 1; }
.region-card.region-empty .pin-tour-badge { background: #f1ede3; color: var(--text-muted); }

/* v7.0: date range in the tour inquiry */
.date-range-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.date-range-row label { display: flex; flex-direction: column; gap: .25rem; font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.ondemand-custom-date-box .form-label-sm, .custom-date-wrap .form-label-sm { margin: .2rem 0 .4rem; }
