/* Písma (uložená lokálně, bez načítání z Googlu) */
/* latin-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/nunito-sans-italic-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: 'Nunito Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/nunito-sans-italic-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: 'Nunito Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/nunito-sans-normal-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: 'Nunito Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/nunito-sans-normal-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: 'Oswald';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/oswald-normal-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: 'Oswald';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/oswald-normal-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;
}

/* ==========================================================================
   Pavelka Reality – vzhled webu
   ========================================================================== */
:root {
  --navy: #091d35;
  --navy-2: #14263f;
  --navy-3: #1f3350;
  --slate: #324158;
  --ice: #e8eef4;
  --paper: #f5f7f9;
  --line: #dbe3ea;
  --white: #fff;
  --text: #27313f;
  --muted: #5d6877;
  --blue: #1f6d98;
  --accent: #f96f6c;
  --accent-strong: #d63c38;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(9, 29, 53, .06), 0 4px 14px rgba(9, 29, 53, .07);
  --shadow-md: 0 2px 4px rgba(9, 29, 53, .06), 0 14px 34px rgba(9, 29, 53, .14);
  --wrap: 1160px;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
::selection { background: var(--accent); color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 500; line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .4em; }
.hl { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(900px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 40px; height: 40px; color: var(--accent-strong); }

/* --- Hlavička --------------------------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); transition: box-shadow .25s; }
.topbar.is-scrolled { box-shadow: 0 6px 24px rgba(4, 14, 28, .35); }
.topbar__inner { width: min(1320px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand-small { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; color: var(--white); text-decoration: none;
  font: 500 16px/1 var(--head); text-transform: uppercase; letter-spacing: .08em; transition: opacity .25s; }
.brand-small img { width: 34px; height: auto; }
.brand-small:hover { color: var(--white); }
.home .topbar:not(.is-past-masthead) .brand-small { opacity: 0; pointer-events: none; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li { margin: 0; }
.nav a { position: relative; display: block; padding: 10px 14px; color: rgba(255, 255, 255, .88); text-decoration: none; font-size: 15px; letter-spacing: .02em; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--white); }

.topbar__phone { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  color: var(--white); text-decoration: none; font: 500 15px/1 var(--head); letter-spacing: .04em; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.topbar__phone svg { width: 16px; height: 16px; flex: none; }
.topbar__phone:hover { background: var(--accent); border-color: var(--accent); color: var(--navy); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--white); transition: transform .2s, opacity .2s; }

.masthead { background: var(--navy); color: var(--white); text-align: center; padding: 14px 16px 44px; }
.masthead img { width: 104px; margin: 0 auto 14px; }
.masthead__name { margin: 0; font: 500 clamp(2rem, 4.6vw, 3.4rem)/1.05 var(--head); text-transform: uppercase; letter-spacing: .05em; }
.masthead__tag { margin: 14px 0 0; font: 300 13px/1 var(--head); text-transform: uppercase; letter-spacing: .42em; color: rgba(255, 255, 255, .72); }
.masthead__tag::before { content: ""; display: block; width: 44px; height: 2px; margin: 0 auto 14px; background: var(--accent); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .topbar__phone { margin-left: 0; padding: 0; width: 40px; height: 40px; justify-content: center; }
  .topbar__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); display: none; border-top: 1px solid var(--navy-3); box-shadow: 0 16px 30px rgba(4, 14, 28, .4); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 6px 20px 18px; }
  .nav a { padding: 14px 2px; font-size: 17px; border-bottom: 1px solid var(--navy-3); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .masthead { padding: 6px 16px 30px; }
  .masthead img { width: 72px; margin-bottom: 10px; }
  .masthead__tag { letter-spacing: .3em; font-size: 12px; }
}

/* --- Tlačítka a drobnosti ------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; background: var(--navy-2); color: var(--white); text-decoration: none;
  font: 500 16px/1.2 var(--head); letter-spacing: .06em; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--accent { background: var(--accent-strong); }
.btn--accent:hover { background: var(--accent); color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--accent); color: var(--navy); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.eyebrow { font: 300 15px/1.6 var(--head); text-transform: uppercase; letter-spacing: .3em; color: var(--navy); margin-bottom: 1.2em; }
.eyebrow--light { color: var(--ice); }
.badge { display: inline-block; margin: 0 0 14px; padding: 6px 12px; background: var(--navy); color: var(--white); border-radius: 3px;
  font: 500 13px/1 var(--head); text-transform: uppercase; letter-spacing: .14em; }
.badge--rezervovano, .badge--sleva { background: var(--accent-strong); }
.badge--prodano, .badge--pronajato { background: var(--slate); }
.badge--novinka { background: var(--blue); }

/* --- Sekce --------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--ice { background: var(--ice); }
.section--paper { background: var(--paper); }
.section--slate, .section--navy { background: var(--navy); color: var(--ice); }
.section--slate h2, .section--navy h2, .section--navy h3 { color: var(--white); }
.section__title { text-align: center; margin-bottom: 1.5em; }
.section__title::after, .band h1::after, .band h2::after { content: ""; display: block; width: 48px; height: 3px; margin: 18px auto 0; background: var(--accent); border-radius: 2px; }
.section__title--spaced { letter-spacing: .18em; font-weight: 400; }
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin-top: .2em; }
.prose h3 { margin-top: 1.8em; }
.prose li::marker { color: var(--accent-strong); }
.lead { max-width: 800px; margin-inline: auto; text-align: center; font-size: 1.06rem; color: var(--text); }

/* Úvodní fotka */
.hero { position: relative; min-height: min(80vh, 700px); display: grid; place-items: center; text-align: center; color: var(--white);
  background: linear-gradient(180deg, rgba(9, 29, 53, .62) 0%, rgba(9, 29, 53, .32) 42%, rgba(9, 29, 53, .74) 100%), var(--bg) center / cover no-repeat; padding: 72px 20px; }
.hero h1 { color: var(--white); font-weight: 400; letter-spacing: .16em; font-size: clamp(1.6rem, 4.2vw, 3rem); margin-bottom: 0; text-shadow: 0 2px 24px rgba(4, 14, 28, .5); }
.hero h1::after { content: ""; display: block; width: 56px; height: 3px; margin: 26px auto; background: var(--accent); border-radius: 2px; }
.hero p { max-width: 620px; margin: 0 auto 2.2em; font-size: 1.15rem; text-shadow: 0 1px 12px rgba(4, 14, 28, .6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Pruh s fotkou */
.band { min-height: 260px; background: linear-gradient(rgba(9, 29, 53, .78), rgba(9, 29, 53, .78)), var(--bg) center / cover no-repeat;
  display: grid; place-items: center; text-align: center; color: var(--white); padding: 56px 20px; }
.band h1, .band h2 { color: var(--white); font-weight: 400; letter-spacing: .14em; margin: 0; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) { .band, .hero { background-attachment: fixed; } }

/* Výhody */
.benefits__title { text-align: center; font-size: 1.35rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin: 56px 0 26px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit { background: var(--white); border-radius: var(--radius-lg); padding: 30px 28px 26px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent); transition: transform .25s, box-shadow .25s; }
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.benefit__num { display: block; font: 300 2.2rem/1 var(--head); color: var(--accent-strong); margin-bottom: 14px; }
.benefit h4 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5em; }
.benefit p { margin: 0; font-size: 16px; color: var(--muted); }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } }

/* Karty nabídek */
.cards { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .card { grid-column: span 2; }
  .card:only-child { grid-column: 2 / span 4; }
  /* 2 nebo 4 nabídky: dvě na řádek; 5 nabídek: nahoře dvě velké, dole tři */
  .card:first-child:nth-last-child(2), .card:first-child:nth-last-child(2) ~ .card,
  .card:first-child:nth-last-child(4), .card:first-child:nth-last-child(4) ~ .card,
  .card:first-child:nth-last-child(5), .card:first-child:nth-last-child(5) + .card { grid-column: span 3; }
  .card:first-child:nth-last-child(5) .card__img, .card:first-child:nth-last-child(5) + .card .card__img { aspect-ratio: 16 / 9; }
}
.card { display: flex; flex-direction: column; background: var(--white); color: var(--text); text-decoration: none; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--text); }
.card__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ice); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.05); }
.card__img .badge { position: absolute; left: 14px; top: 14px; margin: 0; box-shadow: 0 2px 10px rgba(4, 14, 28, .25); }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.3rem; margin-bottom: .5em; }
.card__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 18px; padding: 0; }
.card__facts li { margin: 0; padding: 4px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--slate); }
.card__more { margin-top: auto; color: var(--blue); font: 500 15px var(--head); letter-spacing: .05em; text-transform: uppercase; }
.card__more::after { content: " →"; display: inline-block; margin-left: 4px; transition: transform .25s; }
.card:hover .card__more::after { transform: translateX(5px); }

/* Prodané */
.sold-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sold { margin: 0; }
.sold a { display: block; color: inherit; text-decoration: none; }
.sold__img { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ice); box-shadow: var(--shadow-sm); }
.sold__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.92); transition: transform .6s ease, filter .3s; }
.sold:hover .sold__img img { transform: scale(1.04); filter: none; }
.sold__label { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; background: var(--accent-strong); color: var(--white); border-radius: 3px;
  font: 500 12px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.sold figcaption { margin-top: 12px; font: 500 1.02rem/1.35 var(--head); color: var(--navy); }
@media (max-width: 900px) { .sold-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* Reference */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.quote { position: relative; display: flex; flex-direction: column; margin: 0; padding: 40px 30px 28px; background: var(--navy-2); color: var(--ice);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-lg); }
.quote::before { content: "“"; position: absolute; top: 6px; left: 24px; font: 500 64px/1 var(--head); color: var(--accent); }
.quote p { flex: 1; margin: 14px 0 22px; font-size: 16px; font-style: italic; }
.quote footer { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font: 400 15px var(--head); letter-spacing: .08em; color: var(--white); }
.section--ice .quote, .section--paper .quote { background: var(--white); color: var(--text); border-color: transparent; box-shadow: var(--shadow-sm); }
.section--ice .quote footer, .section--paper .quote footer { color: var(--navy); border-top-color: var(--line); }

/* Kontakty s ikonami */
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.contact-strip > div { padding: 30px 20px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contact-strip h3 { margin: 14px 0 6px; font-size: 1.15rem; }
.contact-strip .icon { margin-inline: auto; width: 36px; height: 36px; }
.contact-strip p { margin: 0; }
.contact-strip a { font-weight: 600; text-decoration: none; }
.contact-strip a:hover { text-decoration: underline; }
@media (max-width: 760px) { .contact-strip { grid-template-columns: 1fr; gap: 16px; } }

/* Tým */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px; max-width: 860px; margin-inline: auto; }
.person { text-align: center; padding: 36px 24px 30px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.person img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; margin: 0 auto 20px; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--accent); }
.person h3 { margin-bottom: .2em; }
.person p { margin: 0 0 .3em; }
.person a { text-decoration: none; }
.person a:hover { text-decoration: underline; }
.person__role { color: var(--muted); font: 300 14px var(--head); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 14px !important; }

/* --- Detail nemovitosti --------------------------------------------- */
.prop-hero { position: relative; min-height: min(72vh, 640px); display: grid; place-items: center; padding: 72px 20px 56px;
  background: linear-gradient(180deg, rgba(9, 29, 53, .35) 0%, rgba(9, 29, 53, .12) 45%, rgba(9, 29, 53, .5) 100%), var(--bg) center / cover no-repeat; }
.prop-hero__back { position: absolute; left: max(20px, calc((100% - 1320px) / 2)); top: 20px; padding: 7px 14px; background: rgba(9, 29, 53, .7); color: var(--white); border-radius: 999px;
  font: 400 14px/1 var(--head); letter-spacing: .06em; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s; }
.prop-hero__back:hover { background: var(--navy); color: var(--white); }
.prop-hero__box { background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: clamp(26px, 4vw, 46px) clamp(22px, 5vw, 60px); text-align: center; max-width: 800px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border-top: 3px solid var(--accent); }
.prop-hero__box h1 { margin: 0; font-size: clamp(1.6rem, 3.3vw, 2.5rem); }
.prop-hero__sub { margin: .9em 0 0; font-size: 1.05rem; color: var(--slate); }

.stats { background: var(--navy-2); color: var(--ice); padding: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); text-align: center; }
.stats__grid > div { padding: 34px 16px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stats__grid > div:first-child { border-left: 0; }
.stats strong { display: block; font: 500 clamp(1.8rem, 3.4vw, 2.5rem)/1.1 var(--head); color: var(--white); margin-bottom: 6px; }
.stats span { font: 300 13px var(--head); text-transform: uppercase; letter-spacing: .16em; color: rgba(255, 255, 255, .75); }
@media (max-width: 640px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } .stats__grid > div:nth-child(odd) { border-left: 0; } .stats__grid > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 36px; }
.gallery__item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice); border-radius: var(--radius); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--more { display: none; }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(9, 29, 53, .66); color: var(--white);
  font: 500 1.4rem var(--head); letter-spacing: .06em; }
.gallery:not(.has-js) .gallery__item--more { display: block; }
.gallery:not(.has-js) .gallery__more { display: none; }
@media (min-width: 700px) { .gallery--feature .gallery__item:first-child { grid-column: span 2; grid-row: span 2; } }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } .gallery--feature .gallery__item:first-child { grid-column: span 2; } }

.video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }

.split { display: grid; grid-template-columns: 1fr 1.4fr; }
.split--reverse { grid-template-columns: 1.4fr 1fr; }
.split--reverse .split__text { order: 2; }
.split__text { padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 72px); background: var(--paper); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.split__text h2::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 16px; background: var(--accent); border-radius: 2px; }
.split__media { background: var(--ice); min-height: 320px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse .split__text { order: 0; } }

.rooms { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 1.6em; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.rooms caption { text-align: left; font: 500 1.1rem var(--head); color: var(--navy); padding: 0 0 10px; }
.rooms td { padding: 8px 14px; border-bottom: 1px solid var(--line); }
.rooms tr:last-child td { border-bottom: 0; }
.rooms tr:nth-child(even) td { background: var(--paper); }
.rooms td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 28px; align-items: start; }
.plans figure { margin: 0; }
.plans img { width: 100%; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.plans figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.center-text { text-align: center; margin-bottom: 30px; }
.center-text ul { text-align: left; display: inline-block; }
.info-box { background: var(--ice); border-left: 4px solid var(--accent); padding: 22px 26px; margin: 1.8em 0; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.info-box h3 { margin: 0 0 .5em; font-size: 1rem; font-weight: 400; text-transform: uppercase; letter-spacing: .16em; color: var(--slate); }
.info-box p:last-child { margin-bottom: 0; }
.info-box strong { color: var(--navy); font-size: 1.12em; }
.energy { display: inline-block; background: var(--paper); border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--radius); font-size: 15px; }

.address { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; background: var(--navy-2); }
.address__box { background: var(--ice); padding: 48px clamp(22px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.address__box h1, .address__box h2 { font-size: 1.8rem; }
.address__box h1::after, .address__box h2::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 14px; background: var(--accent); border-radius: 2px; }
.address__box a:not(.btn) { font-weight: 600; text-decoration: none; }
.map { position: relative; min-height: 420px; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.map__link { position: absolute; right: 12px; bottom: 12px; background: var(--white); padding: 7px 12px; font-size: 13px; border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none; }
@media (max-width: 760px) { .address { grid-template-columns: 1fr; } .map, .map iframe { min-height: 340px; } }

/* --- Kontaktní formulář --------------------------------------------- */
.contact-form { background: var(--navy-2); color: var(--ice); padding: clamp(56px, 8vw, 96px) 0; }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-form__title { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1.25 var(--head); color: var(--white); letter-spacing: .04em; margin: 0 0 .8em; }
.contact-form__title::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 18px; background: var(--accent); border-radius: 2px; }
.contact-form__lead { color: rgba(255, 255, 255, .82); max-width: 420px; }
.contact-form__details { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-form__details li { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; color: var(--white); }
.contact-form__details .icon { width: 22px; height: 22px; color: var(--accent); flex: none; }
.contact-form__details a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact-form__details a:hover { color: var(--accent); }
@media (max-width: 860px) { .contact-form__grid { grid-template-columns: 1fr; } }
.form { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 36px); }
.form label { display: block; font-size: 14px; margin-bottom: 16px; color: var(--ice); }
.form input:not([type=radio]):not([type=checkbox]), .form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; font: inherit; font-size: 16px;
  color: var(--white); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); transition: border-color .2s, background .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:not([type=radio]):not([type=checkbox]):focus, .form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 3px rgba(249, 111, 108, .25); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; gap: 0; } }
.form__choices { border: 0; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.form__choices legend { padding: 0; margin-bottom: 8px; width: 100%; }
.form__choices label { margin: 0; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; cursor: pointer; transition: border-color .2s, background .2s; }
.form__choices label:hover { border-color: rgba(255, 255, 255, .5); }
.form__choices label:has(input:checked) { border-color: var(--accent); background: rgba(249, 111, 108, .16); }
.form__choices input { accent-color: var(--accent); margin: 0; }
.form .btn { min-width: 160px; }
.form__status { margin: 14px 0 0; min-height: 1.5em; font-weight: 600; }
.form__status.is-ok { color: #8fe3a8; }
.form__status.is-err { color: var(--accent); }
.hp { position: absolute; left: -9999px; }

/* --- Patička -------------------------------------------------------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 48px 0 40px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .brand-small { opacity: 1 !important; pointer-events: auto !important; margin: 0; }
.footer h2 { font: 300 13px/1 var(--head); text-transform: uppercase; letter-spacing: .24em; color: rgba(255, 255, 255, .6); margin: 6px 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer address { font-style: normal; line-height: 1.9; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__small { margin: 16px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .6); line-height: 1.7; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* --- Lightbox ------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 14, 26, .95); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; user-select: none; border-radius: 4px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: var(--white); border: 0; cursor: pointer; font: 300 44px/1 var(--body);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--accent); color: var(--navy); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--ice); font: 400 14px var(--head); letter-spacing: .1em; margin: 0; }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; } }

/* 404 */
.notfound { text-align: center; padding: 110px 20px; }

/* --- Jemné animace při posouvání ------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
