:root {
  --navy: #123356;
  --navy-deep: #0b223b;
  --navy-mid: #174c76;
  --blue: #2f78b5;
  --blue-soft: #e9f4fc;
  --coral: #ef6256;
  --coral-deep: #dd4b2d;
  --coral-soft: #fff0ec;
  --yellow: #f7bd45;
  --yellow-soft: #fff7df;
  --green: #1d8e60;
  --green-soft: #e8f7f0;
  --ink: #152130;
  --muted: #667385;
  --line: #e4e8ed;
  --paper: #fff;
  --off: #f8fafc;
  --shadow: 0 18px 60px rgba(26, 55, 85, .12);
  --shadow-soft: 0 10px 32px rgba(18, 51, 86, .075);
  --radius: 24px;
  --container: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.skip-link { position: fixed; left: 12px; top: -70px; z-index: 100; padding: 12px 16px; color: #fff; background: var(--navy-deep); border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(18, 51, 86, .08);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-width: max-content; }
.brand-mark { width: 60px; height: 60px; flex: 0 0 auto; filter: drop-shadow(0 10px 22px rgba(47, 120, 181, .18)); }
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { color: var(--navy); font-size: 1.8rem; letter-spacing: -.035em; }
.brand-copy small { margin-top: 5px; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: .95rem; font-weight: 700; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 29px 0; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 2px; background: var(--coral); transition: right .25s ease; }
.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a[aria-current="page"]::after { right: 0; }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 15px 22px; color: white; background: linear-gradient(135deg, var(--coral), var(--coral-deep)); border-radius: 13px; box-shadow: 0 12px 28px rgba(239, 98, 86, .28); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--off); color: var(--navy); border-radius: 12px; cursor: pointer; }

/* Shared buttons and headings */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 22px; border-radius: 12px; border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-deep); background: linear-gradient(135deg, #ffc85a, var(--yellow)); box-shadow: 0 14px 32px rgba(247, 189, 69, .28); }
.button-secondary { color: var(--blue); border-color: #9fc9e7; background: white; }
.button-dark { color: #fff; background: var(--navy-deep); box-shadow: 0 14px 30px rgba(11, 34, 59, .2); }
.button-coral { color: #fff; background: linear-gradient(135deg, var(--coral), var(--coral-deep)); box-shadow: 0 14px 30px rgba(239, 98, 86, .22); }
.button-full { width: 100%; }
.section-kicker { display: inline-block; color: var(--coral-deep); font-size: .77rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.section-kicker.light { color: #a6d9f8; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2,
.section-intro h2,
.contact-card h2,
.page-hero h1,
.room-title h1 { margin: 13px 0 16px; color: var(--navy-deep); font-size: clamp(2.35rem, 3.7vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; }
.section-heading p,
.section-intro p,
.section-heading > .cms-html,
.section-intro > .cms-html { color: var(--muted); font-size: 1.03rem; }
.cms-html > :first-child { margin-top: 0; }
.cms-html > :last-child { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; color: var(--blue); font-weight: 800; }

/* Hero */
.hero { position: relative; overflow: clip; padding: 54px 0 30px; }
.hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(40px, 5vw, 84px); min-height: 610px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 8px 12px; font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 24px 0 20px; color: var(--navy-deep); font-size: clamp(3.25rem, 5.2vw, 6.15rem); line-height: .96; letter-spacing: -.065em; }
.hero h1 span { color: var(--coral); }
.hero-copy > p,
.hero-copy > .cms-html { max-width: 680px; margin: 0; color: #465568; font-size: clamp(1rem, 1.25vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.hero-tags span { padding: 8px 13px; color: #516074; background: white; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; box-shadow: 0 7px 18px rgba(26, 55, 85, .04); }
.hero-media { position: relative; min-height: 520px; }
.hero-main-photo { position: absolute; inset: 0 4% 0 0; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.hero-main-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 45%, rgba(18,51,86,.08)); pointer-events: none; }
.hero-main-photo img { height: 100%; object-fit: cover; }
.hero-thumb { position: absolute; right: 0; width: 33%; overflow: hidden; border: 6px solid white; border-radius: 20px; box-shadow: 0 16px 32px rgba(18, 51, 86, .18); }
.hero-thumb img { aspect-ratio: 1.55; object-fit: cover; }
.hero-thumb-one { top: 18%; transform: rotate(1.4deg); }
.hero-thumb-two { top: 53%; transform: rotate(-1.4deg); }
.location-pill { position: absolute; left: 4%; bottom: 5%; display: flex; align-items: center; gap: 10px; padding: 12px 17px; color: white; background: var(--navy-deep); border-radius: 999px; box-shadow: 0 12px 28px rgba(11, 34, 59, .22); font-size: .8rem; }
.location-pill svg { width: 22px; height: 22px; }
.hero-blob { position: absolute; z-index: -1; background: var(--blue-soft); border-radius: 42% 58% 61% 39% / 37% 39% 61% 63%; }
.hero-blob-one { width: 330px; height: 280px; left: -130px; top: 45px; }
.hero-blob-two { width: 250px; height: 280px; right: -120px; top: 200px; }

/* Feature strips */
.feature-strip { padding: 14px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 10px 36px rgba(18, 51, 86, .06); overflow: hidden; }
.feature-item { display: flex; align-items: center; gap: 15px; padding: 20px 24px; }
.feature-item + .feature-item { border-left: 1px solid var(--line); }
.feature-item strong, .feature-item small { display: block; }
.feature-item strong { color: var(--navy-deep); font-size: 1rem; }
.feature-item small,
.feature-copy-html { color: var(--muted); margin-top: 2px; font-size: .875em; }
.feature-icon, .stat-icon { flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; }
.feature-icon { width: 50px; height: 50px; }
.feature-icon svg { width: 25px; height: 25px; }
.blue { color: var(--blue); background: var(--blue-soft); }
.yellow { color: #d99308; background: var(--yellow-soft); }
.coral { color: var(--coral); background: var(--coral-soft); }
.green { color: var(--green); background: var(--green-soft); }
.stats { padding: 0 0 36px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { display: flex; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 9px 26px rgba(18, 51, 86, .045); }
.stat-icon { width: 58px; height: 58px; }
.stat-icon svg { width: 29px; height: 29px; }
.stat-card strong, .stat-card span, .stat-card small { display: block; }
.stat-card strong { color: var(--navy-deep); font-size: 2.35rem; line-height: .95; letter-spacing: -.05em; }
.stat-card strong.word { font-size: 1.8rem; }
.stat-card span { margin-top: 4px; font-weight: 800; }
.stat-card small { margin-top: 3px; color: var(--muted); }

/* Requested homepage sections */
.coliving-section { background: var(--navy-deep); color: #fff; overflow: hidden; }
.coliving-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.coliving-lead h2 { margin: 14px 0 18px; color: #fff; font-size: clamp(3rem, 5vw, 6rem); line-height: .92; letter-spacing: -.065em; }
.coliving-lead h2 span { color: var(--yellow); }
.coliving-lead p,
.coliving-lead > .cms-html { color: #c6d4df; font-size: 1.08rem; max-width: 540px; }
.coliving-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.explain-card { position: relative; min-height: 235px; padding: 28px; border-radius: 22px; overflow: hidden; }
.explain-card h3 { margin: 44px 0 10px; font-size: 1.35rem; letter-spacing: -.03em; }
.explain-card p,
.explain-card > .cms-html { margin: 0; color: rgba(11, 34, 59, .75); }
.explain-card .card-no { position: absolute; top: 20px; left: 24px; font-weight: 900; letter-spacing: .12em; font-size: .72rem; }
.explain-card .card-icon { position: absolute; right: 22px; top: 18px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: rgba(255,255,255,.45); }
.explain-card .card-icon svg { width: 28px; height: 28px; }
.explain-card.yellow-card { color: var(--navy-deep); background: var(--yellow); }
.explain-card.blue-card { color: var(--navy-deep); background: #bfe5fb; }
.explain-card.coral-card { color: var(--navy-deep); background: #ffc1b9; }
.explain-card.white-card { color: var(--navy-deep); background: #fff; }

.choice-section { background: linear-gradient(180deg, #fff, #f7fafc); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.choice-card { position: relative; padding: 38px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.choice-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; top: -70px; background: rgba(255,255,255,.45); }
.choice-card.coliving { background: linear-gradient(135deg, var(--blue-soft), #d7efff); }
.choice-card.private { background: linear-gradient(135deg, var(--yellow-soft), #ffe8ac); }
.choice-tag { position: relative; z-index: 1; display: inline-flex; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.72); color: var(--navy-deep); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.choice-card h3 { position: relative; z-index: 1; margin: 22px 0 10px; color: var(--navy-deep); font-size: clamp(2.2rem, 3vw, 3.5rem); letter-spacing: -.055em; }
.choice-card > p,
.choice-card > .cms-html { position: relative; z-index: 1; max-width: 640px; color: #4f6074; }
.choice-columns { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.choice-columns h4 { margin: 0 0 10px; color: var(--navy-deep); }
.choice-columns ul { margin: 0; padding-left: 20px; color: #435367; }
.choice-columns li + li { margin-top: 7px; }
.choice-card .text-link { position: relative; z-index: 1; margin-top: 28px; color: var(--navy-deep); }

.faq-section { background: var(--off); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 { margin: 13px 0 16px; color: var(--navy-deep); font-size: clamp(2.7rem, 4vw, 4.8rem); line-height: .98; letter-spacing: -.06em; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 8px 24px rgba(18,51,86,.045); }
.faq-question { width: 100%; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border: 0; background: #fff; text-align: left; font-weight: 850; color: var(--navy-deep); cursor: pointer; }
.faq-question span:last-child { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font-size: 1.35rem; transition: transform .2s ease; }
.faq-answer { display: none; padding: 0 24px 24px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }

/* Offers */
.offers { background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); }
.offers-layout { display: grid; grid-template-columns: 270px 1fr; gap: 44px; align-items: start; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 13px 35px rgba(18, 51, 86, .07); }
.offer-card > img { aspect-ratio: 1.75; object-fit: cover; }
.offer-body { position: relative; padding: 20px; }
.offer-heading { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.offer-heading h3 { margin: 0; color: var(--navy-deep); font-size: 1.24rem; letter-spacing: -.025em; }
.offer-heading span { flex: 0 0 auto; color: var(--navy-deep); font-size: .83rem; font-weight: 800; }
.offer-body p { color: var(--muted); font-size: .92rem; min-height: 46px; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 7px; padding-right: 48px; }
.offer-meta span { padding: 6px 9px; border: 1px solid rgba(18, 51, 86, .12); border-radius: 7px; font-size: .72rem; }
.round-link { position: absolute; right: 17px; bottom: 17px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: white; }
.offer-yellow .round-link { background: #f0a913; }
.offer-coral .round-link { background: var(--coral); }
.offer-blue .round-link { background: var(--blue); }
.offer-yellow { background: linear-gradient(180deg, #fff 65%, var(--yellow-soft)); }
.offer-coral { background: linear-gradient(180deg, #fff 65%, var(--coral-soft)); }
.offer-blue { background: linear-gradient(180deg, #fff 65%, var(--blue-soft)); }

/* Location and contact */
.location-section { background: #fff; }
.location-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.location-copy h2 { margin: 13px 0 16px; color: var(--navy-deep); font-size: clamp(2.35rem, 3.7vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; }
.location-list { display: grid; gap: 15px; margin: 28px 0 0; padding: 0; list-style: none; }
.location-list li { display: flex; align-items: center; gap: 14px; }
.location-list svg { color: var(--blue); width: 27px; height: 27px; }
.location-photo { position: relative; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.location-photo img { height: 100%; object-fit: cover; }
.location-overlay { position: absolute; inset: auto 22px 22px 22px; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255,255,255,.94); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 28px rgba(11,34,59,.15); }
.location-overlay span { padding: 16px; text-align: center; font-size: .8rem; color: var(--muted); }
.location-overlay span + span { border-left: 1px solid var(--line); }
.location-overlay b { display: block; color: var(--navy-deep); font-size: 1.2rem; }
.contact { padding-top: 35px; }
.contact-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: center; padding: 48px; color: white; background: linear-gradient(135deg, var(--navy-deep), #174c76); border-radius: 28px; box-shadow: var(--shadow); }
.contact-card h2 { color: white; margin-bottom: 10px; }
.contact-card p { color: #c9d6e1; max-width: 520px; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.contact-form label { display: grid; gap: 7px; }
.contact-form label span { font-size: .76rem; font-weight: 800; color: #c9d6e1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 50px; padding: 0 14px; color: var(--ink); background: white; border: 0; border-radius: 10px; outline: none; }
.contact-form textarea { min-height: 105px; padding-top: 13px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { box-shadow: 0 0 0 3px rgba(247, 189, 69, .35); }
.contact-form input[type="checkbox"] { width: auto; min-height: 0; margin-top: 0; }
.form-full { grid-column: 1 / -1; }
.form-success { display: none; margin-top: 10px; padding: 12px 14px; color: var(--navy-deep); background: #dff6e8; border-radius: 10px; font-weight: 700; }
.form-success.visible { display: block; }
.form-consent { margin: 5px 0 15px 0; }
/* Listing page */
.page-hero { padding: 72px 0 44px; background: linear-gradient(135deg, var(--blue-soft), #fff 60%, var(--yellow-soft)); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 60px; align-items: center; }
.page-hero h1 { font-size: clamp(3.4rem, 5vw, 6.2rem); margin-top: 18px; }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.page-hero-visual { position: relative; min-height: 300px; }
.page-hero-visual img { position: absolute; inset: 0; height: 100%; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.page-hero-badge { position: absolute; right: -16px; bottom: 24px; display: grid; place-items: center; width: 130px; height: 130px; padding: 20px; text-align: center; color: var(--navy-deep); background: var(--yellow); border: 8px solid #fff; border-radius: 50%; font-weight: 900; transform: rotate(5deg); }
.filter-bar { position: sticky; top: 84px; z-index: 20; padding: 18px 0; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.filters { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) auto; gap: 12px; align-items: end; }
.filter-field { display: grid; gap: 6px; }
.filter-field label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.filter-field input, .filter-field select { min-height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.filter-reset { min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--off); color: var(--navy-deep); font-weight: 800; cursor: pointer; }
.listing { background: var(--off); }
.listing-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.listing-head h2 { margin: 0; color: var(--navy-deep); font-size: clamp(2.2rem, 3vw, 3.5rem); letter-spacing: -.05em; }
.result-count { color: var(--muted); }
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.room-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-soft); }
.room-card[hidden] { display: none; }
.room-card-media { position: relative; }
.room-card-media img { aspect-ratio: 1.55; object-fit: cover; }
.status-badge { position: absolute; left: 14px; top: 14px; padding: 7px 10px; color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.status-free { background: var(--green); }
.status-limited { background: #e49c00; }
.status-full { background: var(--coral-deep); }
.room-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.room-card-code { color: var(--blue); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.room-card h3 { margin: 8px 0 7px; color: var(--navy-deep); font-size: 1.35rem; }
.room-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.room-card-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.room-card-meta span { padding: 6px 8px; border-radius: 7px; background: var(--off); border: 1px solid var(--line); font-size: .72rem; }
.room-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; }
.room-card-price { color: var(--navy-deep); font-weight: 900; font-size: 1.2rem; }
.room-card-price small { display: block; color: var(--muted); font-weight: 600; font-size: .72rem; }
.no-results { display: none; padding: 50px; text-align: center; background: #fff; border: 1px dashed #cdd6df; border-radius: 22px; }
.no-results.visible { display: block; }

/* Room detail */
.breadcrumbs { padding: 22px 0 0; color: var(--muted); font-size: .84rem; }
.breadcrumbs a { color: var(--blue); font-weight: 700; }
.room-title { padding: 14px 0 0px; }
.room-title-grid { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.room-title h1 { font-size: clamp(3rem, 5vw, 5.8rem); }
.room-type-pill { padding: 10px 14px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 900; white-space: nowrap; }
.room-gallery { display: grid; grid-template-columns: 1.45fr .75fr; grid-template-rows: 230px 230px; gap: 16px; }
.room-gallery figure { margin: 0; overflow: hidden; border-radius: 22px; background: var(--off); }
.room-gallery figure:first-child { grid-row: 1 / 3; }
.room-gallery img { height: 100%; object-fit: cover; }
.room-detail-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 42px; align-items: start; }
.room-summary { position: sticky; top: 112px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.room-summary .status-line { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 850; }
.room-summary .status-line::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.room-price { margin: 18px 0 3px; color: var(--navy-deep); font-size: 2.7rem; font-weight: 900; letter-spacing: -.055em; }
.room-price small { font-size: .9rem; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.room-summary > p { color: var(--muted); }
.room-facts { margin: 22px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.room-facts li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.room-facts span { color: var(--muted); }
.room-facts strong { text-align: right; color: var(--navy-deep); }
.detail-content { display: grid; gap: 48px; }
.detail-block h2 { margin: 0 0 14px; color: var(--navy-deep); font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.045em; }
.detail-block > p { color: var(--muted); }
.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.amenity-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.amenity-card svg { width: 27px; height: 27px; color: var(--blue); }
.amenity-card h3 { margin: 12px 0 5px; color: var(--navy-deep); font-size: 1rem; }
.amenity-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.ownership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ownership-card { padding: 26px; border-radius: 20px; }
.ownership-card.own { background: var(--blue-soft); }
.ownership-card.shared { background: var(--yellow-soft); }
.ownership-card h3 { margin: 0 0 12px; color: var(--navy-deep); font-size: 1.35rem; }
.ownership-card ul { margin: 0; padding-left: 20px; color: #435367; }
.floorplan { display: grid; grid-template-columns: 1fr .72fr; gap: 22px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--off); }
.floorplan svg { width: 100%; height: auto; color: var(--navy); }
.floorplan-legend { display: grid; gap: 10px; color: var(--muted); }
.floorplan-legend span { display: flex; align-items: center; gap: 9px; }
.floorplan-legend i { width: 16px; height: 16px; border-radius: 5px; background: var(--yellow); }
.floorplan-legend span:nth-child(2) i { background: var(--blue-soft); border: 1px solid #9fc9e7; }
.floorplan-legend span:nth-child(3) i { background: var(--coral-soft); border: 1px solid #f5b1a9; }
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Footer */
.site-footer { padding: 64px 0 28px; color: #d5e0e9; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 46px; align-items: start; }
.footer-brand .brand-copy strong { color: #fff; }
.footer-brand .brand-copy small { color: #9fd3f3; }
.footer-brand p { max-width: 390px; color: #aebfcd; }
.footer-col { display: grid; gap: 9px; }
.footer-col strong { color: #fff; margin-bottom: 5px; }
.footer-col a { color: #bdcad5; }
.footer-col a:hover { color: var(--yellow); }
.footer-socials { display: grid; gap: 8px; margin-top: 10px; }
.footer-social-link { display: flex; align-items: center; gap: 10px; width: max-content; }
.footer-social-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.06); transition: border-color .2s ease, background .2s ease; }
.footer-social-icon svg { width: 18px; height: 18px; }
.footer-social-link:hover .footer-social-icon { border-color: rgba(247,189,69,.55); background: rgba(247,189,69,.1); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #91a5b5; font-size: .82rem; }

@media (max-width: 1120px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .main-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-media { min-height: 460px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .feature-item:nth-child(4) { border-top: 1px solid var(--line); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-layout { grid-template-columns: 1fr; }
  .coliving-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-layout { gap: 42px; }
  .contact-card { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .header-inner { min-height: 72px; }
  .brand-copy strong { font-size: 1.2rem; }
  .brand-copy small { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.nav-cta) { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { justify-content: space-between; margin-top: 12px; }
  .hero { padding-top: 32px; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 700px; }
  .hero h1 { font-size: clamp(3.2rem, 11vw, 5.2rem); }
  .hero-media { min-height: 500px; }
  .offer-grid, .choice-grid, .faq-layout, .location-grid, .room-detail-layout { grid-template-columns: 1fr; }
  .offer-card { display: grid; grid-template-columns: .8fr 1.2fr; }
  .offer-card > img { height: 100%; aspect-ratio: auto; }
  .faq-intro, .room-summary { position: static; }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .filter-field:first-child { grid-column: 1 / -1; }
  .filter-reset { align-self: end; }
  .room-gallery { grid-template-rows: 190px 190px; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { width: min(100% - 24px, var(--container)); }
  .section { padding: 58px 0; }
  .brand-mark { width: 42px; height: 42px; }
  .hero { padding-top: 22px; }
  .eyebrow { font-size: .68rem; }
  .hero h1 { margin-top: 18px; font-size: clamp(2.8rem, 15.5vw, 4.2rem); line-height: .95; }
  .hero-copy > p { font-size: .98rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-tags { display: none; }
  .hero-grid { gap: 30px; }
  .hero-media { min-height: 410px; }
  .hero-main-photo { inset: 0 0 55px; border-radius: 20px; }
  .hero-thumb { width: 40%; border-width: 4px; border-radius: 15px; }
  .hero-thumb-one { top: auto; bottom: 0; right: 43%; }
  .hero-thumb-two { top: auto; bottom: 0; right: 0; }
  .location-pill { left: 14px; bottom: 70px; padding: 9px 13px; }
  .feature-grid { grid-template-columns: 1fr; border-radius: 18px; }
  .feature-item + .feature-item { border-top: 1px solid var(--line); border-left: 0; }
  .feature-item { align-items: flex-start; padding: 16px; gap: 10px; }
  .feature-icon { width: 42px; height: 42px; }
  .feature-item strong { font-size: .87rem; }
  .feature-item small,
  .feature-copy-html { font-size: .73rem; }
  .stats { padding-top: 12px; }
  .stats-grid { gap: 10px; }
  .stat-card { padding: 15px; gap: 12px; border-radius: 16px; }
  .stat-icon { width: 45px; height: 45px; }
  .stat-card strong { font-size: 1.8rem; }
  .stat-card strong.word { font-size: 1.3rem; }
  .stat-card span { font-size: .82rem; }
  .stat-card small { display: none; }
  .coliving-cards, .choice-columns, .ownership-grid, .similar-grid { grid-template-columns: 1fr; }
  .explain-card { min-height: 205px; }
  .choice-card { padding: 26px 22px; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-card > img { aspect-ratio: 1.9; }
  .offer-heading { display: block; }
  .offer-heading span { display: inline-block; margin-top: 7px; }
  .location-photo, .location-photo img { min-height: 390px; }
  .location-overlay { grid-template-columns: 1fr; }
  .location-overlay span + span { border-left: 0; border-top: 1px solid var(--line); }
  .contact-card { padding: 28px 20px; border-radius: 20px; }
  .contact-form { grid-template-columns: 1fr; }
  .form-full { grid-column: auto; }
  .page-hero { padding-top: 42px; }
  .page-hero-visual { min-height: 240px; }
  .page-hero-badge { width: 105px; height: 105px; right: 8px; font-size: .8rem; }
  .filter-bar { position: static; }
  .filters { grid-template-columns: 1fr; }
  .filter-field:first-child { grid-column: auto; }
  .listing-head { align-items: flex-start; flex-direction: column; }
  .rooms-grid { grid-template-columns: 1fr; }
  .room-title-grid { display: block; }
  .room-type-pill { display: inline-flex; margin-top: 8px; }
  .room-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 270px 150px; }
  .room-gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .amenities-grid { grid-template-columns: 1fr; }
  .floorplan { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Nabídka – tabulkový přehled zachovaný podle obsahového podkladu */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.table-mobile-hint {
  display: none;
  margin: -12px 0 12px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.inventory-table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  scrollbar-color: #a8bdd0 #edf2f6;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.inventory-table-wrap:focus-visible {
  outline: 3px solid rgba(47, 120, 181, .28);
  outline-offset: 4px;
}
.inventory-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  font-size: .88rem;
}
.inventory-table th,
.inventory-table td {
  padding: 17px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.inventory-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  color: #fff;
  background: var(--navy-deep);
  font-size: .69rem;
  line-height: 1.25;
  letter-spacing: .085em;
  text-transform: uppercase;
  white-space: nowrap;
}
.inventory-table thead th:first-child { border-top-left-radius: 19px; }
.inventory-table thead th:last-child { border-top-right-radius: 19px; }
.inventory-table tbody tr { transition: background .18s ease; }
.inventory-table tbody tr:hover { background: #f2f8fc; }
.inventory-table tbody tr:last-child td { border-bottom: 0; }
.inventory-table tbody tr[hidden] { display: none; }
.inventory-table th:first-child,
.inventory-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}
.inventory-table tbody td:first-child {
  background: #fff;
  box-shadow: 9px 0 18px -18px rgba(11, 34, 59, .75);
}
.inventory-table tbody tr:hover td:first-child { background: #f2f8fc; }
.inventory-table thead th:first-child { z-index: 6; }
.inventory-table th:last-child,
.inventory-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
}
.inventory-table tbody td:last-child {
  background: #fff;
  box-shadow: -9px 0 18px -18px rgba(11, 34, 59, .75);
}
.inventory-table tbody tr:hover td:last-child { background: #f2f8fc; }
.inventory-table thead th:last-child { z-index: 6; }
.unit-code {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--navy-deep);
  background: var(--blue-soft);
  border: 1px solid #c5e1f3;
  border-radius: 9px;
  font-weight: 900;
  white-space: nowrap;
}
.table-type,
.table-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.table-type-coliving { color: #1f5f91; background: var(--blue-soft); }
.table-type-apartment { color: #a54a19; background: var(--yellow-soft); }
.table-status-query { color: #9b6200; background: var(--yellow-soft); }
.price-cell strong,
.price-cell small { display: block; white-space: nowrap; }
.price-cell strong { color: var(--navy-deep); font-size: .95rem; }
.price-cell small { color: var(--muted); font-size: .7rem; }
.table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #9fc9e7;
  border-radius: 9px;
  font-size: .76rem;
  font-weight: 900;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.table-action:hover {
  color: #fff;
  background: var(--blue);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .table-mobile-hint { display: block; }
  .inventory-table-wrap {
    margin-inline: -24px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .inventory-table th,
  .inventory-table td { padding: 14px 13px; }
  .inventory-table th:first-child,
  .inventory-table td:first-child { left: 0; }
}


/* v7 — occupancy by beds, detail occupancy and legal pages.
   These additions intentionally use the existing Pekařská Living design system. */
.listing-meta { display: grid; justify-items: end; gap: 10px; }
.occupancy-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; color: var(--muted); font-size: .75rem; font-weight: 750; }
.occupancy-legend span { display: inline-flex; align-items: center; gap: 7px; }
.bed-dot { position: relative; display: inline-block; width: 20px; height: 14px; border: 1.5px solid currentColor; border-radius: 5px 5px 3px 3px; vertical-align: middle; }
.bed-dot::before { content: ""; position: absolute; left: 2px; top: 2px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.bed-dot.is-free { color: #fff; background: var(--green); border-color: #13724b; box-shadow: 0 0 0 2px rgba(29,142,96,.1); }
.bed-dot.is-occupied { color: #7c8794; background: #e6e9ed; border-color: #aeb6bf; }

.inventory-table { min-width: 1210px; }
.inventory-table th:nth-child(4) { min-width: 250px; }
.inventory-table th:nth-child(6) { min-width: 320px; }
.house-table-name { display: block; color: var(--navy-deep); white-space: nowrap; }
.lift-badge { display: inline-flex; margin-top: 6px; padding: 4px 7px; border-radius: 999px; font-size: .62rem; font-weight: 850; white-space: nowrap; }
.lift-badge.has-lift { color: #146743; background: var(--green-soft); }
.lift-badge.no-lift { color: #a7463e; background: var(--coral-soft); }
.rent-note { display: block; margin-top: 6px; color: var(--muted); font-size: .69rem; }
.occupancy-cell { min-width: 320px; }
.occupancy-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-room { display: flex; align-items: center; gap: 6px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.mini-room:has(.bed-dot.is-free) { border-color: #acd9c3; background: #f3fbf7; }
.mini-room > b { min-width: 15px; color: var(--muted); font-size: .65rem; text-align: center; }
.mini-room > span { display: flex; gap: 3px; }
.mini-room .bed-dot { width: 15px; height: 11px; border-width: 1px; border-radius: 4px 4px 2px 2px; }
.mini-room .bed-dot::before { left: 1px; top: 1px; width: 3px; height: 3px; }
.occupancy-summary { display: flex; align-items: baseline; gap: 9px; margin-top: 8px; }
.occupancy-summary strong { color: var(--navy-deep); font-size: .8rem; }
.occupancy-cell:has(.bed-dot.is-free) .occupancy-summary strong { color: var(--green); }
.occupancy-summary span { color: var(--muted); font-size: .69rem; }
.inventory-note { margin: 22px 0 0; padding: 16px 18px; color: #4d5c6d; background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; font-size: .84rem; }

.occupancy-detail { background: linear-gradient(180deg, #f8fbfd, #f1f7fb); border-block: 1px solid var(--line); }
.occupancy-detail-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; margin-bottom: 36px; }
.occupancy-detail-head h2 { margin: 13px 0 14px; color: var(--navy-deep); font-size: clamp(2.35rem, 3.8vw, 4.4rem); line-height: 1; letter-spacing: -.055em; }
.occupancy-detail-head p { max-width: 720px; margin: 0; color: var(--muted); }
.occupancy-big-summary { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); }
.occupancy-big-summary > div { padding: 22px 18px; border-right: 1px solid var(--line); }
.occupancy-big-summary > div:last-child { border-right: 0; }
.occupancy-big-summary > div:first-child { background: var(--green-soft); }
.occupancy-big-summary strong { display: block; color: var(--navy-deep); font-size: 2.2rem; line-height: 1; letter-spacing: -.04em; }
.occupancy-big-summary > div:first-child strong { color: var(--green); }
.occupancy-big-summary span { display: block; margin-top: 7px; color: var(--muted); font-size: .7rem; font-weight: 800; }
.occupancy-room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.room-occupancy-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(18,51,86,.045); }
.room-occupancy-card.is-room-free { border-color: #abd9c2; box-shadow: 0 10px 28px rgba(29,142,96,.11); }
.room-occupancy-card.is-room-partial { border-color: #d1c27d; box-shadow: 0 10px 28px rgba(247,189,69,.14); }
.room-occupancy-card.is-room-full { opacity: .72; background: #f7f8fa; }
.room-occ-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.room-occ-head span { color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.room-occ-head h3 { margin: 5px 0 0; color: var(--navy-deep); font-size: 1.12rem; letter-spacing: -.025em; }
.room-occ-head > strong { padding: 6px 9px; color: var(--muted); background: #edf0f3; border-radius: 999px; font-size: .65rem; white-space: nowrap; }
.is-room-free .room-occ-head > strong { color: var(--green); background: var(--green-soft); }
.is-room-partial .room-occ-head > strong { color: #946000; background: var(--yellow-soft); }
.room-occ-body { display: grid; gap: 15px; margin-top: 15px; }
.room-occ-body.has-photo { grid-template-columns: 112px minmax(0, 1fr); align-items: start; }
.room-photo-preview { min-width: 0; }
.room-photo-preview-link {
  position: relative;
  display: block;
  width: 112px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 11px;
  background: var(--off);
  box-shadow: 0 7px 18px rgba(18,51,86,.12);
  cursor: zoom-in;
}
.room-photo-preview-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.room-photo-preview-link img { height: 100%; object-fit: cover; transition: transform .25s ease; }
.room-photo-count {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  place-items: center;
  color: #fff;
  background: rgba(11,34,59,.88);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 850;
  line-height: 1;
  backdrop-filter: blur(6px);
}
.room-beds { display: grid; gap: 8px; margin-top: 0; }
@media (hover: hover) and (pointer: fine) {
  .room-photo-preview-link:hover img { transform: scale(1.05); }
}
.bed-status { display: flex; align-items: center; gap: 12px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 11px; }
.bed-status.is-free { color: #176b49; background: var(--green-soft); border-color: #b8dfcb; }
.bed-status.is-occupied { color: #6f7a86; background: #f0f2f4; border-color: #dfe3e7; }
.bed-icon { position: relative; width: 39px; height: 25px; flex: 0 0 auto; border: 2px solid currentColor; border-radius: 7px 7px 3px 3px; }
.bed-icon::before { content: ""; position: absolute; left: 4px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bed-icon::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 2px; height: 5px; background: currentColor; box-shadow: 35px 0 currentColor; }
.bed-status strong, .bed-status small { display: block; }
.bed-status strong { font-size: .8rem; }
.bed-status small { font-size: .69rem; }
.occupancy-detail-legend { justify-content: flex-start; margin-top: 22px; }
.amenity-card-warning { background: var(--coral-soft); border-color: #f5c0b9; }

.legal-main { padding: 82px 0 110px; background: linear-gradient(180deg, #f8fafc, #fff); }
.legal-layout { display: grid; grid-template-columns: .5fr 1.15fr; gap: 72px; align-items: start; }
.legal-aside { position: sticky; top: 120px; }
.legal-aside h1 { margin: 14px 0 18px; color: var(--navy-deep); font-size: clamp(2.8rem, 5vw, 5.5rem); line-height: .96; letter-spacing: -.06em; }
.legal-aside > p { max-width: 410px; color: var(--muted); font-size: 1.04rem; }
.legal-aside-links { display: grid; gap: 8px; margin-top: 28px; }
.legal-aside-links a { width: fit-content; color: var(--blue); font-weight: 800; }
.legal-aside-links a:hover { color: var(--coral-deep); }
.legal-content { padding: 44px 48px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-soft); }
.legal-content h2 { margin: 42px 0 13px; color: var(--navy-deep); font-size: 1.55rem; letter-spacing: -.03em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #4f5d6e; }
.legal-content a { color: var(--blue); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.legal-date { margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .78rem; }
.cookie-category-list { display: grid; gap: 12px; }
.cookie-category-list section { padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: var(--off); }
.cookie-category-list section > div { display: flex; justify-content: space-between; gap: 18px; }
.cookie-category-list section span { color: var(--muted); font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cookie-category-list section p { margin: 8px 0 0; }
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; }
.legal-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .82rem; }
.legal-table th, .legal-table td { padding: 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { color: #fff; background: var(--navy-deep); }

@media (max-width: 1000px) {
  .occupancy-detail-head, .legal-layout { grid-template-columns: 1fr; gap: 34px; }
  .occupancy-big-summary { max-width: 680px; }
  .occupancy-room-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-aside { position: static; }
}

@media (max-width: 760px) {
  .listing-meta { justify-items: start; }
  .occupancy-legend { justify-content: flex-start; }
  .inventory-table { min-width: 1090px; }
  .occupancy-cell { min-width: 285px; }
  .occupancy-room-grid { grid-template-columns: 1fr; }
  .occupancy-big-summary > div { padding: 16px 11px; }
  .occupancy-big-summary strong { font-size: 1.65rem; }
  .occupancy-big-summary span { font-size: .63rem; }
  .room-occ-head { align-items: flex-start; }
  .legal-content { padding: 28px 22px; border-radius: 18px; }
  .cookie-category-list section > div { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* ==========================================================================
   Doplňky aplikace
   Prvky, které prototyp neobsahoval: consent vrstva, přepínač jazyků,
   Nette formuláře, flash zprávy, blokovaná externí média a galerie.
   ========================================================================== */

/* Přepínač jazyků */
.lang-switch { display: inline-flex; gap: 6px; align-items: center; margin-left: 10px; }
.lang-switch a { padding: 4px 8px; border-radius: 8px; font-size: .78rem; font-weight: 800; color: var(--muted); }
.lang-switch a.is-current { color: #fff; background: var(--navy-deep); }
.lang-switch a:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 2px; }

/* Flash zprávy */
.flash-messages { padding-top: 20px; }
.flash { padding: 14px 18px; margin-bottom: 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.flash-success { border-color: #86c9a1; background: #eefaf2; }
.flash-error { border-color: #e59a8b; background: #fdf0ed; }

/* Formuláře */
.contact-form .form-error { display: block; margin-top: 6px; color: #b3261e; font-size: .78rem; font-style: normal; font-weight: 700; }
.contact-form .form-errors { grid-column: 1 / -1; padding: 12px 16px; border-radius: 12px; background: #fdf0ed; color: #7d1f14; }
.contact-form input[aria-invalid="true"], .contact-form textarea[aria-invalid="true"] { border-color: #b3261e; }
.form-consent { display: block; }
.form-consent label { display: flex; gap: 10px; align-items: flex-start; }
.form-consent input { width: auto; margin-top: 4px; }

/* Honeypot nesmí být vidět ani pro čtečky, ale musí zůstat v DOM */
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Aktivní filtry v nabídce */
.filter-field.is-active label { color: var(--coral-deep); }
.filter-field.is-active input,
.filter-field.is-active select { border-color: var(--coral-deep); box-shadow: 0 0 0 3px rgba(255, 122, 89, .18); }
.filters.has-active-filters .filter-reset { background: var(--coral-deep); color: #fff; border-color: var(--coral-deep); }
.unit-building { display: block; color: var(--muted); font-size: .72rem; }

/* Stavy lůžek podle App\Models\AvailabilityService */
.bed-dot.is-reserved { background: #f4b740; }
.bed-dot.is-available_from { background: #4aa3df; }
.bed-dot.is-preparing { background: #8f7ae5; }
.bed-dot.is-out_of_service,
.bed-dot.is-inactive,
.bed-dot.is-not_configured,
.bed-dot.is-not_offered,
.bed-dot.is-blocked { background: #b9c2cd; }
.bed-status.is-reserved .bed-icon { background: #f4b740; }
.bed-status.is-available_from .bed-icon { background: #4aa3df; }
.bed-status.is-out_of_service .bed-icon,
.bed-status.is-inactive .bed-icon,
.bed-status.is-not_configured .bed-icon,
.bed-status.is-not_offered .bed-icon { background: #b9c2cd; }
.room-price-line { margin-top: 12px; font-weight: 800; }
.room-price-line small { display: block; font-weight: 600; color: var(--muted); }

/* Galerie detailu */
.room-gallery [data-gallery-thumb] { cursor: pointer; }
.room-gallery [data-gallery-thumb].is-current { outline: 3px solid var(--coral-deep); outline-offset: 2px; }

/* Blokovaný externí obsah */
.external-media { display: grid; border: 1px dashed var(--line); border-radius: 18px; background: #f7f9fc; }
.external-media-placeholder { display: grid; gap: 12px; place-content: center; padding: 32px; text-align: center; }
.external-media-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.external-media iframe { border-radius: 18px; }

/* Cookie banner a dialog */
.cookie-banner { position: fixed; inset: auto 16px 16px; z-index: 90; padding: 20px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); max-width:800px;margin:auto; }
.cookie-banner[hidden] { display: none; }
.cookie-banner .button { min-width:210px; }

.cookie-banner-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: center; max-width: 1100px; margin: 0 auto; }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: 6px; }
.cookie-banner p { color: var(--muted); font-size: .86rem; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-dialog { width: min(560px, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: 20px; box-shadow: var(--shadow); }
.cookie-dialog::backdrop { background: rgba(18, 51, 86, .55); }
.cookie-dialog h2 { margin-bottom: 18px; font-size: 1.25rem; }
.cookie-option { padding: 12px 0; border-bottom: 1px solid var(--line); }
.cookie-option label { display: flex; gap: 12px; align-items: flex-start; }
.cookie-option input { margin-top: 4px; }
.cookie-option strong { display: block; }
.cookie-option small { color: var(--muted); }
.cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button-link { background: none; border: 0; color: var(--blue); font-weight: 800; text-decoration: underline; cursor: pointer; }
.cookie-settings-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

@media (max-width: 860px) {
  .cookie-banner-inner { grid-template-columns: 1fr; }
  .cookie-banner-actions { justify-content: flex-start; }
  .lang-switch { margin: 10px 0 0; }
}

/* Komfort a služby na úvodní stránce */
.housing-services-section {
  padding-top: 80px;
  padding-bottom: 0;
  background: #fff;
}
.section.gallery-section {
  padding-top: 40px;
}
.housing-services-panel {
  display: grid;
  gap: 36px;
}
.housing-services-heading h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2.35rem, 3.7vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.housing-services-heading > .cms-html {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.03rem;
}
.housing-services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.housing-service-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-width: 0;
  min-height: 112px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.housing-service-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
}
.housing-service-icon svg {
  width: 26px;
  height: 26px;
}
.housing-service-item.service-yellow .housing-service-icon {
  color: #d99308;
  background: var(--yellow-soft);
}
.housing-service-item.service-blue .housing-service-icon {
  color: var(--blue);
  background: var(--blue-soft);
}
.housing-service-item.service-coral .housing-service-icon {
  color: var(--coral);
  background: var(--coral-soft);
}
.housing-service-item strong {
  display: block;
  color: var(--navy-deep);
  font-size: 1rem;
  line-height: 1.3;
}
.housing-service-copy {
  margin-top: 4px;
  color: var(--muted);
  font-size: .88rem;
}
.housing-service-copy p {
  margin: 0;
}

@media (max-width: 900px) {
  .housing-services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .housing-services-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .housing-services-panel {
    gap: 28px;
  }

  .housing-services-heading h2 {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .housing-services-list {
    grid-template-columns: 1fr;
  }

  .housing-service-item {
    min-height: 0;
    padding: 19px;
  }
}

/* Fotogalerie úvodní stránky */
.gallery-section .section-heading { margin-bottom: 26px; }
.photo-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 16px; }
.photo-gallery-item { margin: 0; overflow: hidden; border-radius: 22px; background: var(--off); }
.photo-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.photo-gallery-link { display: block; width: 100%; height: 100%; }
.photo-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo-gallery-link:hover img, .photo-gallery-link:focus-visible img { transform: scale(1.04); }
.photo-gallery-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (max-width: 860px) {
  .photo-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .photo-gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 600px) {
  .photo-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .photo-gallery-item:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-gallery-grid img { transition: none; }
  .photo-gallery-link:hover img, .photo-gallery-link:focus-visible img { transform: none; }
}

/* Kontaktní stránka – provozovatel a kontakt pro bydlení */
.legal-content {
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(191, 229, 251, .65),
      transparent 38%
    ),
    linear-gradient(145deg, #fff 0%, #f7fafc 100%);
  box-shadow: var(--shadow-soft);
}

.cms-company-card {


}

.legal-content:before {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(247, 189, 69, .2);
  content: "";
  pointer-events: none;
}

.cms-company-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
}

.cms-company-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.legal-content .cms-company-heading h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.cms-company-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 24px;
  align-items: stretch;
}

.cms-company-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cms-company-fact {
  display: flex;
  min-height: 112px;
  padding: 22px;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 28px rgba(18, 51, 86, .05);
}

.cms-company-fact-wide {
  grid-column: 1 / -1;
}

.cms-company-fact span {
  color: var(--muted);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cms-company-fact strong {
  color: var(--navy-deep);
  font-size: 1.05rem;
  line-height: 1.45;
}

.cms-housing-contact {
  display: flex;
  padding: 30px;
  flex-direction: column;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(47, 120, 181, .55),
      transparent 48%
    ),
    linear-gradient(145deg, var(--navy-deep), #174c76);
  box-shadow: 0 18px 42px rgba(18, 51, 86, .18);
}

.cms-housing-contact-label {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--navy-deep);
  background: var(--yellow);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-content .cms-housing-contact h3 {
  margin: 24px 0 10px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -.04em;
}

.legal-content .cms-housing-contact > p {
  max-width: 420px;
  margin: 0 0 28px;
  color: #d4e0e9;
  line-height: 1.65;
}

.cms-housing-contact-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}


.legal-content .cms-contact-action {
  display: flex;
  padding: 15px 17px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  text-decoration: none;
  transition:
    transform .18s ease,
    background-color .18s ease,
    border-color .18s ease;
}

.legal-content .cms-contact-action:hover {
  color: var(--navy-deep);
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.cms-contact-action span {
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
}

.cms-contact-action strong {
  font-size: .94rem;
  text-align: right;
}

@media (max-width: 900px) {
  .cms-company-layout {
    grid-template-columns: 1fr;
  }

  .cms-housing-contact {
    min-height: 370px;
  }
}

@media (max-width: 560px) {
  .cms-company-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .cms-company-heading {
    margin-bottom: 24px;
  }

  .cms-company-facts {
    grid-template-columns: 1fr;
  }

  .cms-company-fact-wide {
    grid-column: auto;
  }

  .cms-company-fact {
    min-height: auto;
  }

  .cms-housing-contact {
    min-height: 0;
    padding: 24px 20px;
  }

  .legal-content .cms-contact-action {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .cms-contact-action strong {
    text-align: left;
  }
}