/* ==========================================================================
   Shared components: icons, buttons, header, drawer, cards, footer
   ========================================================================== */

/* ---- Icons ------------------------------------------------------------ */
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  min-height: 48px;
  padding: 0 var(--s-3);
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: scale(.98); }
.btn .icon { width: 20px; height: 20px; }

.btn--cta { background: var(--c-cta); color: #fff; }
.btn--cta:hover { background: var(--c-cta-hover); }

.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); }

.btn--light { background: #fff; color: var(--c-primary-dark); }
.btn--light:hover { background: var(--c-accent-soft); }

.btn--outline { border-color: var(--c-text); color: var(--c-text); background: transparent; }
.btn--outline:hover { background: var(--c-text); color: #fff; }

.btn--wa { background: #15803D; color: #fff; }
.btn--wa:hover { background: #116B33; }

.btn--sm { min-height: 44px; padding: 0 var(--s-2); font-size: .9375rem; }
.btn--block { width: 100%; }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: #fff;
  transition: background-color .2s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn__count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--c-accent);
  color: var(--c-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--c-text);
  border-radius: 50%;
  background: #fff;
  color: var(--c-text);
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.round-btn:hover:not(:disabled) { background: var(--c-text); color: #fff; }
.round-btn:disabled { opacity: .35; cursor: default; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
  font-weight: 600;
  color: var(--c-primary);
  text-underline-offset: 3px;
}
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---- Badges ----------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .01em;
}
.badge--accent { background: var(--c-accent); color: var(--c-text); }
.badge--dark { background: rgba(10, 58, 54, .88); color: #fff; }

/* ---- Section titles --------------------------------------------------- */
.section-title {
  margin-bottom: var(--s-3);
  font-size: var(--fs-h2);
}
.section-title--center { text-align: center; }
.section-sub { color: var(--c-muted); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}
.section-head .section-title { margin: 0; }

/* ---- Brand lockup (footer logo on home-1/home-2; the header logo is .oz-logo in header.css) ---- */
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.brand__logo {
  width: 44px;
  height: auto;
  padding: 3px;
  border-radius: 10px;
  background: #fff;
}
.brand__name {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.brand__name span { color: var(--c-accent); }
@media (min-width: 768px) { .brand__name { font-size: 1.125rem; } }

/* ---- Drawer ----------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 20, .5);
  animation: fade-in .25s ease;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3) var(--s-3);
  overflow-y: auto;
  background: #fff;
  animation: slide-in .3s var(--ease-out);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--c-primary);
}
.drawer__head .icon-btn { color: var(--c-text); }
.drawer__head .icon-btn:hover { background: var(--c-bg-soft); }

@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }

/* ---- Tour card -------------------------------------------------------- */
.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease-out), box-shadow .25s ease;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

.tour-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.tour-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.tour-card:hover .tour-card__media img { transform: scale(1.05); }
.tour-card__media .badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-text);
}
.wish-btn::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--sh-1);
}
.wish-btn .icon { position: relative; width: 18px; height: 18px; transition: transform .2s ease; }
.wish-btn:hover .icon { transform: scale(1.12); }
.wish-btn[aria-pressed="true"] { color: var(--c-cta); }
.wish-btn[aria-pressed="true"] .icon { fill: currentColor; animation: pop .35s var(--ease-out); }
@keyframes pop { 50% { transform: scale(1.35); } }

.tour-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: var(--s-2);
}
.tour-card__loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.tour-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tour-card__title a { text-decoration: none; }
/* whole card clickable */
.tour-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tour-card__title a:focus-visible { outline: none; }
.tour-card:has(.tour-card__title a:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.tour-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.tour-card__meta li { display: inline-flex; align-items: center; gap: 5px; }

.price {
  margin-top: auto;
  padding-top: var(--s-1);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.price strong {
  font-family: var(--ff-head);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--c-text);
}

/* ---- Socials ---------------------------------------------------------- */
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--c-text);
  border-radius: 50%;
  color: var(--c-text);
  transition: background-color .2s ease, color .2s ease;
}
.socials a:hover { background: var(--c-text); color: #fff; }
.socials .icon { width: 20px; height: 20px; }
.socials--light a { border-color: rgba(255, 255, 255, .5); color: #fff; }
.socials--light a:hover { background: #fff; color: var(--c-primary-dark); }

/* ---- Footer ----------------------------------------------------------- */
.site-footer {
  padding-top: var(--s-8);
  background: var(--c-primary-dark);
  color: rgba(255, 255, 255, .82);
  font-size: var(--fs-sm);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4) var(--s-3);
}
.footer-brand { grid-column: 1 / -1; }
.footer-brand > p { max-width: 42ch; margin-block: var(--s-2); }
.brand--light .brand__name { color: #fff; }

.footer-contact { display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-contact .icon { margin-top: 1px; color: var(--c-accent); }

.footer-col h3 {
  margin-bottom: 12px;
  font-size: .9375rem;
  color: #fff;
}
.footer-col li + li { margin-top: 2px; }
.footer-col li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-hours { margin-bottom: var(--s-1); }
.footer-dl { margin: 0 0 var(--s-1); }
.footer-dl dt { font-weight: 700; color: #fff; }
.footer-dl dd { margin: 0 0 var(--s-1); }

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  margin-top: var(--s-6);
  padding-block: var(--s-3);
  border-block: 1px solid rgba(255, 255, 255, .15);
}
.licence { display: flex; align-items: center; gap: 10px; }
.licence .icon { color: var(--c-accent); }
.licence strong { white-space: nowrap; }
.licence strong { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-1);
  padding-block: var(--s-3) calc(var(--s-3) + 72px);
  font-size: var(--fs-xs);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .footer-brand { grid-column: auto; }
  .footer-bottom { padding-bottom: var(--s-3); }
}

/* ---- Floating WhatsApp ----------------------------------------------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1FA855;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .2s ease, opacity .2s ease, visibility .2s;
}
.wa-float:hover { transform: scale(1.06); }
/* stepped aside while a booking form is on screen (it covered the form's buttons on phones; the form has its own WhatsApp link) */
.wa-float.is-tucked { opacity: 0; visibility: hidden; transform: scale(.8); }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }
.wa-float .icon { width: 30px; height: 30px; }

/* ---- Rating bubbles (Tripadvisor-style) ------------------------------ */
.bubbles { display: inline-flex; gap: 4px; }
.bubbles span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-rating);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1.5px var(--c-rating);
}
.bubbles--sm span { width: 14px; height: 14px; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--c-rating); }

/* ---- Rotating guarantee stamp (home-1 hero, home-4 promo banner) -----
   Look only — each page sets the placement (top/right/bottom) and size.
   Markup: .stamp > svg.stamp__ring (textPath on a circle) + span.stamp__core */
.stamp {
  position: absolute;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-cta);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transform: rotate(-8deg);
  animation: stamp-in .8s .4s var(--ease-out) both;
}
.stamp__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}
.stamp__ring text {
  fill: #fff;
  font-family: var(--ff-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1px;
}
.stamp__core {
  display: grid;
  place-items: center;
  width: 62%;
  height: 62%;
  border: 2px dashed rgba(255, 255, 255, .7);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
}
.stamp__core b {
  display: block;
  font-family: var(--ff-head);
  font-size: 22px;
  letter-spacing: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes stamp-in { from { opacity: 0; transform: rotate(-40deg) scale(.6); } }
