/* Keep the email visible alongside the phone and social links on small screens. */
@media (max-width: 1100px) {
  .top-bar__left a:nth-child(3) { display: inline-flex; }
}
@media (max-width: 768px) {
  :root { --top-bar-h: 32px; }
  /* Everything must fit in one row: no hidden horizontal scroll pushing the social icons off-screen. */
  .top-bar__inner { display: flex; flex-wrap: nowrap; gap: 8px; overflow: hidden; padding-inline: 16px; }
  .top-bar__left { display: flex; flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; gap: 6px; }
  .top-bar__left .top-bar__divider { display: inline; margin-inline: 2px; }
  .top-bar__right { flex: 0 0 auto; }
  .top-bar__link { flex-shrink: 0; white-space: nowrap; letter-spacing: .01em; }
  .top-bar__link span { font-size: .7rem; }
}
@media (max-width: 640px) {
  /* Email becomes an icon-only link; the address stays available to screen readers. */
  .top-bar__left a[href^="mailto:"] { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; }
  .top-bar__left a[href^="mailto:"] i { font-size: .72rem; }
  .top-bar__left a[href^="mailto:"] span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (max-width: 360px) {
  .top-bar__inner { padding-inline: 12px; gap: 4px; }
  .top-bar__link span { font-size: .66rem; }
  .top-bar__social { width: 24px; height: 24px; }
}

.section-heading, .upcoming__header.section-heading {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: start; gap: 20px; margin-bottom: 24px;
}
.section-heading > :first-child { min-width: 0; }
.section-heading__action, .section-heading > .section-action {
  grid-column: 2; grid-row: 1; justify-self: end; align-self: start;
  margin: 0; padding: 0; width: max-content;
}
.section-heading > .section-header { text-align: left; margin: 0; max-width: 760px; }
.section-heading .section-header__subtitle { margin-bottom: 0; }
.section-heading .tours__view-all-wrap, .section-heading .stays__view-all-wrap,
.section-heading .blog__view-all-wrap { margin: 0; padding: 0; flex-shrink: 0; }
.section-heading .section-action, .upcoming__view-all {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  padding: 8px 0; background: transparent; color: var(--ecla-emerald);
  border: 0; border-bottom: 1px solid var(--ecla-border); border-radius: 0;
  font: 600 .72rem var(--ecla-body); letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; box-shadow: none;
}
.section-heading .section-action:hover, .upcoming__view-all:hover { color: var(--ecla-terracotta); border-bottom-color: currentColor; background: transparent; transform: none; }
.section-action i, .upcoming__view-all i { font-size: .75rem; }
.upcoming__card-footer { flex-direction: row; align-items: flex-end; gap: 12px; }
.upcoming__actions { width: auto; margin-left: auto; flex-shrink: 0; }
.upcoming__actions .tour-card__btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 6px 0; border: 0; border-radius: 0; box-shadow: none;
  background: transparent; color: var(--ecla-terracotta); font-size: .72rem;
}
.upcoming__actions .tour-card__btn:hover { color: var(--ecla-emerald); background: transparent; }
.flight-disclosure--image > .flight-disclosure__toggle {
  padding: 10px 20px 10px 10px; gap: 24px;
  background: var(--ecla-paper); border: 1px solid var(--ecla-border); border-radius: var(--ecla-radius);
}
.flight-disclosure__image {
  display: block; flex: 0 0 190px; width: 190px; height: 104px;
  object-fit: cover; object-position: 38% 50%; border-radius: var(--ecla-radius);
  filter: saturate(.45) brightness(.88);
}
.flight-disclosure--image .flight-disclosure__title { font-size: 1.7rem; }
.flight-disclosure--image .flight-disclosure__description { margin-top: 4px; }
.flight-disclosure--image > .flight-disclosure__toggle:hover { border-color: #91a190; }
.pagination, .sp-pagination, .gallery-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.pagination__btn, .sp-pg__btn, .gallery-pagination__btn {
  min-width: 44px; min-height: 44px; padding: 10px 12px; border-radius: var(--ecla-radius);
  border: 1px solid var(--ecla-border); background: var(--ecla-paper); color: var(--ecla-emerald);
  font: 500 .82rem var(--ecla-body); cursor: pointer;
}
.pagination__btn.active, .sp-pg__btn--active, .gallery-pagination__btn--active { background: var(--ecla-emerald); border-color: var(--ecla-emerald); color: var(--ecla-on-dark); }
.pagination__btn:disabled, .sp-pg__btn:disabled, .gallery-pagination__btn:disabled { opacity: .4; cursor: default; }
.pagination__summary { flex-basis: 100%; text-align: center; font-size: .75rem; color: var(--ecla-muted); margin-top: 8px; }
@media (max-width: 768px) {
  .flight-disclosure--image > .flight-disclosure__toggle { padding: 8px 12px 8px 8px; gap: 12px; }
  .flight-disclosure__image { flex-basis: 88px; width: 88px; height: 80px; }
  .flight-disclosure--image .flight-disclosure__title { font-size: 1.2rem; }
  .flight-disclosure--image .flight-disclosure__description { font-size: .7rem; line-height: 1.5; }
  .section-heading, .upcoming__header.section-heading { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin-bottom: 16px; }
  .section-heading > .section-header { max-width: none; }
  .section-heading .section-action, .upcoming__view-all { font-size: .65rem; gap: 8px; }
  .section-heading .section-header__title { font-size: clamp(1.6rem, 6vw, 2rem); }
}

/* Tight section rhythm across public pages. Card and form padding stays usable. */
:root { --section-space: 32px; --section-heading-space: 22px; }
.upcoming, .destinations, .tours, .stays, .blog, .blog-all,
.services, .about, .contact, .stats, .about-intro, .about-stats,
.about-gallery, .about-cta, .flight-intro, .flight-page-content,
.tours-grid-section, .stays-grid-section, .dest-page-grid-section,
.flight-intro.flight-intro--compact {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}
.section-header, .stays__header, .about-gallery .section-header,
.section-heading, .upcoming__header.section-heading { margin-bottom: var(--section-heading-space); }
.section-heading > .section-header { margin-bottom: 0; }
.section-header__tag { margin-bottom: 4px; }
.section-header__title { margin-bottom: 6px; }
.section-header__subtitle { margin-top: 6px; }
.flight-routes, .flight-faq { padding-top: 18px; }
.flight-intro__head, .flight-routes__head { margin-bottom: 12px; }
.about-intro__row { margin-bottom: 18px; }
.stats__testimonial { margin-top: 16px; padding-top: 16px; }
.footer { padding-top: 52px; }
.footer__bottom { margin-top: 0; }
@media (max-width: 768px) {
  .footer { padding-top: 36px; }
  :root { --section-space: 24px; --section-heading-space: 18px; }
  .about-intro__row { margin-bottom: 14px; }
  .flight-routes, .flight-faq { padding-top: 14px; }
}

/* Clean focus treatment: no click outlines, rings, or glowing borders. */
:focus, :focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
input:focus, select:focus, textarea:focus,
.payment-secret-control:focus-within {
  border-color: var(--ecla-border) !important;
  box-shadow: none !important;
}
.payment-method input:focus-visible + span,
.payment-admin-methods label > input:focus-visible + span {
  outline: none !important;
  box-shadow: none !important;
}
/* Keyboard navigation keeps a quiet visual cue without adding a border. */
a:focus-visible, button:focus-visible, summary:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  background-color: var(--ecla-linen);
}
.blog__card { scroll-margin-top: 150px; }
.blog__title a:hover { color: var(--ecla-emerald); }
.blog__title a:focus-visible { outline: 2px solid var(--ecla-emerald); outline-offset: 4px; }
.blog-planning-links { margin: 0 0 28px; color: var(--ecla-muted); font-size: .9rem; line-height: 1.8; }
.blog-planning-links a { color: var(--ecla-emerald); text-decoration: underline; text-underline-offset: 3px; }
