/* Saját hosztolású webfontok (latin + latin-ext), Google Fonts helyett — nincs külső, renderelést blokkoló kérés */
/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/jost-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/caslon-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/caslon-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pinyon-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/pinyon-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Kék Horizont Apartman — mobile-first */

:root {
  --cream: #f5f0e6;
  --paper: #fbf8f2;
  --sand: #e9e1d2;
  --ink: #1c2833;
  --ink-soft: #46525d;
  --navy: #1f3140;
  --navy-deep: #16242f;
  --gold: #85642f;          /* szövegre világos háttéren: ~5.2:1 */
  --gold-light: #d2ad72;    /* sötét háttéren */
  --olive: #474e35;
  --olive-deep: #3a402b;
  --line: rgba(28, 40, 51, .14);

  --serif: "Libre Caslon Display", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Pinyon Script", cursive;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 64px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--sans);
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
figure { margin: 0; }
a { color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }
canvas { display: block; }
body.no-scroll { overflow: hidden; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .pano :focus-visible, .wine :focus-visible, .book :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipográfia ---------- */
.eyebrow {
  font: 500 .75rem/1.4 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--gold-light); }
.eyebrow--rule { display: flex; align-items: center; gap: 1rem; }
.eyebrow--rule::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .7; }

.h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 6.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.h2--light { color: var(--cream); }
.lead { font-size: 1.15rem; line-height: 1.6; color: var(--ink); }
.lead--light { color: #efe8db; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.6rem;
  font: 500 .78rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  cursor: pointer;
}
.btn--ink { background: var(--navy); color: var(--cream); }
.btn--ink:hover { background: var(--navy-deep); }
.btn--gold { background: var(--gold-light); color: var(--navy-deep); }
.btn--gold:hover { background: #e0c08a; }
.btn--line { border-color: var(--navy); color: var(--navy); background: rgba(251, 248, 242, .55); }
.btn--line:hover { background: var(--navy); color: var(--cream); }
.btn--lg { min-height: 56px; padding: 1rem 2.4rem; font-size: .85rem; }

.round {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid currentColor; background: transparent; color: inherit;
  cursor: pointer; padding: 0;
  transition: background-color .25s, color .25s;
}
.round canvas { width: 20px; height: 20px; }
.round:hover { background: var(--cream); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--navy);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s var(--ease); background: rgba(251, 248, 242, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header.is-solid::before { opacity: 1; }
/* a blur egy pszeudo-elemen van, hogy a fix pozíciójú mobilmenü ne a fejléchez igazodjon */
.site-header__inner {
  height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: grid; grid-template-columns: auto; justify-items: center; text-decoration: none;
  line-height: 1; padding: .25rem 0;
}
.brand__mark { width: 74px; height: 14px; color: var(--navy); margin-bottom: 3px; }
.brand__name { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.brand__sub { font-size: .55rem; letter-spacing: .38em; text-transform: uppercase; margin: 4px 0 0; color: var(--gold); }

.header-tools { display: flex; align-items: center; gap: .25rem; }
.lang { display: flex; }
.lang button {
  min-width: 44px; min-height: 44px; padding: 0 .3rem;
  border: 0; background: none; color: inherit; cursor: pointer;
  font: 500 .72rem/1 var(--sans); letter-spacing: .14em;
  color: var(--ink-soft); position: relative;
}
.lang button[aria-pressed="true"] { color: var(--navy); font-weight: 600; }
.lang button[aria-pressed="true"]::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 10px; height: 1px; background: var(--gold); }
.lang button:hover { color: var(--navy); }

.burger {
  width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer;
  display: grid; place-content: center; gap: 6px; padding: 0;
}
.burger span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
  padding: 2rem var(--gutter) 4rem;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  overflow-y: auto;
}
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav__list { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 1rem;
  font-family: var(--serif); font-size: 1.8rem; text-decoration: none; color: var(--navy);
}
.nav__list a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(560px, 100svh);
  display: flex; align-items: flex-start;
  isolation: isolate; overflow: hidden;
}
.hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: 62% 60%; z-index: -2; animation: heroZoom 18s var(--ease) both; }
.hero__img { z-index: -2; }
.hero__wash {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(251, 248, 242, .96) 0%, rgba(251, 248, 242, .82) 34%, rgba(251, 248, 242, 0) 62%),
    linear-gradient(0deg, rgba(22, 36, 47, .35), rgba(22, 36, 47, 0) 30%);
}
.hero__content {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 12vw, 6.2rem);
  line-height: .98; letter-spacing: -.02em;
  color: var(--navy-deep);
}
.hero__title span { display: block; }
.hero__place {
  display: flex; align-items: center; gap: 1.25rem;
  margin: 1rem 0 1.25rem;
  font-size: .9rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold);
}
.hero__place::after { content: ""; width: 64px; height: 1px; background: currentColor; }
.hero__lead { max-width: 30ch; font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Kiemelések ---------- */
.highlights { position: relative; z-index: 2; padding: 0 var(--gutter); margin-top: -2.5rem; }
.highlights__list {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  box-shadow: 0 30px 60px -30px rgba(22, 36, 47, .35);
}
.hl {
  background: var(--paper);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem;
  padding: 1.6rem 1rem 1.5rem;
}
.hl__icon { width: 40px; height: 40px; color: var(--gold); }
.hl__title { font: 500 .72rem/1.45 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.hl__text { font-size: .92rem; line-height: 1.45; color: var(--ink-soft); }

.hl--hero { grid-column: 1 / -1; background: var(--navy); padding: 0; }
.hl__link {
  position: relative; display: flex; flex-direction: column; align-items: center;
  width: 100%; padding: 2.2rem 1.5rem 2rem; text-decoration: none; color: var(--cream);
  overflow: hidden;
}
.hl__arc { position: absolute; left: 50%; top: 1.2rem; transform: translateX(-50%); width: 220px; height: 120px; color: var(--gold-light); opacity: .9; }
.hl__num { position: relative; font-family: var(--serif); font-size: 4.4rem; line-height: 1; margin-top: 1.7rem; padding-bottom: .9rem; color: var(--cream); }
.hl--hero .hl__title { color: var(--gold-light); font-size: .82rem; margin-top: .4rem; }
.hl--hero .hl__text { color: #d9d3c6; margin-top: .4rem; max-width: 30ch; }
.hl__link:hover .hl__num { color: var(--gold-light); }
.hl--wine { grid-column: 1 / -1; background: var(--cream); }
.hl--wine .hl__icon { width: 48px; height: 48px; }

/* ---------- Az apartman ---------- */
.apartment { position: relative; padding: 5rem 0 5.5rem; overflow: hidden; }
.olive-deco { position: absolute; right: -40px; top: 2rem; width: 220px; height: 360px; color: #cdbf9f; opacity: .55; pointer-events: none; }
.apartment__grid { position: relative; display: grid; gap: 3rem; }
.apartment__text { max-width: 560px; }
.facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  margin-top: 2rem; background: var(--line); border: 1px solid var(--line);
}
.facts li {
  display: flex; align-items: center; gap: .8rem; background: var(--paper);
  padding: .9rem 1rem; font-size: .95rem; color: var(--navy);
}
.facts canvas { width: 30px; height: 30px; flex: none; color: var(--gold); }

.collage { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.collage figure { overflow: hidden; background: var(--sand); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.04); }
.collage__a { grid-column: 1 / -1; aspect-ratio: 4 / 3; } .collage__a img { object-position: 50% 62%; }
.collage__b, .collage__c { aspect-ratio: 1 / 1; }

/* ---------- Panoráma ---------- */
.pano { background: var(--navy); color: var(--cream); padding: 5rem 0 4.5rem; overflow: hidden; }
.pano__head { display: grid; gap: 2rem; align-items: center; }
.pano__badge { position: relative; width: min(340px, 86vw); aspect-ratio: 2 / 1.12; margin: 0 auto; }
.pano__dial { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold-light); }
.pano__deg {
  position: absolute; left: 0; right: 0; bottom: 4%;
  text-align: center; font-family: var(--serif); font-size: clamp(4.5rem, 22vw, 7.5rem); line-height: 1; color: var(--cream);
}
.pano__quote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; color: var(--gold-light); max-width: 32ch; }

.pano__stage { margin-top: 3rem; }
.pano__scroller {
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; cursor: grab;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}
.pano__scroller::-webkit-scrollbar { display: none; }
.pano__scroller.is-drag { cursor: grabbing; }
.pano__scroller:focus-visible { outline-offset: -4px; }
.pano__scroller picture { width: max-content; }
.pano__img { height: clamp(300px, 54vh, 720px); width: auto; max-width: none; user-select: none; -webkit-user-drag: none; }
.pano__controls {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  max-width: 560px; margin: 1.5rem auto 0; padding: 0 var(--gutter);
}
.pano__meter { flex: 1; height: 44px; }
.pano__meter-canvas { width: 100%; height: 100%; color: var(--gold-light); }
.pano__hint { text-align: center; font-size: .85rem; letter-spacing: .06em; color: #bfc7cd; margin: .9rem var(--gutter) 0; }

.pano__pair { display: grid; gap: .75rem; margin-top: 3.5rem; }
.pano__pair figure { aspect-ratio: 3 / 2; overflow: hidden; }
.pano__pair img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Borvidék ---------- */
.wine { position: relative; background: var(--olive); color: var(--cream); padding: 5rem 0; overflow: hidden; isolation: isolate; }
.wine__topo { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(233, 225, 210, .09); z-index: -1; }
.wine__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.wine__img { overflow: hidden; }
.wine__img img { width: 100%; height: 100%; object-fit: cover; }
.wine__img--a { aspect-ratio: 2 / 3; }
.wine__img--b { aspect-ratio: 2 / 3; margin-top: 3rem; }
.wine__text { grid-column: 1 / -1; padding-top: 2rem; }
.wine__icon { width: 54px; height: 54px; color: var(--gold-light); margin-bottom: 1.25rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.tags li {
  border: 1px solid rgba(233, 225, 210, .4); padding: .5rem 1rem;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream);
}

/* ---------- Évszakok ---------- */
.seasons { position: relative; isolation: isolate; padding: 6rem 0 5rem; overflow: hidden; }
.seasons__bg, .seasons__bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.seasons__bg img { object-fit: cover; object-position: 50% 50%; }
.seasons__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 36, 47, .1), rgba(22, 36, 47, .5)); }
.seasons__inner { display: grid; gap: 2rem; align-items: end; }
.seasons__card { background: rgba(251, 248, 242, .95); padding: 2.2rem 1.6rem; max-width: 520px; }
.script { font-family: var(--script); font-size: 2.2rem; line-height: 1.2; color: var(--gold); margin: 1.25rem 0 0; transform: rotate(-4deg); transform-origin: left; }
.seasons__winter { max-width: 420px; justify-self: end; background: var(--paper); padding: .6rem .6rem 0; box-shadow: 0 30px 50px -25px rgba(0,0,0,.5); transform: rotate(2deg); }
.seasons__winter figcaption { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; text-align: center; padding: .7rem 0 .8rem; color: var(--ink-soft); }

/* ---------- Galéria ---------- */
.gallery { padding: 5rem 0; background: var(--cream); }
.gallery__head { margin-bottom: 2.5rem; }
.gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; grid-auto-flow: dense; }
.gallery__grid li { aspect-ratio: 1 / 1; }
.gallery__grid li.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery__grid li.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery__grid button {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--sand); overflow: hidden;
}
.gallery__grid picture, .gallery__grid img { width: 100%; height: 100%; }
.gallery__grid img { object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.gallery__grid button:hover img { transform: scale(1.05); }

/* ---------- Foglalás ---------- */
.book { background: var(--navy-deep); color: var(--cream); padding: 5.5rem 0; text-align: center; position: relative; overflow: hidden; }
.book__inner { display: flex; flex-direction: column; align-items: center; }
.book__mark { width: 150px; height: 28px; color: var(--gold-light); margin-bottom: 2rem; }
.book .lead { max-width: 40ch; margin-left: auto; margin-right: auto; }
.book .btn { margin-top: 1rem; }
.book__note { font-size: .92rem; color: #bfc7cd; margin-top: 1.5rem; }
.book__facts {
  display: grid; gap: 1px; width: 100%; max-width: 760px; margin: 3rem 0 0;
  background: rgba(233, 225, 210, .18); border: 1px solid rgba(233, 225, 210, .18);
}
.book__facts div { background: var(--navy-deep); padding: 1.1rem; }
.book__facts dt { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }
.book__facts dd { margin: .3rem 0 0; font-family: var(--serif); font-size: 1.3rem; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--navy); color: #d9d3c6; padding: 3.5rem 0 1.5rem; }
.site-footer__inner { display: grid; gap: 2rem; justify-items: center; text-align: center; }
.site-footer__brand { display: grid; justify-items: center; color: var(--cream); }
.site-footer .brand__mark { color: var(--cream); }
.site-footer .brand__sub { color: var(--gold-light); }
.site-footer__quote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--cream); max-width: 30ch; }
.site-footer__quote p { margin: 0; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .5rem; }
.site-footer__nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .6rem;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.site-footer__nav a:hover { color: var(--gold-light); }
.site-footer__copy { text-align: center; font-size: .8rem; color: #a8b2ba; margin: 2.5rem var(--gutter) 0; padding-top: 1.5rem; border-top: 1px solid rgba(233, 225, 210, .12); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(16, 26, 34, .96); color: var(--cream);
}
.lightbox::backdrop { background: rgba(16, 26, 34, .7); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__fig { display: grid; justify-items: center; gap: .9rem; padding: 4.5rem 1rem 5.5rem; max-width: 100%; max-height: 100%; }
.lightbox__fig img { max-width: min(1400px, 100%); max-height: calc(100dvh - 11rem); width: auto; height: auto; object-fit: contain; }
.lightbox__fig figcaption { font-size: .9rem; color: #d9d3c6; text-align: center; max-width: 60ch; }
.lightbox__btn { position: absolute; color: var(--cream); background: rgba(16, 26, 34, .5); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { bottom: 1.25rem; left: calc(50% - 60px); }
.lightbox__next { bottom: 1.25rem; right: calc(50% - 60px); }

/* ---------- Megjelenés görgetéskor ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .reveal.is-in:nth-child(2) { transition-delay: .08s; }
.hero .reveal.is-in:nth-child(3) { transition-delay: .16s; }
.hero .reveal.is-in:nth-child(4) { transition-delay: .24s; }
.hero .reveal.is-in:nth-child(5) { transition-delay: .32s; }

/* =========================================================
   ≥ 600px
   ========================================================= */
@media (min-width: 600px) {
  .highlights__list { grid-template-columns: repeat(4, 1fr); }
  .hl--hero { grid-column: span 2; grid-row: span 2; }
  .hl--wine { grid-column: span 2; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .book__facts { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .pano__pair { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   ≥ 900px  — desktop navigáció
   ========================================================= */
@media (min-width: 960px) {
  :root { --header-h: 84px; }
  .burger { display: none; }
  .nav {
    position: static; inset: auto; visibility: visible; opacity: 1; transform: none;
    flex-direction: row; background: none; padding: 0; gap: 1.75rem; overflow: visible;
    margin-left: auto;
  }
  .nav__list { flex-direction: row; gap: .25rem; }
  .nav__list a {
    font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
    padding: 0 .8rem; position: relative;
  }
  .nav__list a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 10px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
  .nav__list a:hover { color: var(--navy); }
  .nav__book { min-height: 44px; padding: .6rem 1.3rem; }
  .brand__mark { width: 100px; height: 18px; }
  .brand__name { font-size: 1.45rem; }
  .brand__sub { font-size: .6rem; }

  .hero { align-items: center; }
  .hero__wash {
    background:
      linear-gradient(90deg, rgba(251, 248, 242, .97) 0%, rgba(251, 248, 242, .86) 28%, rgba(251, 248, 242, .25) 50%, rgba(251, 248, 242, 0) 62%),
      linear-gradient(0deg, rgba(22, 36, 47, .3), rgba(22, 36, 47, 0) 25%);
  }
  .hero__img img { object-position: 70% 55%; }
  .hero__content { padding-top: var(--header-h); padding-bottom: 6rem; }
  .hero__lead { font-size: 1.2rem; }

  .highlights { margin-top: -4.5rem; }
  .highlights__list { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .hl--hero { grid-column: 1; grid-row: 1; }
  .hl--wine { grid-column: auto; }
  .hl { padding: 2rem 1.25rem; justify-content: center; }
  .hl__link { height: 100%; justify-content: center; padding: 2rem; }

  .apartment { padding: 8rem 0; }
  .apartment__grid { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: center; }
  .olive-deco { width: 300px; height: 480px; top: 3rem; right: -30px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .collage { grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; height: 620px; }
  .collage__a { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .collage__b, .collage__c { aspect-ratio: auto; }
  .collage__a img { object-position: 50% 60%; }

  .pano { padding: 8rem 0 7rem; }
  .pano__head { grid-template-columns: 1fr 1.1fr; gap: 5rem; }
  .pano__badge { width: 100%; max-width: 460px; }
  .pano__stage { margin-top: 4.5rem; }
  .pano__img { height: clamp(420px, 80vh, 900px); }
  .pano__pair { margin-top: 5rem; gap: 1rem; }
  .pano__pair figure:nth-child(2) { margin-top: 4rem; }

  .wine { padding: 8rem 0; }
  .wine__grid { grid-template-columns: 1fr 1fr 1.3fr; gap: 1.25rem; align-items: center; }
  .wine__text { grid-column: auto; padding: 0 0 0 3rem; }
  .wine__img--b { margin-top: 8rem; }

  .seasons { padding: 9rem 0 8rem; min-height: 680px; }
  .seasons__inner { grid-template-columns: 1fr 1fr; }
  .seasons__card { padding: 3rem 2.75rem; }
  .script { font-size: 2.8rem; }

  .gallery { padding: 8rem 0; }
  .gallery__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); gap: .9rem; }

  .book { padding: 8rem 0; }
  .site-footer__inner { grid-template-columns: auto 1fr auto; text-align: left; align-items: center; justify-items: stretch; }
  .site-footer__brand { justify-items: center; }
  .site-footer__quote { justify-self: center; text-align: center; }
  .site-footer__nav { justify-content: flex-end; max-width: 420px; }

  .lightbox__prev { left: 1.5rem; bottom: auto; top: 50%; transform: translateY(-50%); }
  .lightbox__next { right: 1.5rem; bottom: auto; top: 50%; transform: translateY(-50%); }
  .lightbox__fig { padding: 3rem 6rem; }
  .lightbox__fig img { max-height: calc(100dvh - 8rem); }
}

@media (min-width: 1280px) {
  .gallery__grid { grid-template-columns: repeat(5, 1fr); }
}

/* Alacsony, fekvő telefon: a hero ne legyen túl magas */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 520px; }
  .hero__title { font-size: 2.6rem; }
  .hero__wash { background: linear-gradient(90deg, rgba(251, 248, 242, .96) 0%, rgba(251, 248, 242, .8) 45%, rgba(251, 248, 242, 0) 75%); }
  .pano__img { height: 78vh; }
  .nav { justify-content: flex-start; }
  .nav__list a { font-size: 1.3rem; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* A <picture> töltse ki a kép-kereteket */
.collage picture, .wine__img picture, .pano__pair picture, .seasons__winter picture { height: 100%; }

/* Mobil fejléc: a márkanév ne törjön, a nyelvválasztó elférjen */
.brand__name, .brand__sub { white-space: nowrap; }
@media (max-width: 599px) {
  .site-header__inner { padding: 0 1rem; gap: .5rem; }
  .brand__name { font-size: 1rem; letter-spacing: .1em; }
  .brand__sub { font-size: .5rem; letter-spacing: .3em; }
  .header-tools { gap: 0; }
}
/* Nagyon keskeny kijelzőn a nyelvválasztó a menübe kerül (js/main.js) */
.nav .lang { gap: .5rem; margin-top: .5rem; }
.nav .lang button { font-size: .9rem; }

/* Mobil hero: szöveg felül papír háttéren, alatta a kép teljes szépségében */
@media (max-width: 959px) {
  .hero { flex-direction: column; min-height: 0; background: var(--paper); }
  .hero__content { order: 1; padding-bottom: 1.75rem; }
  .hero__img { position: relative; order: 2; inset: auto; height: clamp(300px, 56svh, 560px); width: 100%; }
  .hero__img img { position: absolute; object-position: 64% 70%; }
  .hero__wash { inset: auto 0 0 0; top: auto; height: clamp(300px, 56svh, 560px);
    background: linear-gradient(180deg, var(--paper) 0%, rgba(251, 248, 242, 0) 22%), linear-gradient(0deg, rgba(22, 36, 47, .3), rgba(22, 36, 47, 0) 30%); }
  .highlights { margin-top: -2rem; }
}
@media (min-width: 600px) and (max-width: 959px) {
  .hero__content { padding-top: calc(var(--header-h) + 3rem); }
  .hero__img { height: 60vh; }
}

.apartment__grid > *, .wine__grid > *, .pano__head > * { min-width: 0; }
.facts span { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 399px) {
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 399px) {
  .btn { letter-spacing: .14em; padding-left: 1.1rem; padding-right: 1.1rem; }
  .eyebrow { letter-spacing: .2em; }
}
@media (max-width: 959px) {
  .hero__wash { display: none; }
  .hero__img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, var(--paper) 0%, rgba(251, 248, 242, 0) 22%), linear-gradient(0deg, rgba(22, 36, 47, .3), rgba(22, 36, 47, 0) 30%); }
}

/* ---------- Panoráma: asztali nézetben is töltse ki a szélességet ---------- */
.pano__img { min-width: 100vw; object-fit: cover; }
.pano--static .pano__controls, .pano--static .pano__hint { display: none; }
.pano--static .pano__scroller { cursor: default; }

/* ---------- Foglalás: linkek a megjegyzésben ---------- */
.book__note a { color: var(--gold-light); text-underline-offset: 3px; }
.book__note a:hover { color: var(--cream); }

/* ---------- Kapcsolat / ajánlatkérés ---------- */
.contact { padding: 5rem 0; background: var(--paper); }
.contact__grid { display: grid; gap: 3rem; }
.contact__grid > * { min-width: 0; }
.contact__list { display: grid; gap: 1.25rem; margin-top: 2rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__list canvas { width: 22px; height: 22px; flex: none; margin: 11px; color: var(--gold); border-radius: 50%; box-shadow: 0 0 0 11px var(--paper), 0 0 0 12px rgba(28, 40, 51, .18); }
.contact__list > li > span { display: flex; flex-direction: column; line-height: 1.35; color: var(--navy); overflow-wrap: anywhere; }
.contact__label { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.contact__list a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--serif); font-size: 1.35rem; color: var(--navy); text-decoration: none; }
.contact__list a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

.quote { background: var(--cream); padding: 2rem 1.25rem; border-top: 3px solid var(--gold-light); }
.quote__title { font-family: var(--serif); font-size: 1.8rem; color: var(--navy); margin-bottom: .25rem; }
.quote__req { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1rem; }
.field label { font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid rgba(28, 40, 51, .35); border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: #a3341f; box-shadow: inset 3px 0 0 #a3341f; }
.field__err { margin: 0; font-size: .88rem; color: #9c2f1b; }
.quote__submit { width: 100%; margin-top: .5rem; }
.quote__note { font-size: .82rem; color: var(--ink-soft); margin: .9rem 0 0; }
.quote__status { margin: .75rem 0 0; font-size: .95rem; color: var(--navy); }
.quote__status:empty { display: none; }

.site-footer__contact { text-align: center; margin: 2rem var(--gutter) 0; font-size: .95rem; }
.site-footer__contact a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .4rem; color: var(--cream); text-decoration: none; }
.site-footer__contact a:hover { color: var(--gold-light); text-decoration: underline; }

@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row--3 { grid-template-columns: 1fr 1fr; }
  .field-row--3 .field:last-child { grid-column: 1 / -1; }
  .quote { padding: 2.5rem 2.25rem; }
}
@media (min-width: 960px) {
  .contact { padding: 8rem 0; }
  .contact__grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .contact__info { position: sticky; top: calc(var(--header-h) + 2rem); }
  .field-row--3 { grid-template-columns: 1fr 1fr 1fr; }
  .field-row--3 .field:last-child { grid-column: auto; }
  .quote__submit { width: auto; }
}
.nowrap { white-space: nowrap; }
.contact__list a[href^="mailto"] { font-size: clamp(1rem, 4.4vw, 1.35rem); }
.contact__list a.contact__addr { font-size: clamp(1rem, 4.4vw, 1.2rem); line-height: 1.35; padding: .4rem 0; }
