/* MidwestPhotoshopper — premium travel micro-site */
:root {
  --color-bg: #f6f3ee;
  --color-surface: #ffffff;
  --color-ink: #1c1b19;
  --color-muted: #5c5a57;
  --color-accent: #b8860b;
  --color-accent-2: #0c3b2e;
  --color-line: rgba(28, 27, 25, 0.08);
  --shadow-sm: 0 8px 24px rgba(12, 59, 46, 0.06);
  --shadow-md: 0 18px 48px rgba(12, 59, 46, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --header-h: 88px;
  --header-pill-bg: rgba(255, 255, 255, 0.72);
  --header-pill-border: rgba(12, 59, 46, 0.1);
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Ugrás a tartalomhoz — WCAG 2.4.1 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 1000000;
  padding: 0.55rem 1rem;
  background: var(--color-surface);
  color: var(--color-accent-2);
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid var(--color-accent-2);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.skip-link:focus {
  left: 0.75rem;
  outline: none;
}

.skip-link:focus-visible {
  left: 0.75rem;
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

#main-content:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 0.25rem;
  border-radius: var(--radius);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
.icon-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--color-accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(246, 243, 238, 0.95) 100%);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 40px rgba(12, 59, 46, 0.08);
}

.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(0.65rem, 2vw, 1.5rem);
  row-gap: var(--space-sm);
  min-height: var(--header-h);
  padding-block: 0.55rem;
}

/* Bal: logó — függőleges középre igazítva, optikai súly */
.header-row .logo {
  justify-self: start;
  align-self: center;
}

.nav-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  justify-self: stretch;
}

/* Középső menü: „pill” luxus sáv */
.nav-wrap .main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.1rem, 1vw, 0.28rem);
  padding: 0.28rem clamp(0.35rem, 1.2vw, 0.6rem);
  background: var(--header-pill-bg);
  border: 1px solid var(--header-pill-border);
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(12, 59, 46, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.35rem, 1vw, 0.55rem);
  flex-wrap: nowrap;
  min-width: 0;
  justify-self: end;
  flex-shrink: 0;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.15;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition), letter-spacing var(--transition);
}

.logo:hover {
  color: var(--color-accent-2);
  letter-spacing: 0.04em;
  border-bottom-color: rgba(184, 134, 11, 0.45);
}

/* Fejléc logó: két sor — első szó felül, második alatta */
.site-header .logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.06em;
  font-size: clamp(0.94rem, 1.4vw, 1.14rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0.06rem 0 0.1rem;
  white-space: normal;
  border-bottom-width: 1.5px;
}

.site-header .logo .logo__word {
  display: block;
  line-height: 1.05;
}

.site-header .logo .logo__word--second {
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.site-header .logo:hover,
.site-header .logo:hover .logo__word,
.site-header .logo:hover .logo__word--second {
  color: var(--color-accent-2);
  opacity: 1;
}

.site-header .logo:hover {
  letter-spacing: 0.02em;
  border-bottom-color: rgba(184, 134, 11, 0.45);
}

.main-nav a {
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  padding: 0.32rem clamp(0.4rem, 1vw, 0.72rem);
  position: relative;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.28rem;
  width: calc(100% - 1.25rem);
  height: 2px;
  margin-left: calc(-50% + 0.625rem);
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
  pointer-events: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-ink);
  background: rgba(12, 59, 46, 0.06);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Ikonok egy csoportban */
.header-right {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  flex-wrap: nowrap;
  padding: 0.12rem 0.2rem 0.12rem 0.28rem;
  background: var(--header-pill-bg);
  border: 1px solid var(--header-pill-border);
  border-radius: 100px;
  box-shadow: 0 2px 14px rgba(12, 59, 46, 0.04);
}

.header-right:empty {
  display: none;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

a.icon-btn:hover {
  text-decoration: none;
  color: var(--color-accent-2);
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(12, 59, 46, 0.07);
  color: var(--color-accent-2);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.site-header .icon-btn svg {
  width: 18px;
  height: 18px;
}

.site-header .icon-btn {
  width: 36px;
  height: 36px;
}

.badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-accent-2);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Telefon + CTA: kompakt kapszula — kevesebb vízszintes hely */
.header-contact {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  padding: 0.1rem 0.12rem 0.1rem 0.32rem;
  margin-left: 0;
  background: var(--header-pill-bg);
  border: 1px solid var(--header-pill-border);
  border-radius: 100px;
  box-shadow: 0 1px 10px rgba(12, 59, 46, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  min-width: 0;
  max-width: 100%;
  flex-shrink: 0;
}

.header-contact a {
  text-decoration: none;
}

.header-contact a[href^="tel"] {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.28rem;
  padding: 0.22rem 0.4rem 0.22rem 0.28rem;
  margin: 0;
  font-weight: 600;
  font-size: clamp(0.68rem, 0.85vw, 0.8rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  white-space: nowrap;
  border-radius: 100px 0 0 100px;
  transition: color var(--transition), background var(--transition);
}

.header-contact:not(:has(.btn--primary)):not(:has(.btn--ghost)) a[href^="tel"] {
  border-radius: 100px;
  padding-right: 0.55rem;
}

.header-contact a[href^="tel"]::before {
  content: "";
  flex-shrink: 0;
  width: 0.8rem;
  height: 0.8rem;
  background-color: var(--color-accent-2);
  opacity: 0.9;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.21z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.21z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-contact a[href^="tel"]:hover {
  color: var(--color-accent-2);
  background: rgba(12, 59, 46, 0.05);
}

.header-contact a[href^="tel"]:hover::before {
  opacity: 1;
  background-color: var(--color-accent);
}

/* Függőleges elválasztó csak ha van CTA gomb (csak telefon esetén nincs „fél” vonal) */
.header-contact:has(.btn--primary) a[href^="tel"]::after,
.header-contact:has(.btn--ghost) a[href^="tel"]::after {
  content: "";
  align-self: stretch;
  width: 1px;
  margin: 0.1rem 0 0.1rem 0.28rem;
  background: linear-gradient(180deg, transparent, rgba(12, 59, 46, 0.12) 20%, rgba(12, 59, 46, 0.12) 80%, transparent);
  flex-shrink: 0;
}

.header-contact .btn--primary,
.header-contact .btn--ghost {
  align-self: center;
  margin: 0.06rem 0.08rem 0.06rem 0;
  padding: 0.28rem 0.62rem;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(12, 59, 46, 0.14);
}

.header-contact .btn--ghost {
  box-shadow: none;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.65);
}

.header-contact .btn--primary:hover,
.header-contact .btn--ghost:hover {
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--primary {
  background: linear-gradient(120deg, var(--color-accent-2), #145e49);
  color: #fff;
  box-shadow: 0 10px 28px rgba(12, 59, 46, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(12, 59, 46, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-line);
}

.btn--ghost:hover {
  border-color: rgba(184, 134, 11, 0.45);
}

.btn--add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
}

.btn--add-cart__icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.cart-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  margin: 0 0 1.25rem;
}

.cart-page__empty {
  padding: 2rem;
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.cart-page__empty-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.75rem;
  color: var(--color-ink);
}

.cart-page__empty-text {
  margin: 0 0 1.35rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 42rem;
  margin-inline: auto;
}

.cart-page__layout {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 900px) {
  .cart-page__layout {
    grid-template-columns: 1fr minmax(280px, 400px);
  }
}

/* A .cart-page__layout { display: grid } felülírja a böngésző [hidden]-ját — üres kosárnál ne látszódjon a megrendelő űrlap */
.cart-page__layout[hidden] {
  display: none !important;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 120px) 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 520px) {
  .cart-line {
    grid-template-columns: 140px 1fr auto;
  }
}

.cart-line__remove {
  justify-self: end;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-muted);
  cursor: pointer;
  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.cart-line__remove:hover {
  color: var(--color-ink);
  border-color: rgba(12, 59, 46, 0.2);
  background: var(--color-surface);
}

.cart-line__media {
  border-radius: 10px;
  overflow: hidden;
  display: block;
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.cart-line__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.cart-line__meta {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-accent-2);
  font-weight: 600;
}

.cart-page__total {
  margin: 1rem 0 0;
  padding: 1rem;
  background: rgba(12, 59, 46, 0.06);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cart-checkout-panel {
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.cart-checkout-panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.cart-checkout-panel .cart-checkout-form {
  display: grid;
  gap: var(--space-sm);
  margin-top: 1rem;
}

.cart-checkout-panel .field input {
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  color: var(--color-ink);
}

.cart-checkout-panel .field input:focus {
  outline: none;
  border-color: rgba(12, 59, 46, 0.35);
  box-shadow: 0 0 0 3px rgba(12, 59, 46, 0.12);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  padding-block: var(--space-xl);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 59, 46, 0.15) 0%, rgba(12, 24, 22, 0.78) 100%);
}

.hero__content {
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.hero__intro {
  position: relative;
  width: 100%;
  margin-inline: 0;
  padding: clamp(1.5rem, 4vw, 2.35rem) clamp(1.25rem, 4vw, 2.75rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(184, 134, 11, 0.18), transparent 55%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(12, 24, 22, 0.42) 38%,
      rgba(8, 18, 16, 0.55) 100%
    );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 28px 56px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px) saturate(1.12);
  overflow: hidden;
}

.hero__intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(320px, 72%);
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(232, 201, 107, 0.25) 20%,
    rgba(184, 134, 11, 0.95) 50%,
    rgba(232, 201, 107, 0.25) 80%,
    transparent 100%
  );
  box-shadow: 0 0 28px rgba(184, 134, 11, 0.45);
}

.hero__intro > * {
  position: relative;
  z-index: 1;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.38rem 0.95rem;
  width: fit-content;
  max-width: 100%;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.12;
  max-width: 20ch;
  margin: 0 0 var(--space-sm);
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hero__intro h1 {
  max-width: 22ch;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}

.hero p.lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 48ch;
  opacity: 0.96;
  margin: 0 0 var(--space-md);
  line-height: 1.55;
}

.hero__intro .lead {
  max-width: min(52ch, 100%);
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}

.hero__intro .hero__actions {
  justify-content: center;
  width: 100%;
}

.hero__lead strong.hero__stat {
  font-weight: 700;
  color: #e8c96b;
  text-shadow: 0 0 24px rgba(184, 134, 11, 0.35);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: 0;
}

.hero__btn-ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  background: rgba(255, 255, 255, 0.06);
}

.hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}

.search-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
}

.search-panel--hero {
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1rem, 2.5vw, 1.5rem);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 4px 0 rgba(184, 134, 11, 0.22),
    0 24px 56px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.15);
}

.search-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.search-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.search-panel__hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.search-panel form {
  display: grid;
  gap: var(--space-sm);
}

.search-panel--hero form {
  display: block;
}

@media (min-width: 768px) {
  .search-panel form {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
  }

  .search-panel--hero form {
    display: block;
    grid-template-columns: unset;
    align-items: unset;
  }
}

.field label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  opacity: 0.85;
}

.field input,
.field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-ink);
  font-family: var(--font-body);
}

.search-panel--hero .field--hero label {
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
}

.search-panel--hero .field--hero input,
.search-panel--hero .field--hero select {
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
  transition:
    box-shadow var(--transition),
    border-color var(--transition);
}

.search-panel--hero .field--hero input:focus,
.search-panel--hero .field--hero select:focus {
  outline: none;
  border-color: rgba(184, 134, 11, 0.7);
  box-shadow:
    0 0 0 3px rgba(184, 134, 11, 0.22),
    0 2px 14px rgba(0, 0, 0, 0.1);
}

.field--hero-submit {
  display: flex;
  align-items: flex-end;
  grid-column: 1 / -1;
}

.hero__submit {
  width: 100%;
  min-height: 2.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 24px rgba(12, 59, 46, 0.4);
}

.section {
  padding-block: var(--space-xl);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0;
  font-weight: 600;
}

.section__head p {
  margin: 0;
  color: var(--color-muted);
  max-width: 48ch;
}

.card-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

[data-favorites-grid][hidden] {
  display: none !important;
}

/* Destinations — interaktív HU régió térkép */
.hu-map-section {
  margin-bottom: var(--space-lg);
}

.hu-map-wrap {
  max-width: 720px;
  margin-inline: auto;
}

.hu-map-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-md);
}

.hu-map-land .hu-region-shape {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.5;
  transition:
    fill 0.2s ease,
    filter 0.2s ease,
    stroke-width 0.2s ease;
  cursor: pointer;
}

.hu-region-group {
  cursor: pointer;
  outline: none;
}

.hu-region-group:focus-visible .hu-region-shape {
  stroke: var(--color-accent);
  stroke-width: 3;
}

.hu-region-group[data-hu-region="dunantul"] .hu-region-shape {
  fill: #5a8f6a;
}

.hu-region-group[data-hu-region="del"] .hu-region-shape {
  fill: #6b8c9e;
}

.hu-region-group[data-hu-region="alfold"] .hu-region-shape {
  fill: #c4a574;
}

.hu-region-group[data-hu-region="matra"] .hu-region-shape {
  fill: #4d7a5c;
}

.hu-region-group[data-hu-region="eszak"] .hu-region-shape {
  fill: #3d6b55;
}

.hu-region-group[data-hu-region="zemplen"] .hu-region-shape {
  fill: #6d8c4a;
}

.hu-region-group[data-hu-region="balaton-region"] .hu-region-shape {
  fill: #4a8fa8;
}

.hu-region-group[data-hu-region="budapest-region"] .hu-region-shape {
  fill: #8b5a6a;
}

.hu-region-group:hover .hu-region-shape {
  filter: brightness(1.08);
}

.hu-region-group.is-active .hu-region-shape {
  filter: brightness(0.88) saturate(1.2);
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 2.5;
}

.hu-region-label {
  pointer-events: none;
  fill: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body), system-ui, sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hu-map-footnote {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 1rem;
  max-width: 62ch;
  line-height: 1.55;
}

.hu-map-panel {
  margin-top: 1.5rem;
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.hu-map-panel[hidden] {
  display: none !important;
}

.hu-map-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.hu-map-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.hu-map-panel__reset {
  flex-shrink: 0;
}

.hu-map-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hu-map-panel__item {
  border-bottom: 1px solid var(--color-line);
}

.hu-map-panel__item:last-child {
  border-bottom: none;
}

.hu-map-panel__link {
  display: block;
  padding: 0.85rem 0;
  color: inherit;
  text-decoration: none;
}

.hu-map-panel__link:hover .hu-map-panel__trip-title {
  color: var(--color-accent);
}

.hu-map-panel__trip-title {
  display: block;
  font-weight: 600;
}

.hu-map-panel__trip-meta {
  display: block;
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-top: 0.28rem;
}

.hu-map-panel__hint {
  margin: 0 0 0.75rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.hu-map-panel__hint[hidden] {
  display: none !important;
}

.favorites-page__empty {
  padding: 2rem;
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.favorites-page__empty-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.75rem;
  color: var(--color-ink);
}

.favorites-page__empty-text {
  margin: 0 0 1.35rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 42rem;
  margin-inline: auto;
}

.favorites-page__empty[hidden] {
  display: none !important;
}

.card__media-block {
  position: relative;
}

.card__favorite {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 4;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-accent-2);
  box-shadow: 0 4px 18px rgba(12, 27, 22, 0.18);
}

.card__favorite:hover {
  color: var(--color-accent);
  border-color: rgba(184, 134, 11, 0.55);
}

.card__favorite.is-favorite {
  color: #b22222;
  border-color: rgba(178, 34, 34, 0.35);
  background: rgba(255, 248, 248, 0.96);
}

.card__favorite.is-favorite svg {
  fill: currentColor;
  stroke: currentColor;
}

.trip-detail__head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.trip-detail__favorite {
  flex-shrink: 0;
  margin-top: 0.15rem;
  border: 1px solid var(--color-line);
  border-radius: 12px;
}

.trip-detail__favorite.is-favorite {
  color: #b22222;
  border-color: rgba(178, 34, 34, 0.35);
  background: rgba(255, 248, 248, 0.95);
}

.trip-detail__favorite.is-favorite svg {
  fill: currentColor;
  stroke: currentColor;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card--trip {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card--trip .card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.card--trip .card__body > .btn--primary {
  margin-top: auto;
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}

/* A .card--trip { display:flex } felülírja a böngésző [hidden]-ját — szűréskor tényleg rejtődjön */
.card[hidden] {
  display: none !important;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

/* Utazáskártyák: név + régió a képen (Összes utazás) */
.card--trip .card__media-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 27, 22, 0.88) 0%, rgba(12, 27, 22, 0.2) 42%, transparent 68%);
}

.card--trip .card__media-head {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card--trip .card__media-title {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.5vw, 1.28rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.card--trip .card__media-region {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.card__body {
  padding: var(--space-md);
}

.card__region {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.card__region-prefix {
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-2);
}

.card__title {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
  line-height: 1.3;
}

.card__excerpt {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: var(--space-sm);
}

.price-tag {
  font-weight: 700;
  color: var(--color-accent-2);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(12, 59, 46, 0.08);
  color: var(--color-accent-2);
}

.steps {
  display: grid;
  gap: var(--space-md);
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(184, 134, 11, 0.35);
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

.review {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  display: grid;
  gap: var(--space-sm);
}

.review__top {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.review__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(184, 134, 11, 0.35);
}

.stars {
  color: var(--color-accent);
  letter-spacing: 2px;
}

.subscribe {
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-lg), 5vw, var(--space-xl));
  background: linear-gradient(135deg, var(--color-accent-2), #0a2a22);
  color: #fff;
  display: grid;
  gap: var(--space-md);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .subscribe {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.subscribe input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
}

.prose {
  max-width: 72ch;
}

.prose p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-muted);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ink);
  margin-top: 1.75rem;
}

.site-footer {
  background: linear-gradient(180deg, #122a24 0%, #0b1815 48%, #071210 100%);
  color: rgba(255, 255, 255, 0.84);
  padding: var(--space-xl) 0 0;
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(184, 134, 11, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: #f0d9a8;
}

.site-footer__inner {
  padding-bottom: var(--space-xl);
}

.footer-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
    align-items: start;
  }

  .footer-grid--cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-col {
  position: relative;
}

.footer-col--brand {
  padding-right: 0.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.footer-tagline {
  margin: 0 0 var(--space-md);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36ch;
}

.footer-col__heading {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 201, 107, 0.95);
}

.footer-col__sub {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.85;
}

.footer-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-nav li:last-child {
  border-bottom: none;
}

.footer-contact-block {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-contact-block small,
.footer-legal-note {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.site-footer__map-section {
  padding: var(--space-lg) 0 var(--space-xl);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-map__label {
  margin: 0 0 var(--space-sm);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-map iframe {
  width: 100%;
  min-height: 240px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 0.35rem;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.payment-row img {
  height: 26px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.site-footer__bar {
  padding: var(--space-md) 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.site-footer__meta {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 18, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 1rem;
  overflow-y: auto;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  z-index: 3100;
}

.modal {
  width: min(560px, 100%);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-line);
  transform: translateY(12px);
  transition: transform var(--transition);
}

.modal-backdrop.is-open .modal {
  transform: translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-line);
}

.modal__body {
  padding: var(--space-md);
}

.modal .muted {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.modal .linkish {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--color-accent-2);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal .linkish:hover {
  color: var(--color-accent);
}

.modal ul.plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

.modal ul.plain li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--color-line);
}

.modal ul.plain li:last-child {
  border-bottom: none;
}

.search-field-grid {
  display: grid;
  gap: var(--space-sm);
}

@media (min-width: 520px) {
  .search-field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.search-field-grid--hero {
  gap: var(--space-md) var(--space-sm);
}

@media (min-width: 900px) {
  .search-field-grid--hero {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.video-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-thumb button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  padding: var(--space-md);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 960px;
  margin-inline: auto;
  background: #0f1f1a;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: grid;
  gap: var(--space-sm);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .cookie-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Trips layout */
.trips-layout {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 992px) {
  .trips-layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  z-index: 2;
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.filter-group {
  margin-bottom: var(--space-md);
}

.filter-group h3 {
  font-size: 0.85rem;
  margin: 0 0 var(--space-sm);
  font-family: var(--font-body);
}

.trips-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.sort-select {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--color-line);
  font-family: var(--font-body);
  background: var(--color-surface);
}

/* Trip detail */
.gallery {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}

.gallery__slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery__slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.gallery__btn {
  pointer-events: auto;
  margin: var(--space-sm);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-size: 1.25rem;
  transition: transform var(--transition);
}

.gallery__btn:hover {
  transform: scale(1.06);
}

.gallery__dots {
  position: absolute;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
}

.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.gallery__dot.is-active {
  background: #fff;
}

/* Map Hungary simplified */
.hu-map {
  display: grid;
  gap: var(--space-md);
}

.hu-map svg {
  width: 100%;
  max-height: 520px;
}

.hu-region {
  cursor: pointer;
  fill: rgba(12, 59, 46, 0.35);
  stroke: #fff;
  stroke-width: 0.6;
  transition: fill var(--transition), filter var(--transition);
}

.hu-region:hover,
.hu-region:focus {
  fill: rgba(184, 134, 11, 0.55);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.2));
}

/* Checklist */
.checklist {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  gap: var(--space-sm);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-line);
}

.checklist li:last-child {
  border-bottom: none;
}

/* Account dashboard */
.dash-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 900px) {
  .dash-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dash-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

/* Animations on scroll */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-animate].is-visible {
    transition: none;
  }
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  cursor: pointer;
  padding: 0 10px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-backdrop {
  display: none;
}

/* Floating trip / site assistant */
.mps-assistant {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 3015;
  font-family: var(--font-body);
  pointer-events: none;
}

.mps-assistant > * {
  pointer-events: auto;
}

.mps-assistant__fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(145deg, var(--color-accent-2), #145e49);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(12, 59, 46, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.mps-assistant__fab:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 40px rgba(12, 59, 46, 0.42);
}

.mps-assistant__fab:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.mps-assistant--open .mps-assistant__fab {
  transform: scale(0.92);
  opacity: 0.92;
}

.mps-assistant__panel {
  position: absolute;
  right: 0;
  bottom: calc(58px + 0.75rem);
  width: min(380px, calc(100vw - 2rem));
  max-height: min(520px, 70vh);
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.mps-assistant--open .mps-assistant__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mps-assistant__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-line);
  background: linear-gradient(180deg, rgba(12, 59, 46, 0.04), transparent);
}

.mps-assistant__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-ink);
}

.mps-assistant__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.mps-assistant__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem var(--space-sm) 0.35rem;
  border-bottom: 1px solid var(--color-line);
}

.mps-assistant__chip {
  font: inherit;
  font-size: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  color: var(--color-accent-2);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.mps-assistant__chip:hover {
  border-color: var(--color-accent);
  background: #fff;
}

.mps-assistant__messages {
  flex: 1;
  min-height: 140px;
  overflow-y: auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mps-assistant__msg {
  display: flex;
}

.mps-assistant__msg--user {
  justify-content: flex-end;
}

.mps-assistant__msg--bot {
  justify-content: flex-start;
}

.mps-assistant__bubble {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.mps-assistant__msg--user .mps-assistant__bubble {
  background: var(--color-accent-2);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.mps-assistant__msg--user .mps-assistant__bubble a {
  color: #e8f5f0;
}

.mps-assistant__msg--bot .mps-assistant__bubble {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  border-bottom-left-radius: 4px;
}

.mps-assistant__form {
  display: flex;
  gap: 0.5rem;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  border-top: 1px solid var(--color-line);
}

.mps-assistant__input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  font: inherit;
  font-size: 0.9rem;
}

.mps-assistant__input:focus {
  outline: none;
  border-color: var(--color-accent-2);
  box-shadow: 0 0 0 2px rgba(12, 59, 46, 0.12);
}

.mps-assistant__send {
  flex-shrink: 0;
  padding-inline: 1rem;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .mps-assistant__fab,
  .mps-assistant__panel {
    transition: none;
  }

  .mps-assistant__fab:hover {
    transform: none;
  }
}

/* Lighthouse: defer layout work for below-the-fold footer */
.site-footer,
.site-footer__bar {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}
