:root {
  --ink: #1b2430;
  --ink-soft: #5c6672;
  --paper: #ffffff;
  --paper-alt: #f2f5f5;
  --brand: #c8347a;
  --brand-dark: #a82468;
  --brand-bright: #f363a5;
  --line: #e1e6e7;
  --radius: 8px;
  --max-w: 1120px;
  --header-h: 93px; /* fallback; measured precisely by inline script below */
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

main [id] {
  scroll-margin-top: calc(var(--header-h));
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}
.logo-mark {
  height: 64px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.main-nav a:hover { color: var(--brand); }
.main-nav .btn-primary,
.main-nav .btn-primary:hover { color: #fff; }

.nav-toggle, .nav-toggle-label { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-small { padding: 8px 18px; font-size: 0.88rem; }
.btn-block { display: block; text-align: center; margin-top: 20px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper-alt) 0%, var(--paper) 100%);
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--line);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(200, 52, 122, 0.14);
  transform: translateY(-50%);
  pointer-events: none;
}
.hero::before { right: -40px; }
.hero::after { right: 190px; opacity: 0.7; }
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero-lead { font-size: 1.15rem; max-width: 620px; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--paper-alt); }
.lead { font-size: 1.08rem; max-width: 700px; }

.fact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}
.fact-list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-soft);
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--brand-bright);
  border-radius: 50%;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.card-icon {
  width: 44px;
  height: 44px;
  color: var(--brand);
  margin-bottom: 16px;
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.95rem; }

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}
.two-col h3 { margin-bottom: 10px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-media { display: flex; align-items: flex-start; }
.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--paper-alt);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.szechenyi-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: block;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.szechenyi-badge img {
  width: 160px;
  height: auto;
  display: block;
}
.szechenyi-badge:hover { opacity: 1; }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
/* Brand marquee */
.brand-marquee {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.brand-marquee-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.brand-marquee-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.brand-marquee-track {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  animation: brand-scroll 40s linear infinite;
}
.brand-marquee-track img {
  height: 56px;
  width: 140px;
  padding: 0 16px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.2s ease, opacity 0.2s ease;
  box-sizing: border-box;
}
.brand-marquee-viewport:hover .brand-marquee-track { animation-play-state: paused; }
.brand-marquee-track img:hover {
  filter: grayscale(0);
  opacity: 1;
}
@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .brand-marquee-track img[aria-hidden="true"] { display: none; }
}

.product-item h3 {
  margin-bottom: 8px;
  padding-left: 17px;
  position: relative;
}
.product-item h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--brand-bright);
  border-radius: 50%;
}
.product-item p { margin: 0; padding-left: 17px; font-size: 0.95rem; }

/* Helpers banner */
.section-helpers {
  background: var(--ink);
  color: #fff;
}
.helpers-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.helpers-badge {
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-bright);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
}
.section-helpers .eyebrow { color: var(--brand-bright); }
.section-helpers h2 { color: #fff; }
.section-helpers .lead { color: rgba(255, 255, 255, 0.82); }
.section-helpers .promo-note { color: rgba(255, 255, 255, 0.6); }

/* Reviews */
.reviews-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
.reviews-score {
  text-align: center;
  padding: 32px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-alt);
}
.reviews-number {
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.reviews-stars {
  color: #e0a721;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  margin: 10px 0 6px;
}
.reviews-count {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.reviews-inner .lead { margin-bottom: 24px; }

/* Promos */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.promo-card {
  background: var(--paper);
  border-left: 4px solid var(--brand-bright);
  border-radius: 6px;
  padding: 24px 26px;
  box-shadow: 0 1px 3px rgba(200, 52, 122, 0.1);
}
.promo-card h3 { margin-bottom: 6px; }
.promo-card p { margin: 0; font-size: 0.95rem; }
.promo-note {
  margin-top: 30px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Booking widget */
.booking-widget {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px;
  /* Fill the viewport below the sticky header when the nav CTA scrolls here
     (scroll-margin-top from `main [id]` supplies the 20px top gap; 20px bottom gap here) */
  min-height: calc(100vh - var(--header-h) - 40px);
  min-height: calc(100dvh - var(--header-h) - 40px);
}
.section-booking .promo-note { margin-top: 20px; }

/* Contact */
.section-contact .two-col { align-items: start; }

.contact-list {
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
}
.contact-list dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-list dd { margin: 0; font-size: 1rem; }

.location-note {
  margin-top: 26px;
  font-size: 0.92rem;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hours-box {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
}
.hours-box h3 { color: #fff; margin-bottom: 18px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-weight: 400;
  font-size: 0.95rem;
}
.hours-table th { color: rgba(255,255,255,0.85); font-weight: 500; }
.hours-table td { text-align: right; color: #fff; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }
.hours-box .btn-primary { background: var(--brand-bright); color: var(--ink); font-weight: 600; }
.hours-box .btn-primary:hover { background: #6cc0b8; }

.map-embed {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}
.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.02);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cfcfcf;
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: #cfcfcf; }
.footer-nav a:hover { color: var(--brand); }

/* Legal pages (impresszum, adatvédelmi tájékoztató) */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal .contact-list { margin-top: 16px; margin-bottom: 16px; }
.legal-meta { color: var(--ink-soft); font-size: 0.9rem; }
.legal .hero-actions { margin-top: 40px; }

/* Responsive */
@media (max-width: 900px) {
  .hero::before, .hero::after { display: none; }
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .helpers-inner { grid-template-columns: 1fr; text-align: center; }
  .helpers-badge { margin: 0 auto; }
  .reviews-inner { grid-template-columns: 1fr; text-align: center; }
  .reviews-score { justify-self: center; }
  .reviews-inner .lead { margin-left: auto; margin-right: auto; }
}

@media (max-width: 980px) {
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 110;
  }
  .nav-toggle-label span {
    display: block;
    height: 2px;
    background: var(--brand-dark);
    border-radius: 2px;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav a {
    width: 100%;
    padding: 14px 24px;
    border-top: 1px solid var(--line);
  }
  .main-nav .btn { width: calc(100% - 48px); margin: 14px 24px; text-align: center; }
  .nav-toggle:checked ~ .main-nav {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .hero { padding: 70px 0 56px; }
  .section { padding: 56px 0; }
  .map-embed iframe { height: 280px; }
  .brand-marquee-track { gap: 4px; }
  .brand-marquee-track img { height: 44px; width: 104px; padding: 0 10px; }
  .szechenyi-badge img { width: 96px; }
  .hero-inner { padding-right: 84px; }
}
