:root {
  --ivy: #173f35;
  --ivy-2: #315d4e;
  --sage: #d9ded0;
  --cream: #f6f0e5;
  --paper: #fffdf8;
  --terracotta: #b76b4c;
  --ink: #1b2924;
  --muted: #617069;
  --line: rgba(23, 63, 53, .17);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.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; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; min-height: 94px; padding: 20px clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; color: var(--ivy); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: var(--cream); background: var(--ivy); border-radius: 50% 50% 44% 56% / 42% 55% 45% 58%; font-style: italic; }
nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
nav a { color: var(--ivy); font-size: 14px; font-weight: 600; text-decoration: none; }
nav a:not(.nav-cta):hover { opacity: .65; }
.nav-cta { padding: 11px 21px; color: white; background: var(--ivy); border-radius: 30px; }
.menu-toggle { display: none; }

.hero { min-height: 810px; display: grid; grid-template-columns: minmax(360px, 48%) 1fr; background: var(--cream); }
.hero-art { position: relative; min-height: 810px; overflow: hidden; border-bottom-right-radius: 90px; }
.hero-art svg { width: 100%; height: 100%; object-fit: cover; }
.hero-art > p { position: absolute; left: 42px; bottom: 30px; margin: 0; padding: 13px 18px; color: white; background: rgba(23,63,53,.86); border-radius: 4px; font-size: 14px; line-height: 1.25; }
.hero-art > p span { font-size: 11px; opacity: .76; }
.hero-copy { padding: 175px clamp(35px, 6vw, 100px) 65px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--terracotta); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: .99; letter-spacing: -.035em; }
h1 { color: var(--ivy); font-size: clamp(58px, 6vw, 91px); }
h1 em { font-weight: 500; }
h2 { color: var(--ivy); font-size: clamp(45px, 5vw, 74px); }
.hero-lead { max-width: 560px; margin: 32px 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 28px; font-weight: 600; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--ivy); }
.button-primary:hover { background: var(--ivy-2); }
.button-light { color: var(--ivy); background: white; }
.text-link { color: var(--ivy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ivy); }
.quick-facts { margin: auto 0 0; padding-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid var(--line); }
.quick-facts div { padding-right: 10px; }
.quick-facts dt { color: var(--ivy); font-family: var(--serif); font-size: 25px; font-weight: 600; }
.quick-facts dd { margin: 1px 0 0; color: var(--muted); font-size: 12px; }

.section { padding: clamp(80px, 10vw, 150px) clamp(24px, 6vw, 96px); }
.intro { display: grid; grid-template-columns: .55fr 1.2fr .9fr; gap: 55px; align-items: start; }
.intro-copy p { max-width: 650px; margin: 38px 0 0; color: var(--muted); font-size: 18px; }
.photo-placeholder { min-height: 490px; margin-top: 70px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--cream); background: linear-gradient(155deg, var(--ivy-2), #7c927e); border-radius: 140px 140px 12px 12px; position: relative; overflow: hidden; }
.photo-placeholder::before, .photo-placeholder::after { content: ""; position: absolute; width: 240px; height: 360px; border: 3px solid rgba(255,255,255,.16); border-radius: 50%; transform: rotate(35deg); }
.photo-placeholder::before { top: -90px; right: -80px; }
.photo-placeholder::after { top: 20px; right: -130px; }
.photo-placeholder span { font-family: var(--serif); font-size: 27px; }
.photo-placeholder small { text-transform: uppercase; letter-spacing: .14em; opacity: .7; }

.location { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 130px); color: white; background: var(--ivy); }
.location h2, .location .eyebrow { color: var(--cream); }
.location-copy > p:not(.eyebrow) { max-width: 510px; margin: 32px 0 40px; color: #c5d2cd; font-size: 17px; }
.distance-list { margin: 0; padding: 0; list-style: none; }
.distance-list li { padding: 15px 0; display: flex; justify-content: space-between; gap: 25px; border-bottom: 1px solid rgba(255,255,255,.18); }
.distance-list strong { color: #d7b785; font-size: 14px; white-space: nowrap; }
.map-card { align-self: center; background: #e9e6da; border-radius: 8px; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,.18); }
.map-graphic { min-height: 420px; }
.map-graphic svg { width: 100%; height: 100%; min-height: 420px; }
.map-footer { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: var(--ink); background: #d9ded0; }
.map-footer span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.map-footer strong { color: var(--ivy); font-size: 14px; }

.parking { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(45px, 9vw, 140px); background: var(--cream); }
.parking-body > p:first-child { max-width: 720px; margin: 0 0 42px; font-family: var(--serif); font-size: clamp(23px, 2.2vw, 32px); line-height: 1.35; }
.parking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.parking-grid .parking-option { min-height: 225px; padding: 27px; background: var(--paper); }
.parking-grid span { color: var(--terracotta); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.parking-grid strong { display: block; margin: 13px 0 21px; color: var(--ivy); font-family: var(--serif); font-size: 28px; }
.parking-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.fine-print { margin-top: 22px !important; color: var(--muted); font-family: var(--sans) !important; font-size: 12px !important; }

.booking { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 150px); color: white; background: var(--ivy); }
.booking h2, .booking .eyebrow { color: white; }
.booking > div:first-child > p:last-child { max-width: 460px; margin-top: 30px; color: white; }
.contacts { border-top: 1px solid rgba(255,255,255,.35); }
.contacts .contact-item { padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.contacts .contact-item > span { display: block; margin-bottom: 9px; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; opacity: .75; }
.contacts .contact-item > a { font-family: var(--serif); font-size: clamp(31px, 4vw, 53px); text-decoration: none; }
.contacts .contact-item div { margin-top: 18px; display: flex; gap: 25px; }
.contacts .contact-item div a { font-size: 13px; font-weight: 600; text-underline-offset: 5px; }

footer { padding: 32px clamp(24px, 6vw, 96px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; color: var(--muted); background: var(--paper); font-size: 12px; }
footer p:last-child { text-align: right; }
.footer-brand { color: var(--ivy); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 42% 58%; }
  .hero-copy { padding-left: 35px; padding-right: 30px; }
  .intro { grid-template-columns: .3fr 1fr; }
  .photo-placeholder { grid-column: 2; width: min(100%, 530px); }
  .location, .parking, .booking { grid-template-columns: 1fr; }
  .parking-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .quick-facts { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .site-header { min-height: 74px; position: absolute; }
  .menu-toggle { width: 42px; height: 42px; padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; border-radius: 50%; background: var(--paper); }
  .menu-toggle span:not(.sr-only) { width: 100%; height: 2px; background: var(--ivy); }
  nav { position: absolute; top: 68px; left: 18px; right: 18px; padding: 24px; display: none; flex-direction: column; align-items: stretch; color: var(--ivy); background: var(--paper); border-radius: 8px; box-shadow: 0 20px 60px rgba(23,63,53,.2); }
  nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { display: flex; flex-direction: column; }
  .hero-art { min-height: 480px; height: 58vh; border-radius: 0 0 54px 0; }
  .hero-copy { padding: 65px 24px 55px; }
  h1 { font-size: clamp(49px, 14vw, 68px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .quick-facts { margin-top: 55px; }
  .quick-facts dt { font-size: 20px; }
  .quick-facts dd { font-size: 10px; }
  .section { padding: 78px 24px; }
  .intro { display: block; }
  .intro h2, h2 { font-size: 46px; }
  .intro-copy p { font-size: 16px; }
  .photo-placeholder { min-height: 410px; margin-top: 50px; }
  .location { gap: 55px; }
  .map-graphic, .map-graphic svg { min-height: 350px; }
  .map-footer { align-items: stretch; flex-direction: column; }
  .parking-grid { grid-template-columns: 1fr; }
  .parking-grid .parking-option { min-height: 170px; }
  .contacts .contact-item > a { font-size: 32px; }
  .contacts .contact-item div { align-items: flex-start; flex-direction: column; gap: 9px; }
  footer { padding-bottom: 32px; grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-content: center; }
  footer p { margin: 0; }
  footer p:last-child { text-align: center; }
}

/* Některé telefony používají bez viewport meta široký layout viewport. */
@media (max-width: 1100px) {
  .site-header .brand {
    width: 150px !important;
    height: 85px !important;
    padding: 5px 7px !important;
    box-sizing: border-box !important;
  }
  .site-header .brand-logo {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Photographic redesign based on the Apartment Ivy house and interior */
.site-header .brand {
  padding: 7px 14px 7px 7px;
  background: rgba(255, 253, 248, .9);
  border-radius: 28px;
  backdrop-filter: blur(10px);
}

.hero-art { margin: 0; background: var(--ivy); }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 34, 28, .48));
  pointer-events: none;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-art figcaption {
  position: absolute;
  z-index: 1;
  left: 42px;
  bottom: 30px;
  padding: 14px 18px;
  color: white;
  background: rgba(15, 55, 46, .88);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}
.hero-art figcaption span { font-size: 11px; opacity: .76; }

.intro-photo { margin: 70px 0 0; }
.intro-photo img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 8px; }
.intro-photo figcaption { max-width: 330px; margin-top: 15px; color: var(--muted); font-size: 12px; }

.gallery { padding-top: 45px; background: var(--paper); }
.gallery-heading { margin: 0 0 65px; display: grid; grid-template-columns: 1.25fr .75fr; column-gap: 70px; align-items: end; }
.gallery-heading .eyebrow { grid-column: 1 / -1; }
.gallery-heading h2 em { font-weight: 500; }
.gallery-heading > p:last-child { max-width: 500px; margin: 0 0 6px; color: var(--muted); font-size: 17px; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 310px 270px 330px; gap: 15px; }
.gallery-grid figure { position: relative; margin: 0; overflow: hidden; background: var(--sage); }
.gallery-grid figure::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .25); pointer-events: none; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid figure:hover img { transform: scale(1.025); }
.gallery-living { grid-column: 1 / 8; grid-row: 1 / 3; border-radius: 90px 4px 4px 4px; }
.gallery-kitchen { grid-column: 8 / 13; grid-row: 1; border-radius: 4px 90px 4px 4px; }
.gallery-bedroom { grid-column: 8 / 13; grid-row: 2; }
.gallery-hall { grid-column: 1 / 4; grid-row: 3; border-radius: 4px 4px 4px 90px; }
.gallery-bath { grid-column: 4 / 9; grid-row: 3; }
.gallery-door { grid-column: 9 / 13; grid-row: 3; border-radius: 4px 4px 90px 4px; }

.parking {
  background: var(--cream);
}
.footer-brand { padding: 0; background: transparent; backdrop-filter: none; }

@media (max-width: 980px) {
  .intro-photo { grid-column: 2; width: min(100%, 530px); }
}

@media (max-width: 720px) {
  .site-header .brand { padding-right: 12px; }
  .hero-art figcaption { left: 22px; bottom: 28px; }
  .intro-photo { width: 100%; margin-top: 50px; }
  .intro-photo img { border-radius: 6px; }
  .gallery-heading { display: block; margin-bottom: 42px; }
  .gallery-heading > p:last-child { margin-top: 27px; font-size: 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 230px 270px 290px; gap: 8px; }
  .gallery-living { grid-column: 1 / -1; grid-row: 1; border-radius: 52px 4px 4px 4px; }
  .gallery-kitchen { grid-column: 1; grid-row: 2; border-radius: 4px; }
  .gallery-bedroom { grid-column: 2; grid-row: 2; }
  .gallery-hall { grid-column: 1; grid-row: 3; border-radius: 4px; }
  .gallery-bath { grid-column: 2; grid-row: 3; }
  .gallery-door { grid-column: 1 / -1; grid-row: 4; border-radius: 4px 4px 52px 4px; }
}
/* Language selector, Google map and non-italic typography */
h1, h2, h1 em, h2 em { font-style: normal; }
nav { gap: clamp(12px, 1.45vw, 24px); }
.language-picker { display: inline-flex; align-items: center; }
.language-picker select {
  width: 108px;
  min-height: 39px;
  padding: 0 30px 0 12px;
  color: var(--ivy);
  background: rgba(255, 253, 248, .72);
  border: 1px solid var(--line);
  border-radius: 22px;
  font: 600 12px var(--sans);
  cursor: pointer;
}
.map-frame { height: 440px; background: #d9ded0; }
.map-frame iframe { display: block; width: 100%; height: 100%; filter: saturate(.78) contrast(.96); }
.parking-notice {
  margin: 22px 0 0;
  padding: 17px 20px;
  color: var(--ivy);
  background: rgba(255, 253, 248, .8);
  border-left: 4px solid var(--terracotta);
  font-size: 14px;
  font-weight: 600;
}
html[data-lang="zh"] h1, html[data-lang="zh"] h2,
html[data-lang="ja"] h1, html[data-lang="ja"] h2 {
  font-family: "Noto Serif CJK SC", "Yu Mincho", "Hiragino Mincho ProN", serif;
  letter-spacing: 0;
  line-height: 1.12;
}
html[data-lang="zh"] body, html[data-lang="ja"] body { word-break: normal; }

@media (max-width: 1120px) and (min-width: 721px) {
  .site-header { padding-left: 28px; padding-right: 28px; }
  nav { gap: 10px; }
  nav a { font-size: 12px; }
  .language-picker select { width: 90px; }
}

@media (max-width: 720px) {
  .language-picker { width: 100%; }
  .language-picker select { width: 100%; min-height: 44px; }
  .map-frame { height: 350px; }
  .parking-notice { font-size: 13px; }
}
/* Apartment Ivy supplied logo */
.brand-logo { display: block; width: 174px; height: auto; }
.site-header .brand { padding: 2px 10px; }
.footer-brand .brand-logo { width: 190px; }

@media (max-width: 720px) {
  .brand-logo { width: 150px; }
  .site-header .brand { padding: 2px 8px; }
  .footer-brand .brand-logo { width: 180px; }
}
/* Expanded gallery */
.gallery-more { padding-top: 0; background: var(--paper); }
.gallery-grid-more { margin-top: 0; grid-template-rows: repeat(4, 290px); }
.gallery-grid-more .more-1 { grid-column: 1 / 5; grid-row: 1; border-radius: 70px 4px 4px 4px; }
.gallery-grid-more .more-2 { grid-column: 5 / 9; grid-row: 1; }
.gallery-grid-more .more-3 { grid-column: 9 / 13; grid-row: 1; border-radius: 4px 70px 4px 4px; }
.gallery-grid-more .more-4 { grid-column: 1 / 7; grid-row: 2; }
.gallery-grid-more .more-5 { grid-column: 7 / 10; grid-row: 2; }
.gallery-grid-more .more-6 { grid-column: 10 / 13; grid-row: 2; }
.gallery-grid-more .more-7 { grid-column: 1 / 4; grid-row: 3; }
.gallery-grid-more .more-8 { grid-column: 4 / 9; grid-row: 3; }
.gallery-grid-more .more-9 { grid-column: 9 / 13; grid-row: 3; }
.gallery-grid-more .more-10 { grid-column: 1 / 7; grid-row: 4; border-radius: 4px 4px 4px 70px; }
.gallery-grid-more .more-11 { grid-column: 7 / 13; grid-row: 4; border-radius: 4px 4px 70px 4px; }

/* WhatsApp identity */
.whatsapp-link { display: inline-flex; align-items: center; gap: 7px; }
.whatsapp-icon { width: 17px; height: 17px; flex: 0 0 auto; fill: currentColor; }

/* Reservation inquiry form */
.inquiry { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 9vw, 145px); background: #e3e7dc; }
.inquiry-heading > p:last-child { max-width: 440px; margin-top: 30px; color: var(--muted); }
.reservation-form { padding: clamp(28px, 4vw, 52px); background: var(--paper); border-radius: 8px 80px 8px 8px; box-shadow: 0 24px 70px rgba(23, 63, 53, .09); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.form-grid > label, .form-grid > .date-field { display: flex; flex-direction: column; gap: 8px; color: var(--ivy); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.date-field > label { color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 5px; font: 400 15px var(--sans); text-transform: none; outline: none; transition: border-color .2s, box-shadow .2s; }
.form-grid input, .form-grid select { min-height: 49px; }
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--ivy-2); box-shadow: 0 0 0 3px rgba(49, 93, 78, .12); }
.form-grid .field-note { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1.45; text-transform: none; }
.form-message { grid-column: 1 / -1; }
.form-consent { margin: 22px 0 0; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; }
.form-consent input { margin-top: 3px; accent-color: var(--ivy); }
.form-status { min-height: 22px; margin: 12px 0; color: #9c3e2d; font-size: 13px; font-weight: 600; }
.form-submit { border: 0; color: white; background: #217a4d; font: 600 14px var(--sans); cursor: pointer; }
.form-submit:hover { background: #17633d; }

@media (max-width: 980px) {
  .inquiry { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .gallery-more { padding-top: 0; }
  .gallery-grid-more { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 230px; }
  .gallery-grid-more > figure { grid-column: auto !important; grid-row: auto !important; border-radius: 4px !important; }
  .gallery-grid-more > figure:nth-child(4), .gallery-grid-more > figure:nth-child(10) { grid-column: 1 / -1 !important; }
  .gallery-grid-more > figure:first-child { border-radius: 45px 4px 4px 4px !important; }
  .gallery-grid-more > figure:last-child { border-radius: 4px 4px 45px 4px !important; }
  .reservation-form { padding: 25px 18px; border-radius: 6px 52px 6px 6px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-message { grid-column: auto; }
  .form-submit { width: 100%; }
}
/* Reservation delivery choices */
.form-grid label > span small { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .form-submit { display: inline-flex; gap: 8px; }
.form-submit-email { background: var(--terracotta); }
.form-submit-email:hover { background: #99533b; }
.email-icon { width: 19px; height: 19px; flex: 0 0 auto; fill: currentColor; }

@media (max-width: 720px) {
  .form-actions { flex-direction: column; }
  .form-actions .form-submit { width: 100%; }
}
/* Localized calendar */
.date-picker { position: relative; display: flex; align-items: center; }
.date-picker .date-display { padding-right: 48px; cursor: pointer; }
.date-toggle { position: absolute; right: 7px; top: 50%; width: 36px; height: 36px; padding: 8px; display: grid; place-items: center; color: var(--ivy); background: transparent; border: 0; border-radius: 50%; transform: translateY(-50%); cursor: pointer; }
.date-toggle:hover { background: rgba(23, 63, 53, .08); }
.date-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.calendar-popover { position: absolute; z-index: 60; top: calc(100% + 9px); left: 0; width: 320px; padding: 16px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 20px 55px rgba(23, 63, 53, .22); text-transform: none; letter-spacing: 0; }
.calendar-popover[hidden] { display: none; }
.calendar-header { margin-bottom: 12px; display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; gap: 4px; }
.calendar-header strong { color: var(--ivy); font-family: var(--serif); font-size: 17px; text-align: center; text-transform: capitalize; }
.calendar-nav { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ivy); background: var(--cream); border: 0; border-radius: 50%; font-size: 23px; cursor: pointer; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.calendar-weekdays { margin-bottom: 5px; }
.calendar-weekdays span { padding: 3px 0; color: var(--muted); font-size: 10px; font-weight: 600; text-align: center; text-transform: uppercase; }
.calendar-day, .calendar-blank { aspect-ratio: 1; }
.calendar-day { display: grid; place-items: center; color: var(--ink); background: transparent; border: 0; border-radius: 50%; font: 500 12px var(--sans); cursor: pointer; }
.calendar-day:hover:not(:disabled) { color: white; background: var(--ivy-2); }
.calendar-day.today { box-shadow: inset 0 0 0 1px var(--terracotta); }
.calendar-day.selected { color: white; background: var(--ivy); box-shadow: none; }
.calendar-day:disabled { color: #b8beb9; cursor: not-allowed; }

@media (max-width: 720px) {
  .calendar-popover { width: min(320px, calc(100vw - 84px)); }
}
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-submit:disabled {
  cursor: wait;
  opacity: .65;
}

.form-status.is-success { color: #2f6b50; }
.form-status.is-error { color: #a33a32; }


/* Privacy, cookies and external-content consent */
.map-placeholder { min-height: 440px; padding: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--ivy); background: linear-gradient(145deg, #d9ded0, #eee9dd); }
.map-placeholder strong { max-width: 470px; font-family: var(--serif); font-size: clamp(23px, 2.4vw, 34px); line-height: 1.2; }
.map-placeholder p { max-width: 540px; margin: 16px 0 22px; color: var(--muted); font-size: 14px; }
.map-consent-button { border: 1px solid var(--line); cursor: pointer; }
.pet-policy { margin: 22px 0 0; padding: 14px 17px; color: var(--ivy); background: var(--cream); border-left: 4px solid var(--terracotta); border-radius: 0 5px 5px 0; font-size: 13px; font-weight: 600; }
.form-privacy-note, .form-external-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.form-privacy-note a { color: var(--ivy); font-weight: 600; text-underline-offset: 3px; }
.form-external-note { margin-top: 6px; }
.footer-meta { text-align: center; }
.footer-meta p { margin: 0; }
.footer-links { margin-top: 5px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a, .footer-links button { padding: 0; color: var(--muted); background: none; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-banner { position: fixed; z-index: 1000; left: 50%; bottom: 18px; width: min(900px, calc(100% - 30px)); padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; color: var(--ink); background: rgba(255, 253, 248, .98); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 80px rgba(23, 63, 53, .24); transform: translateX(-50%); backdrop-filter: blur(10px); }
.cookie-banner[hidden] { display: none; }
.cookie-copy strong { color: var(--ivy); font-family: var(--serif); font-size: 20px; }
.cookie-copy p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cookie-copy a { color: var(--ivy); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-button { min-height: 44px; padding: 0 17px; color: white; background: var(--terracotta); border: 1px solid var(--terracotta); border-radius: 24px; font: 600 13px var(--sans); cursor: pointer; white-space: nowrap; }
.cookie-button-primary { color: white; background: var(--ivy); border-color: var(--ivy); }
.cookie-button:hover { transform: translateY(-1px); }

@media (max-width: 720px) {
  .cookie-banner { bottom: 10px; padding: 17px; grid-template-columns: 1fr; gap: 14px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-button { width: 100%; }
  .map-placeholder { min-height: 350px; padding: 24px 18px; }
  .footer-meta { display: flex; flex-direction: column; align-items: center; }
}


/* Privacy information pages */
.privacy-page { min-height: 100vh; background: var(--cream); }
.privacy-header { padding: 22px clamp(24px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
.privacy-header .brand-logo { width: 160px; }
.privacy-back { color: var(--ivy); font-size: 13px; font-weight: 600; text-underline-offset: 4px; }
.privacy-main { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: clamp(62px, 9vw, 110px) 0; }
.privacy-main h1 { max-width: 820px; font-size: clamp(44px, 7vw, 78px); line-height: 1.04; }
.privacy-updated { margin: 18px 0 0; color: var(--terracotta); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.privacy-intro { max-width: 760px; margin: 28px 0 55px; color: var(--muted); font-size: 18px; }
.privacy-section { padding: 30px 0; border-top: 1px solid var(--line); }
.privacy-section h2 { margin-bottom: 16px; font-family: var(--sans); font-size: 20px; line-height: 1.3; letter-spacing: 0; }
.privacy-section p { margin: 0; color: var(--muted); font-size: 15px; }
.privacy-section a { color: var(--ivy); font-weight: 600; }
.privacy-actions { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 14px; }
.privacy-actions a { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; color: white; background: var(--ivy); border-radius: 26px; font-weight: 600; text-decoration: none; }
.privacy-actions a:last-child { color: var(--ivy); background: var(--paper); border: 1px solid var(--line); }
.privacy-footer { padding: 28px; color: var(--muted); background: var(--paper); text-align: center; font-size: 12px; }
@media (max-width: 720px) { .privacy-header { align-items: flex-start; } .privacy-header .brand-logo { width: 135px; } .privacy-main { width: min(100% - 30px, 900px); } }


/* Map consent overlay fix: author CSS must not override the hidden state. */
.map-placeholder[hidden],
.map-frame.has-external-map .map-placeholder { display: none !important; }

/* Unified corner-radius system — 2026-07-25 */
:root {
  --radius-card: 24px;
  --radius-small: 12px;
}

/* Main content surfaces */
.map-card,
.reservation-form,
.intro-photo img,
.parking-grid,
.cookie-banner {
  border-radius: var(--radius-card);
}

.parking-grid {
  overflow: hidden;
}

/* Smaller overlays and notices */
.hero-art figcaption,
.map-placeholder,
.calendar-popover,
nav,
.parking-notice,
.pet-policy {
  border-radius: var(--radius-small);
}

/* Keep the coloured left accent while rounding the notice */
.parking-notice,
.pet-policy {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

@media (max-width: 720px) {
  .reservation-form,
  .map-card,
  .intro-photo img,
  .parking-grid,
  .cookie-banner {
    border-radius: 18px;
  }

  .hero-art figcaption,
  .map-placeholder,
  .calendar-popover,
  nav,
  .parking-notice,
  .pet-policy {
    border-radius: 10px;
  }

  .parking-notice,
  .pet-policy {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

/* Layout, language picker and location list refinements — 2026-07-25 */

/* Keep the composition readable on ultra-wide and 4K displays. */
html {
  background: #e9e7df;
}

body {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  overflow-x: hidden;
  box-shadow: 0 0 70px rgba(23, 63, 53, .10);
}

/* Walking times use the same visual colour as their destinations. */
.distance-list strong {
  color: inherit;
  font-size: 14px;
  font-weight: 600;
}

/* Give every language name enough room and align it with the header controls. */
.language-picker select {
  width: 142px;
  min-height: 42px;
  padding: 0 34px 0 13px;
  font-size: 13px;
  line-height: 1.2;
}

@media (max-width: 1120px) and (min-width: 721px) {
  .language-picker select {
    width: 124px;
    min-height: 40px;
    padding-left: 10px;
    padding-right: 28px;
    font-size: 12px;
  }
}

@media (max-width: 720px) {
  body {
    box-shadow: none;
  }

  .language-picker select {
    width: 100%;
    min-height: 46px;
    padding-left: 14px;
    font-size: 14px;
  }
}

/* Language arrow and viewport-aligned hero — 2026-07-25 */
@media (min-width: 721px) {
  /* The opening composition reaches the bottom edge of the visible window. */
  .hero,
  .hero-art {
    min-height: 100vh;
    min-height: 100svh;
  }
}

/* Replace the browser arrow so its horizontal position is consistent. */
.language-picker select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M2 2l4 4 4-4' fill='none' stroke='%23173f35' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 25px) 50%;
  background-size: 12px 8px;
}

@media (max-width: 1120px) and (min-width: 721px) {
  .language-picker select {
    padding-right: 40px;
    background-position: calc(100% - 21px) 50%;
  }
}

@media (max-width: 720px) {
  .language-picker select {
    padding-right: 46px;
    background-position: calc(100% - 23px) 50%;
  }
}

/* House photo caption refinement — 2026-07-25 */
.hero-art figcaption {
  color: var(--ivy);
  background: rgba(246, 240, 229, .72);
  border: 1px solid rgba(255, 253, 248, .42);
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(7, 34, 28, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-art figcaption span {
  color: inherit;
  font-size: 13px;
  opacity: .82;
}

.hero-art figcaption .caption-main {
  font-size: 15px;
  font-weight: 600;
  opacity: 1;
}

@media (max-width: 720px) {
  .hero-art figcaption {
    font-size: 14px;
  }

  .hero-art figcaption span {
    font-size: 12px;
  }

  .hero-art figcaption .caption-main {
    font-size: 14px;
  }
}

/* Reservation action buttons — aligned right, light by default, green on hover — 2026-07-25 */
.form-actions {
  justify-content: flex-end;
}

.form-actions .form-submit,
.form-actions .form-submit-email {
  color: var(--ivy);
  background: rgba(255, 253, 248, .72);
  border: 1px solid rgba(23, 63, 53, .24);
  box-shadow: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.form-actions .form-submit:hover,
.form-actions .form-submit:focus-visible,
.form-actions .form-submit-email:hover,
.form-actions .form-submit-email:focus-visible {
  color: #fff;
  background: var(--ivy);
  border-color: var(--ivy);
}

.form-actions .form-submit:active,
.form-actions .form-submit-email:active {
  transform: translateY(1px);
}

@media (max-width: 720px) {
  .form-actions {
    align-items: stretch;
  }
}

/* WhatsApp link placed inside the footer */
.footer-whatsapp {
  margin-top: 12px;
  justify-content: center;
  color: var(--ivy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.footer-whatsapp:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Contact booking section: unified green background and white typography */
.booking,
.booking h2,
.booking .eyebrow,
.booking p,
.booking span,
.booking a { color: white; }


/* Instagram identity */
.instagram-link { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.instagram-mark { position: relative; display: inline-block; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 5px; flex: 0 0 auto; }
.instagram-mark::before { content: ""; position: absolute; width: 6px; height: 6px; left: 4px; top: 4px; border: 2px solid currentColor; border-radius: 50%; }
.instagram-mark::after { content: ""; position: absolute; width: 3px; height: 3px; right: 2px; top: 2px; background: currentColor; border-radius: 50%; }

.booking { background: #B76B4C !important; }

.instagram-icon { width: 14px; height: 14px; flex: 0 0 auto; }

/* Final header and contact corrections */
.booking { background: #B76B4C !important; }
nav .instagram-link { display: inline-flex !important; flex-direction: row !important; align-items: center !important; gap: 5px !important; }
nav .instagram-icon { display: block !important; width: 13px !important; min-width: 13px !important; max-width: 13px !important; height: 13px !important; }
nav .instagram-link > span { display: inline !important; }
.footer-links .instagram-icon { width: 14px !important; height: 14px !important; }
/* Footer social links */
.footer-socials { margin-top: 12px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; }
.footer-socials > a { display: inline-flex; align-items: center; gap: 7px; color: var(--ivy); font-size: 13px; font-weight: 600; text-decoration: none; }
.footer-socials > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-socials .footer-whatsapp { margin-top: 0; }
.footer-socials .instagram-icon { width: 16px !important; min-width: 16px; max-width: 16px; height: 16px !important; }
/* Jemnější sazba krátkých zakončení odstavců. */
.location-copy > p:not(.eyebrow) { max-width: 570px; }
.parking-body > p:first-child { max-width: 820px; }

/* New circular Apartment Ivy logo */
.brand-logo { width: 78px !important; height: 78px !important; aspect-ratio: 1 / 1; object-fit: contain; }
.site-header .brand { padding: 0 !important; gap: 10px; }
.footer-brand .brand-logo { width: 112px !important; height: 112px !important; }
.privacy-header .brand-logo { width: 92px !important; height: 92px !important; }
@media (max-width: 720px) {
  .brand-logo { width: 68px !important; height: 68px !important; }
  .footer-brand .brand-logo { width: 96px !important; height: 96px !important; }
  .privacy-header .brand-logo { width: 78px !important; height: 78px !important; }
}
 /* v4 logo geometry: keep current Instagram layout; remove the white cornered wrapper */ .site-header .brand { padding: 0 !important; background: transparent !important; border-radius: 0 !important; backdrop-filter: none !important; } .site-header .brand-logo { width: 174px !important; height: 174px !important; border-radius: 50%; object-fit: cover; overflow: hidden; } .footer-brand .brand-logo, .privacy-header .brand-logo { border-radius: 50%; overflow: hidden; } @media (max-width: 720px) { .site-header .brand-logo { width: 150px !important; height: 150px !important; } }

/* Původní široké logo Apartment Ivy – poslední oprava bez ořezu. */
.site-header .brand {
  width: 238px !important;
  height: 134px !important;
  flex: 0 0 auto;
  justify-content: center;
  padding: 8px 12px !important;
  background: rgba(255, 253, 248, .92) !important;
  border-radius: 28px !important;
  backdrop-filter: blur(10px) !important;
}
.site-header .brand-logo {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center;
  overflow: visible !important;
}

/* Mobil: logo nesmí zabrat celou šířku obrazovky. */
@media (max-width: 720px) {
  .site-header .brand {
    width: min(180px, calc(100vw - 32px)) !important;
    height: 102px !important;
    padding: 6px 9px !important;
    box-sizing: border-box !important;
  }
  .site-header .brand-logo {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
}
.footer-brand .brand-logo,
.privacy-header .brand-logo {
  height: auto !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  overflow: visible !important;
}
@media (max-width: 720px) {
  .site-header .brand {
    width: 190px !important;
    height: 108px !important;
    padding: 6px 9px !important;
  }
  .site-header .brand-logo { width: 100% !important; height: 100% !important; }
/* Apartment Ivy – oprava širokého loga v aktuálním styles-v21.css */
.site-header .brand {
  width: 238px !important;
  height: 134px !important;
  flex: 0 0 auto !important;
  justify-content: center !important;
  padding: 8px 12px !important;
  background: rgba(255,253,248,.92) !important;
  border-radius: 28px !important;
  overflow: visible !important;
}
    .site-header .brand-logo {
      display: block !important;
      width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
      overflow: visible !important;
    }

    /* Úplně poslední pravidlo: dotykové telefony nesmí použít desktopových 298px. */
    @media (pointer: coarse) {
      .site-header .brand {
        width: 150px !important;
        height: 85px !important;
        padding: 5px 7px !important;
        box-sizing: border-box !important;
      }
      .site-header .brand-logo {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
      }
    }

/* Mobilní zařízení se širokým layout viewportem. */
@media (max-width: 1100px) {
  .site-header .brand {
    width: 150px !important;
    height: 85px !important;
    padding: 5px 7px !important;
    box-sizing: border-box !important;
  }
  .site-header .brand-logo {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
}
.footer-brand .brand-logo,
.privacy-header .brand-logo {
  border-radius: 0 !important;
  object-fit: contain !important;
  overflow: visible !important;
}
@media (max-width: 720px) {
  .site-header .brand {
    width: 190px !important;
    height: 108px !important;
    padding: 6px 9px !important;
  }
}

}

/* Finální oprava původního širokého loga: celé logo, průsvitný podklad. */
.site-header .brand {
  width: 298px !important;
  height: 168px !important;
  padding: 10px 14px !important;
  overflow: visible !important;
}

/* Dotykové telefony: finální přepsání desktopového rozměru. */
@media (pointer: coarse) {
  .site-header .brand {
    width: 150px !important;
    height: 85px !important;
    padding: 5px 7px !important;
    box-sizing: border-box !important;
  }
  .site-header .brand-logo {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
}
.site-header .brand-logo {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
/* Mobilní logo – skutečně malé */
@media screen and (max-width: 720px) {
  .site-header .brand {
    width: 96px !important;
    height: 55px !important;
    min-width: 96px !important;
    padding: 3px 5px !important;
    border-radius: 14px !important;
  }

  .site-header .brand-logo {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
}
