/* =========================================================
   Studio Arnošťka — premium landing
   ========================================================= */

:root {
  --bg: #f6f1e8;
  --bg-alt: #efe7d8;
  --ink: #1f2a24;
  --ink-soft: #3b4a42;
  --muted: #6b7a72;
  --line: #d9cfbc;
  --accent: #5a6b54;
  --accent-deep: #39463a;
  --gold: #b08a4a;
  --white: #fffdf8;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(31, 42, 36, 0.06);
  --shadow-md: 0 20px 50px rgba(31, 42, 36, 0.10);
  --shadow-lg: 0 30px 80px rgba(31, 42, 36, 0.18);
  --ease: cubic-bezier(.22,.61,.36,1);
  --f-serif: "Cormorant Garamond", "Times New Roman", serif;
  --f-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; color: var(--ink); }

::selection { background: var(--accent); color: var(--white); }

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.preloader__inner { display: flex; align-items: center; gap: 18px; font-family: var(--f-serif); font-size: 22px; letter-spacing: .02em; }
.preloader__mark {
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; letter-spacing: .1em;
}
.preloader__line { display: inline-block; width: 60px; height: 1px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.preloader__line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: load 1.2s var(--ease) infinite; }
@keyframes load { 0% { transform: translateX(-100%);} 100% { transform: translateX(100%);} }

/* ============ Navigation ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 60px);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 241, 232, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo { display: flex; align-items: center; gap: 12px; font-family: var(--f-serif); font-size: 19px; font-weight: 500; }
.nav__logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  font-size: 12px; letter-spacing: .12em;
  font-family: var(--f-sans); font-weight: 500;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.nav__logo:hover .nav__logo-mark { background: var(--ink); color: var(--white); transform: rotate(-8deg); }
.nav__logo-text { font-size: 19px; }

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { font-size: 14px; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .3s; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--ink); transition: right .4s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--ink); }
.nav__links a:not(.nav__cta):hover::after { right: 0; }
.nav__cta {
  padding: 10px 22px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 13px; letter-spacing: .04em;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }

.nav__toggle { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav__toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px; letter-spacing: .04em;
  font-weight: 500;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px clamp(20px, 5vw, 60px) 80px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg-layer { position: absolute; inset: -5%; background-size: cover; background-position: center; will-change: transform; }
.hero__bg-layer--1 {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(90,107,84,.5), transparent 60%),
    linear-gradient(180deg, #2a3a2e 0%, #1a231d 100%);
}
.hero__bg-layer--2 {
  background:
    /* mountains */
    linear-gradient(180deg, transparent 45%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.6) 100%),
    conic-gradient(from 200deg at 50% 100%, #2f4034, #3a4e3e, #2a3a2e, #2f4034);
  mix-blend-mode: normal;
  opacity: .95;
  clip-path: polygon(0 55%, 12% 42%, 22% 52%, 34% 36%, 46% 48%, 58% 34%, 70% 46%, 82% 38%, 100% 52%, 100% 100%, 0 100%);
}
.hero__bg-layer--3 {
  /* foreground trees / ground */
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,.55), transparent 60%),
    linear-gradient(180deg, transparent 70%, #10170f 100%);
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(10,14,10,.6) 100%),
    linear-gradient(180deg, rgba(10,14,10,.35) 0%, transparent 30%, transparent 70%, rgba(10,14,10,.65) 100%);
}

.hero__content { max-width: 900px; position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,253,248,.85);
  padding: 8px 16px; border: 1px solid rgba(255,253,248,.3); border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero__title {
  font-size: clamp(44px, 8vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 28px 0 24px;
  font-weight: 500;
  color: var(--white);
}
.hero__title-line { display: block; overflow: hidden; }
.hero__title em { font-style: italic; color: #e8d9b6; font-weight: 400; }
.hero__lead {
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,253,248,.88);
  margin: 0 0 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__actions .btn--ghost { border-color: rgba(255,253,248,.6); color: var(--white); }
.hero__actions .btn--ghost:hover { background: var(--white); color: var(--ink); }
.hero__actions .btn--primary { background: var(--white); color: var(--ink); }
.hero__actions .btn--primary:hover { background: #e8d9b6; color: var(--ink); }

.hero__meta {
  display: flex; gap: clamp(24px, 5vw, 60px);
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,253,248,.2);
  max-width: 620px;
  flex-wrap: wrap;
}
.hero__meta div { display: flex; flex-direction: column; gap: 4px; }
.hero__meta strong { font-family: var(--f-serif); font-size: 32px; font-weight: 500; color: var(--white); }
.hero__meta span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,253,248,.7); }

.hero__scroll {
  position: absolute; right: clamp(20px, 5vw, 60px); bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,253,248,.75); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  z-index: 2;
}
.hero__scroll span {
  width: 1px; height: 50px; background: rgba(255,253,248,.4); position: relative; overflow: hidden;
}
.hero__scroll span::after {
  content: ""; position: absolute; inset: 0; background: var(--white);
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot { 0% { transform: translateY(-100%);} 100% { transform: translateY(100%);} }

/* ============ Sections generic ============ */
.section { padding: clamp(80px, 11vw, 160px) clamp(20px, 5vw, 60px); position: relative; }
.section__inner { max-width: 1240px; margin: 0 auto; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__label,
.intro__label {
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 18px; display: block;
}
.section__title {
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

/* ============ Intro ============ */
.intro { background: var(--bg); }
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(30px, 5vw, 70px) clamp(40px, 6vw, 100px);
  align-items: start;
}
.intro__label { grid-column: 1 / -1; margin-bottom: 0; }
.intro__title {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.12;
  max-width: 560px;
}
.intro__text p { color: var(--ink-soft); margin: 0 0 18px; font-size: 16.5px; }
.intro__text p:last-child { margin-bottom: 0; }
.intro__card {
  grid-column: 1 / -1;
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px 30px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.intro__card-row {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}
.intro__card-row:last-child { border-right: 0; }
.intro__card-row span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.intro__card-row strong { font-family: var(--f-serif); font-size: 22px; font-weight: 500; }

/* ============ Apartments ============ */
.apts { background: var(--bg-alt); }
.apts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 40px); }
.apt {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.apt:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.apt__media {
  position: relative; aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.apt__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.4));
  transition: opacity .4s var(--ease);
}
.apt:hover .apt__media::after { opacity: .6; }
.apt__media--1 {
  background-image:
    linear-gradient(135deg, rgba(31,42,36,.25), rgba(31,42,36,.05)),
    radial-gradient(circle at 30% 30%, #8fa187, #4a5c48 60%, #2e3a2e 100%);
}
.apt__media--2 {
  background-image:
    linear-gradient(135deg, rgba(176,138,74,.2), rgba(31,42,36,.1)),
    radial-gradient(circle at 70% 40%, #d4b77e, #8a6d3d 55%, #3a3025 100%);
}
.apt__badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  padding: 7px 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(255,253,248,.92); color: var(--ink); border-radius: 999px;
  backdrop-filter: blur(6px);
}
.apt__body { padding: clamp(24px, 3vw, 34px); }
.apt__body h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 12px; }
.apt__body p { color: var(--ink-soft); margin: 0 0 22px; }
.apt__specs {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px;
}
.apt__specs li {
  position: relative; padding-left: 18px; font-size: 14px; color: var(--ink-soft);
}
.apt__specs li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.apt__cta { font-size: 14px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: color .3s, letter-spacing .4s var(--ease); }
.apt__cta:hover { color: var(--accent); letter-spacing: .04em; }

/* ============ Amenities ============ */
.amen { background: var(--bg); }
.amen__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.amen__item {
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px) clamp(22px, 2.5vw, 32px);
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.amen__item:hover { background: var(--white); }
.amen__item svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 18px; transition: transform .5s var(--ease), color .4s; }
.amen__item:hover svg { transform: translateY(-3px) rotate(-4deg); color: var(--accent-deep); }
.amen__item h4 { font-size: 20px; margin-bottom: 6px; }
.amen__item p { font-size: 14px; color: var(--muted); margin: 0; }

/* ============ Surroundings ============ */
.around { background: var(--bg-alt); }
.around__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 40px); }
.around__card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); display: grid; grid-template-columns: 45% 1fr;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.around__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.around__img { background-size: cover; background-position: center; min-height: 240px; transition: transform .8s var(--ease); }
.around__card:hover .around__img { transform: scale(1.06); }
.around__img--1 { background-image: linear-gradient(135deg, rgba(31,42,36,.15), transparent), radial-gradient(circle at 40% 40%, #b9a675, #6f7a4e 60%, #2e3a2e); }
.around__img--2 { background-image: linear-gradient(135deg, rgba(31,42,36,.2), transparent), radial-gradient(circle at 60% 50%, #8fa187, #4a5c48 55%, #1f2a24); }
.around__img--3 { background-image: linear-gradient(135deg, rgba(31,42,36,.25), transparent), radial-gradient(circle at 50% 30%, #c9c3b1, #7b8477 55%, #2f3a34); }
.around__img--4 { background-image: linear-gradient(135deg, rgba(255,255,255,.2), transparent), radial-gradient(circle at 50% 50%, #e8ecee, #9fb0b6 55%, #3a4954); }
.around__body { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; }
.around__tag { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.around__body h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 10px; }
.around__body p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 18px; flex: 1; }
.around__meta { display: flex; gap: 18px; font-size: 13px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }

/* ============ Gallery ============ */
.gallery { background: var(--bg); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.gallery__item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background-size: cover; background-position: center;
  transition: transform .6s var(--ease); cursor: pointer;
  display: flex; align-items: flex-end; padding: 18px;
  color: var(--white); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.gallery__item span { position: relative; z-index: 2; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6));
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__item:hover { transform: scale(1.02); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover span { opacity: 1; transform: translateY(0); }

.gallery__item--a { grid-column: span 3; grid-row: span 2; background-image: radial-gradient(circle at 30% 40%, #c2b79a, #6b6a54 60%, #2d3226); }
.gallery__item--b { grid-column: span 3; grid-row: span 1; background-image: radial-gradient(circle at 70% 50%, #d6c9a8, #8a7c5a 60%, #3a3224); }
.gallery__item--c { grid-column: span 2; grid-row: span 1; background-image: radial-gradient(circle at 50% 40%, #a9b29a, #5c6b54 55%, #1f2a24); }
.gallery__item--d { grid-column: span 1; grid-row: span 1; background-image: radial-gradient(circle at 40% 40%, #b08a4a, #6a522a 55%, #2a1f10); }
.gallery__item--e { grid-column: span 2; grid-row: span 2; background-image: radial-gradient(circle at 30% 60%, #7a8e72, #3a4a38 55%, #141c14); }
.gallery__item--f { grid-column: span 4; grid-row: span 1; background-image: radial-gradient(circle at 70% 50%, #dfe7ea, #92a3aa 55%, #39464e); }

/* ============ Quote ============ */
.quote { background: var(--bg); padding-top: 60px; padding-bottom: 60px; }
.quote__box {
  max-width: 820px; margin: 0 auto; text-align: center;
  padding: clamp(40px, 6vw, 70px) clamp(24px, 4vw, 60px);
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.quote__box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(176,138,74,.18), transparent 50%);
}
.quote__mark { width: 40px; height: 40px; color: var(--gold); margin-bottom: 20px; position: relative; }
.quote__box blockquote {
  font-family: var(--f-serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35;
  margin: 0 0 24px; font-weight: 400; font-style: italic; position: relative;
}
.quote__box figcaption { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,253,248,.7); position: relative; }

/* ============ Contact ============ */
.contact { background: var(--bg-alt); }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 80px); align-items: start;
}
.contact__intro p { color: var(--ink-soft); font-size: 16.5px; margin: 18px 0 30px; max-width: 460px; }
.contact__info { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact__info li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.contact__info li span { color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.contact__info li strong { font-weight: 500; }
.contact__info a:hover { color: var(--accent); }

.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid; gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field > span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.form__field input,
.form__field select,
.form__field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 14px 16px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .3s, background .3s, box-shadow .3s;
  resize: vertical;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--white);
  box-shadow: 0 0 0 4px rgba(90,107,84,.12);
}
.form__check { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; }
.form__check input { margin-top: 3px; accent-color: var(--accent); }
.form__submit { justify-self: start; margin-top: 6px; }
.form__status { margin: 4px 0 0; font-size: 14px; min-height: 22px; }
.form__status.is-ok { color: var(--accent-deep); }
.form__status.is-err { color: #a0443a; }

/* ============ Footer ============ */
.footer { background: var(--ink); color: rgba(255,253,248,.75); padding: 60px clamp(20px, 5vw, 60px) 40px; }
.footer__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 16px; color: var(--white); }
.footer__brand .nav__logo-mark { border-color: rgba(255,253,248,.5); color: var(--white); }
.footer__brand strong { display: block; font-family: var(--f-serif); font-size: 22px; font-weight: 500; }
.footer__brand em { font-style: normal; font-size: 13px; color: rgba(255,253,248,.6); letter-spacing: .08em; }
.footer__nav { display: flex; gap: 26px; }
.footer__nav a { font-size: 14px; transition: color .3s; }
.footer__nav a:hover { color: var(--gold); }
.footer__copy { grid-column: 1 / -1; font-size: 12px; letter-spacing: .1em; color: rgba(255,253,248,.5); border-top: 1px solid rgba(255,253,248,.1); padding-top: 24px; margin: 24px 0 0; }

/* ============ Reveal initial states ============ */
[data-reveal], [data-reveal-card] { opacity: 0; transform: translateY(30px); }
[data-reveal-line] { display: inline-block; transform: translateY(110%); }
[data-reveal-words] .word { display: inline-block; transform: translateY(110%); opacity: 0; }
.gsap-ready [data-reveal], .gsap-ready [data-reveal-card] { /* GSAP řídí */ }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 360px);
    background: var(--bg); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 22px; padding: 80px 36px;
    transform: translateX(100%); transition: transform .5s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 22px; font-family: var(--f-serif); }
  .nav__toggle { display: flex; }

  .intro__grid { grid-template-columns: 1fr; }
  .intro__card { grid-template-columns: repeat(2, 1fr); padding: 8px 20px; }
  .intro__card-row:nth-child(2n) { border-right: 0; }

  .apts__grid { grid-template-columns: 1fr; }
  .amen__grid { grid-template-columns: repeat(2, 1fr); }
  .around__grid { grid-template-columns: 1fr; }
  .around__card { grid-template-columns: 1fr; }
  .around__img { min-height: 200px; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--a,
  .gallery__item--b,
  .gallery__item--c,
  .gallery__item--d,
  .gallery__item--e,
  .gallery__item--f { grid-column: span 1; grid-row: span 1; }
  .gallery__item--a, .gallery__item--e { grid-column: span 2; }

  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
  .footer__nav { flex-wrap: wrap; }

  .hero__scroll { display: none; }
}

@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .amen__grid { grid-template-columns: 1fr; }
  .apt__specs { grid-template-columns: 1fr; }
  .intro__card { grid-template-columns: 1fr; }
  .intro__card-row { border-right: 0; border-bottom: 1px solid var(--line); }
  .intro__card-row:last-child { border-bottom: 0; }
  .hero { padding-top: 120px; }
  .hero__meta strong { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  [data-reveal], [data-reveal-card], [data-reveal-line] { opacity: 1 !important; transform: none !important; }
  [data-reveal-words] .word { opacity: 1 !important; transform: none !important; }
}
