@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #f5f3ee;
  --bg-soft: #efebe4;
  --surface: #fffdf9;
  --surface-2: #f8f5ef;
  --text: #25323a;
  --muted: #6d7b83;
  --line: #e5dfd4;
  --brand: #8ea79e;
  --brand-deep: #738a82;
  --sand: #d9cdbd;
  --max: 1160px;
  --radius: 0px;
  --shadow: 0 20px 45px rgba(51, 66, 73, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(65rem 30rem at 100% -10%, rgba(142, 167, 158, 0.22), transparent),
    radial-gradient(55rem 28rem at -10% 6%, rgba(217, 205, 189, 0.3), transparent),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  line-height: 1.6;
  letter-spacing: 0.01em;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(245, 243, 238, 0.78);
  border-bottom: 1px solid rgba(229, 223, 212, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 182px;
  max-width: 100%;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.menu a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.2rem 0.15rem 0.34rem;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  right: 0.15rem;
  bottom: -0.08rem;
  height: 2px;
  background: linear-gradient(90deg, #cbb47d, #bfa466);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.menu a.active,
.menu a:hover {
  color: #ad9456;
  border-color: rgba(191, 164, 102, 0.28);
  background: rgba(203, 180, 125, 0.09);
}

.menu a.active::after,
.menu a:hover::after {
  transform: scaleX(1);
}

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.lang a {
  padding: 0.38rem 0.82rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.lang a.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

main {
  padding: 2.2rem 0 3.7rem;
}

main.main-home {
  padding-top: 0;
}

.card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(229, 223, 212, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1rem;
  align-items: stretch;
}

.hero.hero-home {
  grid-template-columns: 0.84fr 1.16fr;
}

.hero-copy {
  padding: 2.15rem;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.58), rgba(142, 167, 158, 0.09)),
    linear-gradient(180deg, var(--surface), var(--surface-2));
}

.hero-copy h1 {
  margin: 0.28rem 0 0.58rem;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.1rem, 4.1vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #2a363d;
}

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
  color: var(--brand-deep);
  font-weight: 700;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.02rem;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0.74rem 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(140deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 12px 24px rgba(115, 138, 130, 0.25);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
  color: #33424a;
}

.hero-media {
  min-height: 28rem;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(35, 48, 56, 0.24), rgba(35, 48, 56, 0.17)),
    url("./images/170664923265b96690891c2.jpg") center/cover;
  position: relative;
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: auto;
  bottom: auto;
  max-width: 24rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 0;
  color: #29363e;
  backdrop-filter: blur(6px);
  padding: 0.95rem 1.05rem 0.9rem 1.05rem;
  box-shadow: 0 12px 26px rgba(22, 31, 36, 0.14);
  border-left: 3px solid rgba(142, 167, 158, 0.95);
  letter-spacing: 0.01em;
}

.badge strong {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.28rem;
  color: #2d3c44;
}

.section {
  margin-top: 1.15rem;
  padding: 1.5rem;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 2.5rem);
  letter-spacing: -0.01em;
  color: #2e3b43;
}

.section p {
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.feature {
  padding: 1.15rem;
}

.feature h3 {
  margin: 0 0 0.42rem;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 1.08rem;
  color: #2f3c44;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}

.gallery-grid .tile {
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(229, 223, 212, 0.95);
}

.gallery-grid .tile.tall {
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-grid .tile:hover img {
  transform: scale(1.02);
}

.gallery-section + .gallery-section {
  margin-top: 1rem;
}

.travel-block {
  margin-top: 1rem;
}

.home-cover {
  position: relative;
  min-height: 37rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.home-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(24, 33, 38, 0.24), rgba(24, 33, 38, 0.1));
}

.home-cover-hu {
  background-image: url("./images/170664923265b96690891c2.jpg");
}

.home-cover-en {
  background-image: url("./images/170664923265b96690891c2.jpg");
}

.home-cover-inner {
  position: relative;
  min-height: 37rem;
}

.home-cover-logo {
  position: absolute;
  right: 0.8rem;
  top: 1.2rem;
  width: min(434px, 42vw);
  height: auto;
}

.home-story {
  margin-top: -3rem;
  position: relative;
  z-index: 4;
}

.home-story h1 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.home-story h3 {
  margin-top: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #2f3d45;
}

.footer.footer-rich {
  border-top: 0;
  margin-top: 1.2rem;
  padding-top: 1.6rem;
  background: #efede7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.55fr;
  gap: 1.35rem;
  margin-bottom: 1rem;
  align-items: start;
}

.footer-nav {
  display: grid;
  gap: 0.38rem;
}

.footer-nav a {
  color: #515f67;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-docs {
  display: grid;
  gap: 0.34rem;
}

.footer-docs a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #4a5a63;
  font-weight: 600;
}

.footer-docs p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.footer-social {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}

.footer-social a {
  color: #4f5d66;
  font-weight: 700;
  font-size: 0.9rem;
}

.travel-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
}

.travel-image {
  overflow: hidden;
  border: 1px solid rgba(229, 223, 212, 0.95);
}

.travel-image img {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
  display: block;
}

.gallery-main {
  margin-top: 0.6rem;
  overflow: hidden;
  border: 1px solid rgba(229, 223, 212, 0.95);
  position: relative;
}

.gallery-main-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.gallery-main-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20%;
  min-width: 56px;
  border: 0;
  background: rgba(27, 36, 41, 0);
  color: rgba(255, 255, 255, 0);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.gallery-main-nav.left {
  left: 0;
}

.gallery-main-nav.right {
  right: 0;
}

.gallery-main-nav span {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.gallery-main-nav:hover,
.gallery-main-nav:focus-visible {
  background: rgba(27, 36, 41, 0.24);
  color: rgba(255, 255, 255, 1);
}

.gallery-strip-row {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.gallery-nav {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  width: 2.2rem;
  height: 4.2rem;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
}

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(88px, 88px);
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.2rem;
  scroll-behavior: smooth;
}

.gallery-thumb {
  border: 1px solid transparent;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-thumb img {
  width: 88px;
  height: 62px;
  object-fit: cover;
  display: block;
}

.gallery-thumb.active {
  border-color: var(--brand-deep);
}

.apt-hero {
  min-height: 34rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(25, 35, 41, 0.22), rgba(25, 35, 41, 0.12)),
    url("./images/apartment/170660951665b8cb6c3c953.jpg") center/cover fixed;
  position: sticky;
  top: 4.6rem;
  z-index: 1;
}

.apt-logo {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: min(320px, 38%);
}

.apt-title {
  margin-top: -7rem;
  position: relative;
  z-index: 4;
  box-shadow: 0 22px 45px rgba(22, 31, 36, 0.14);
}

.apt-title,
.apt-features,
.apt-more {
  position: relative;
  z-index: 4;
}

.apt-intro {
  max-width: 52rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.apt-highlights {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.apt-highlight {
  padding: 1rem 1.05rem 1.1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 242, 0.66));
  border: 1px solid rgba(217, 205, 189, 0.7);
  border-radius: 18px;
}

.apt-highlight-label,
.apt-panel-kicker,
.apt-time-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.apt-highlight strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #2c3a41;
}

.apt-summary {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.apt-panel {
  padding: 1.5rem 1.55rem;
  background: rgba(255, 253, 249, 0.72);
  border-top: 1px solid rgba(217, 205, 189, 0.9);
}

.apt-panel h3 {
  margin: 0.35rem 0 1rem;
  font-size: 1.5rem;
  line-height: 1.15;
  color: #2b3940;
}

.apt-feature-list,
.apt-list {
  margin: 0;
  padding-left: 0;
}

.apt-feature-list {
  list-style: none;
}

.apt-feature-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(229, 223, 212, 0.7);
  color: var(--muted);
}

.apt-feature-list li strong {
  color: #2c3a41;
  font-size: 1rem;
}

.apt-list li {
  margin-bottom: 0.25rem;
  color: var(--muted);
}

.apt-times {
  display: grid;
  gap: 0.8rem;
}

.apt-time {
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(142, 167, 158, 0.09), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(142, 167, 158, 0.16);
  border-radius: 16px;
}

.apt-time strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.3rem;
  line-height: 1.1;
  color: #2d3a41;
}

.apt-note {
  margin: 1rem 0 0;
  color: var(--muted);
}

.apt-feature-copy {
  display: grid;
  align-content: start;
}

.apt-feature-sections {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.apt-feature-group {
  padding-top: 1rem;
  border-top: 1px solid rgba(217, 205, 189, 0.7);
}

.apt-feature-tags {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.apt-feature-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 245, 239, 0.94));
  border: 1px solid rgba(229, 223, 212, 0.95);
  color: #314049;
  font-weight: 600;
  line-height: 1.3;
}

.apt-parallax {
  min-height: 30rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  z-index: 2;
}

.apt-parallax.features {
  position: sticky;
  top: 4.6rem;
  background-image:
    linear-gradient(rgba(25, 35, 41, 0.18), rgba(25, 35, 41, 0.1)),
    url("./images/apartment/170660951465b8cb6a8eba6.jpg");
}

.apt-parallax.bed {
  position: sticky;
  top: 4.6rem;
  background-image:
    linear-gradient(rgba(25, 35, 41, 0.2), rgba(25, 35, 41, 0.14)),
    url("./images/apartment/170660951265b8cb68600e9.jpg");
}

.apt-bed-note {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  background: rgba(18, 27, 31, 0.62);
  color: #fff;
  padding: 0.75rem 0.9rem;
  max-width: 28rem;
}

.apt-bed-note strong {
  display: block;
  margin-bottom: 0.25rem;
}

.apt-features,
.apt-more {
  margin-top: -6rem;
  box-shadow: 0 22px 45px rgba(22, 31, 36, 0.14);
}

.apt-more .apt-list {
  list-style: none;
  padding-left: 0;
}

.apt-two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

.apt-two-col.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.apt-photo {
  overflow: hidden;
  border: 1px solid var(--line);
}

.apt-photo img {
  width: 100%;
  height: 100%;
  min-height: 23rem;
  object-fit: cover;
  display: block;
}

.apt-right {
  text-align: right;
}

.two-col {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0.9rem;
}

.list {
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 1.45rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-deep);
  font-weight: 700;
}

form {
  display: grid;
  gap: 0.72rem;
}

.row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.72rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.74rem 0.84rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: #324048;
}

input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--brand-deep);
  box-shadow: none;
}

.checkbox-field {
  margin-top: 0.1rem;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  color: var(--text);
  line-height: 1.45;
}

.recaptcha-field {
  margin-top: 0.2rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #b8c8c1;
  box-shadow: 0 0 0 3px rgba(142, 167, 158, 0.18);
}

textarea {
  min-height: 8.4rem;
  resize: vertical;
}

iframe {
  background: #fff;
}

.calendar-alt {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.calendar-alt .note {
  margin: 0 0 0.9rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem;
}

.note {
  font-size: 0.88rem;
  color: var(--muted);
}

#contact-form h3 {
  margin: 0 0 0.7rem;
  font-size: 1.3rem;
  color: #2e3b43;
}

.contact-stack {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.contact-stack a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card,
.hero-media {
  animation: fadeUp 0.55s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .grid-3,
  .apt-two-col,
  .apt-two-col.reverse,
  .travel-grid,
  .footer-grid,
  .two-col,
  .row {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .gallery-grid .tile.tall {
    min-height: 14rem;
  }

  .gallery-strip {
    grid-auto-columns: minmax(76px, 76px);
  }

  .gallery-thumb img {
    width: 76px;
    height: 56px;
  }

  .gallery-nav {
    width: 1.9rem;
    height: 3.5rem;
  }

  .hero-copy,
  .section {
    padding: 1.2rem;
  }

  .brand-logo {
    width: 164px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .badge {
    max-width: 80%;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.7rem 0.78rem;
  }

  .home-cover,
  .home-cover-inner {
    min-height: 26rem;
    background-attachment: scroll;
  }

  .home-cover-logo {
    width: min(318px, 72vw);
    right: 0.5rem;
    top: 0.95rem;
  }

  .home-story {
    margin-top: 0.9rem;
  }

  .apt-hero {
    min-height: 14rem;
    background-attachment: scroll;
    position: relative;
    top: 0;
  }

  .apt-logo {
    width: min(212px, 48%);
    top: 0.7rem;
    right: 0.7rem;
  }

  .apt-title {
    margin-top: 0.9rem;
    box-shadow: var(--shadow);
  }

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

  .apt-summary {
    grid-template-columns: 1fr;
  }

  .apt-parallax {
    min-height: 18rem;
    background-attachment: scroll;
    position: relative;
    top: 0;
  }

  .apt-photo img {
    min-height: 14rem;
  }

  .apt-right {
    text-align: left;
  }

  .apt-features,
  .apt-more {
    margin-top: 0.9rem;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 599px) {
  .apt-highlights {
    grid-template-columns: 1fr;
  }

  .apt-panel,
  .apt-highlight {
    padding-inline: 1rem;
  }

  .apt-panel h3 {
    font-size: 1.3rem;
  }

  .hero-media {
    background:
      linear-gradient(rgba(35, 48, 56, 0.24), rgba(35, 48, 56, 0.17)),
      url("./images/170758187565c7a1b36e030.jpg") center/cover;
  }
}
