:root {
  --navy: #243B53;
  --navy-deep: #173047;
  --stone: #A67C52;
  --beige: #F4EFE8;
  --paper: #FAF8F4;
  --text: #334155;
  --muted: #667085;
  --olive: #A8B5A2;
  --warm-gray: #D8CEC2;
  --sea: #DCE8EE;
  --white: #ffffff;
  --danger: #b42318;
  --success: #28715b;
  --logo-brown: #5b4f47;
  --shadow: 0 24px 60px rgba(36, 59, 83, 0.14);
  --soft-shadow: 0 14px 30px rgba(36, 59, 83, 0.1);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Inter", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

section[id],
.apartment-detail {
  scroll-margin-top: 128px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  width: min(100% - 48px, 1240px);
  margin: 20px auto 0;
  padding: 10px 14px;
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background: rgba(250, 248, 244, 0.94);
  box-shadow: 0 12px 35px rgba(36, 59, 83, 0.08);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-140%);
  transition: background 180ms ease, box-shadow 180ms ease, opacity 220ms ease, transform 220ms ease;
}

.site-header.is-visible,
.site-header:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.94);
  box-shadow: var(--soft-shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: contain;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: 10px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: var(--stone);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.btn,
.language-button,
.language-menu button,
.text-link,
.icon-button {
  border: 0;
  border-radius: var(--radius);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: var(--white);
  background: var(--stone);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(166, 124, 82, 0.24);
}

.language-switcher {
  position: relative;
  justify-self: end;
}

.language-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  color: var(--navy);
  border: 1px solid rgba(166, 124, 82, 0.32);
  background: rgba(250, 248, 244, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-button svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.language-menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 86px;
  padding: 6px;
  border: 1px solid rgba(216, 206, 194, 0.9);
  border-radius: var(--radius);
  background: rgba(250, 248, 244, 0.96);
  box-shadow: var(--soft-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.language-switcher.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--navy);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button.is-active {
  color: var(--white);
  background: var(--stone);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: var(--sea);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 104px 24px 86px;
  color: var(--navy);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 28, 35, 0.68) 0%, rgba(20, 28, 35, 0.45) 34%, rgba(20, 28, 35, 0.08) 67%, rgba(20, 28, 35, 0) 100%),
    linear-gradient(180deg, rgba(20, 28, 35, 0.12) 0%, rgba(20, 28, 35, 0.04) 46%, rgba(250, 248, 244, 0.18) 100%);
}

.hero-logo {
  position: absolute;
  z-index: 3;
  top: 28px;
  right: 32px;
  display: inline-flex;
  width: 88px;
  height: 88px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 248, 244, 0.34);
  border-radius: var(--radius);
  background: rgba(91, 79, 71, 0.76);
  box-shadow: 0 18px 38px rgba(20, 28, 35, 0.22);
  backdrop-filter: blur(8px);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: contain;
}

.hero-inner {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  max-width: 940px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--stone);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 960px;
  margin: 0;
  color: var(--paper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 7.15vw, 6.9rem);
  font-weight: 700;
  line-height: 0.84;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.hero h1 span {
  display: block;
}

.script-line {
  margin-top: 12px;
  color: #e3bea0;
  font-family: "Allura", "Segoe Script", cursive;
  font-size: clamp(3.4rem, 5.6vw, 5.55rem);
  font-weight: 400;
  line-height: 0.88;
  white-space: nowrap;
}

.hero-copy {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(250, 248, 244, 0.92);
  font-size: 1.05rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.hero-actions,
.panel-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--stone);
  box-shadow: 0 16px 28px rgba(166, 124, 82, 0.22);
}

.btn-ghost {
  color: var(--paper);
  border: 1px solid rgba(250, 248, 244, 0.64);
  background: rgba(20, 28, 35, 0.12);
  backdrop-filter: blur(14px);
}

.btn-soft {
  color: var(--navy);
  background: var(--sea);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
  box-shadow: none;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--beige);
  border-bottom: 1px solid rgba(216, 206, 194, 0.7);
}

.benefit {
  min-height: 150px;
  padding: 34px 34px;
  text-align: center;
  border-right: 1px solid rgba(166, 124, 82, 0.22);
}

.benefit:last-child {
  border-right: 0;
}

.line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
  color: var(--stone);
}

.line-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.25;
}

.benefit h2,
.local-card h3,
.apartment-card h3,
.detail-info h3,
.booking-panel h3,
.site-footer h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1.05;
}

.benefit h2 {
  font-size: 1.55rem;
}

.benefit p {
  max-width: 230px;
  margin: 8px auto 0;
  font-size: 0.9rem;
}

.section-pad {
  padding: 82px 24px;
}

.apartments {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 2.1fr);
  gap: 52px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-intro h2,
.booking-intro h2,
.about-copy h2,
.location-copy h2,
.contact-intro h2,
.detail-header h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  font-weight: 700;
  line-height: 0.98;
}

.section-intro p,
.booking-intro p,
.about-copy p,
.location-copy p,
.contact-intro p,
.detail-header p {
  max-width: 520px;
  margin: 18px 0 0;
}

.section-intro .btn {
  margin-top: 28px;
}

.apartment-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.apartment-card,
.local-card,
.calendar-card,
.booking-panel,
.contact-form {
  border: 1px solid rgba(216, 206, 194, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 34px rgba(36, 59, 83, 0.08);
}

.apartment-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.apartment-card img {
  width: 100%;
  aspect-ratio: 4 / 3.05;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.apartment-card h3 {
  font-size: 1.75rem;
}

.mini-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 12px 0 16px;
  list-style: none;
  color: var(--muted);
  font-size: 0.84rem;
}

.mini-facts li {
  position: relative;
}

.mini-facts li + li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 3px;
  height: 3px;
  background: var(--stone);
  border-radius: 50%;
}

.card-note {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 0.9rem;
}

.card-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(166, 124, 82, 0.18);
}

.card-footer strong {
  color: var(--stone);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link::after {
  content: "->";
  margin-left: 8px;
  color: var(--stone);
}

.apartment-detail {
  width: min(100%, var(--max));
  margin: 0 auto;
  border-top: 1px solid rgba(166, 124, 82, 0.2);
}

.apartment-detail.is-hidden {
  display: none;
}

.detail-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 34px;
}

.detail-photo {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.photo-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 14px;
  color: var(--navy);
  border-radius: var(--radius);
  background: rgba(250, 248, 244, 0.86);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-info {
  display: grid;
  gap: 24px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fact-grid article {
  padding: 18px;
  border: 1px solid rgba(216, 206, 194, 0.78);
  border-radius: var(--radius);
  background: var(--beige);
}

.fact-grid span {
  display: block;
  color: var(--stone);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
}

.info-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.detail-info h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.detail-info ul,
.rules ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-info li {
  position: relative;
  padding-left: 20px;
}

.detail-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--olive);
  border-radius: 50%;
}

.rules {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--sea);
}

.booking-zone {
  margin-top: 68px;
}

.booking-intro {
  max-width: 760px;
  margin-bottom: 26px;
}

.booking-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
  gap: 24px;
}

.calendar-card,
.booking-panel {
  padding: 24px;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.calendar-toolbar h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  text-align: center;
}

.icon-button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--beige);
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.weekday-grid,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.weekday-grid {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.day-cell {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 86px;
  padding: 10px;
  color: var(--text);
  border: 1px solid rgba(216, 206, 194, 0.9);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.day-cell:not(:disabled):hover,
.day-cell:not(:disabled):focus-visible {
  border-color: var(--stone);
  transform: translateY(-1px);
}

.day-cell strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.day-cell span {
  color: var(--stone);
  font-size: 0.76rem;
  font-weight: 800;
}

.day-cell.is-today {
  border-color: var(--navy);
}

.day-cell.is-selected,
.day-cell.is-range {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.day-cell.is-selected strong,
.day-cell.is-selected span,
.day-cell.is-range strong,
.day-cell.is-range span {
  color: var(--white);
}

.day-cell.is-occupied {
  color: rgba(51, 65, 85, 0.58);
  background: #eee8df;
}

.day-cell.is-occupied::after {
  content: "Zauzeto";
  color: var(--danger);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.day-cell.is-past {
  cursor: not-allowed;
  opacity: 0.38;
}

.calendar-empty {
  min-height: 86px;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.calendar-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-free {
  background: var(--paper);
  border: 1px solid var(--warm-gray);
}

.legend-selected {
  background: var(--navy);
}

.legend-occupied {
  background: var(--warm-gray);
}

.booking-panel {
  align-self: start;
  position: sticky;
  top: 112px;
}

.panel-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.booking-panel h3 {
  font-size: 1.8rem;
}

.selection-summary {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--beige);
}

.selection-summary p {
  margin: 0;
}

.error-text {
  color: var(--danger);
  font-weight: 800;
}

.selection-summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.selection-summary .total {
  margin-top: 12px;
  color: var(--stone);
  font-size: 1.35rem;
  font-weight: 850;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(102, 112, 133, 0.24);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
  padding: 13px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--stone);
  box-shadow: 0 0 0 4px rgba(166, 124, 82, 0.14);
}

.photo-gallery-block {
  margin-top: 68px;
}

.gallery-heading {
  margin-bottom: 24px;
}

.gallery-heading .eyebrow {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-tile {
  overflow: hidden;
  min-height: 170px;
  border: 1px solid rgba(216, 206, 194, 0.8);
  border-radius: var(--radius);
  background: var(--beige);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.nearby {
  position: relative;
  overflow: hidden;
  background: var(--sea);
}

.nearby-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(36, 59, 83, 0.82), rgba(36, 59, 83, 0.24)),
    url("photos/apartmani-web/okolica/Lena_Christoph032.webp") center / cover;
  opacity: 0.92;
}

.nearby-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.4fr);
  gap: 46px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-intro.light h2,
.section-intro.light p {
  color: var(--white);
}

.nearby-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.local-card {
  overflow: hidden;
  background: rgba(250, 248, 244, 0.94);
}

.local-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.local-card div {
  padding: 18px;
}

.local-card span {
  color: var(--stone);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.local-card h3 {
  margin-top: 7px;
  font-size: 1.45rem;
}

.local-card p {
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.about,
.location,
.contact {
  display: grid;
  width: min(100%, var(--max));
  margin: 0 auto;
  gap: 46px;
}

.about {
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  align-items: center;
}

.about-copy {
  display: grid;
  justify-items: start;
}

.about-cta {
  justify-self: start;
  margin-top: 26px;
}

.about-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.location {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
}

.distance-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.distance-list div {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--beige);
}

.distance-list dt {
  color: var(--stone);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.distance-list dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.map-frame {
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(216, 206, 194, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 470px;
  border: 0;
}

.contact {
  grid-template-columns: minmax(350px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-row:first-child {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.form-error {
  min-height: 18px;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(216, 206, 194, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 14px 30px rgba(36, 59, 83, 0.07);
}

.contact-direct h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
}

.contact-direct a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  width: 100%;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  color: var(--navy);
  border: 1px solid rgba(166, 124, 82, 0.24);
  border-radius: var(--radius);
  background: var(--beige);
  font-weight: 800;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.contact-direct a:hover,
.contact-direct a:focus-visible {
  border-color: rgba(166, 124, 82, 0.58);
  background: var(--paper);
  transform: translateY(-1px);
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-socials a {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 7px;
  min-height: 54px;
  padding: 8px 9px;
}

.contact-socials .contact-icon {
  width: 32px;
  height: 32px;
}

.social-label {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1;
}

.contact-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  border-radius: 50%;
  background: rgba(166, 124, 82, 0.12);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.75;
}

.contact-direct small,
.contact-direct strong {
  display: block;
}

.contact-direct small {
  margin-bottom: 2px;
  color: var(--stone);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-direct strong {
  color: var(--navy);
  font-size: 0.86rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.has-error input,
.has-error textarea,
.has-error select {
  border-color: var(--danger);
}

.form-status {
  margin: 0;
  color: var(--success);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--danger);
}

.site-footer {
  margin-top: 40px;
  padding: 54px 24px 22px;
  color: rgba(255, 255, 255, 0.8);
  background: var(--navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr 1fr;
  gap: 34px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-brand img {
  width: 110px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1.35rem;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, var(--max));
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
}

.floating-socials {
  position: fixed;
  z-index: 45;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-float {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  color: var(--logo-brown);
  border: 1px solid rgba(91, 79, 71, 0.5);
  border-radius: 50%;
  background: rgba(250, 248, 244, 0.94);
  box-shadow: 0 18px 38px rgba(36, 59, 83, 0.18);
  backdrop-filter: blur(10px);
  transition: width 220ms ease, border-radius 220ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.social-float:hover,
.social-float:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(91, 79, 71, 0.82);
  box-shadow: 0 22px 44px rgba(36, 59, 83, 0.24);
}

.social-float svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}

.whatsapp-float svg {
  fill: currentColor;
  stroke: none;
}

.instagram-float svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.whatsapp-float span {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  transition: max-width 220ms ease, opacity 160ms ease;
}

@media (min-width: 761px) {
  .whatsapp-float:hover,
  .whatsapp-float:focus-visible {
    width: 154px;
    gap: 9px;
    border-radius: 999px;
  }

  .whatsapp-float:hover span,
  .whatsapp-float:focus-visible span {
    max-width: 90px;
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    width: min(100% - 28px, 760px);
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex;
    justify-self: end;
  }

  .language-switcher {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 14px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 18px;
    text-align: center;
  }

  .header-cta {
    display: none;
  }

  .apartments,
  .nearby-inner,
  .about,
  .location,
  .contact,
  .detail-layout,
  .booking-shell {
    grid-template-columns: 1fr;
  }

  .about-cta {
    justify-self: start;
  }

  .booking-panel {
    position: static;
  }

  .apartment-cards,
  .nearby-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    margin-top: 12px;
    border-radius: 12px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 96px;
    align-items: start;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(20, 28, 35, 0.62), rgba(20, 28, 35, 0.48) 48%, rgba(20, 28, 35, 0.18)),
      linear-gradient(90deg, rgba(20, 28, 35, 0.6), rgba(20, 28, 35, 0.18));
  }

  .hero-logo {
    top: 18px;
    right: 18px;
    width: 72px;
    height: 72px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .script-line {
    font-size: clamp(2.85rem, 12vw, 4.45rem);
    white-space: normal;
  }

  .benefits {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .benefit {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(166, 124, 82, 0.18);
  }

  .benefit:last-child {
    border-bottom: 0;
  }

  .section-pad {
    padding: 62px 18px;
  }

  .apartment-cards,
  .nearby-cards,
  .fact-grid,
  .info-columns,
  .distance-list,
  .form-row,
  .form-row:first-child,
  .detail-gallery,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-header,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-photo,
  .detail-photo img {
    min-height: 360px;
  }

  .calendar-card,
  .booking-panel,
  .contact-form {
    padding: 18px;
  }

  .contact-socials {
    grid-template-columns: 1fr;
  }

  .weekday-grid,
  .calendar-grid {
    gap: 5px;
  }

  .day-cell {
    min-height: 72px;
    padding: 8px 6px;
  }

  .day-cell span {
    font-size: 0.68rem;
  }

  .floating-socials {
    right: 16px;
    bottom: 16px;
  }

  .social-float {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 460px) {
  .calendar-toolbar {
    grid-template-columns: 38px 1fr 38px;
  }

  .calendar-toolbar h3 {
    font-size: 1.55rem;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .day-cell {
    min-height: 62px;
  }

  .day-cell span {
    display: none;
  }
}
