:root {
  --ink: #25282a;
  --muted: #62686b;
  --paper: #ffffff;
  --soft: #f4f1ec;
  --accent: #9a6b3f;
  --accent-dark: #704823;
  --dark: #303538;
  --line: #ded9d2;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(31, 30, 27, 0.12);
}

* {
  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;
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 12px;
  top: 12px;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.hero {
  position: relative;
  min-height: min(780px, 92vh);
  display: grid;
  align-items: end;
  isolation: isolate;
  color: #fff;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -2;
  background:
    url("images/sypialnia.jpg") center 58% / cover no-repeat;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(19, 20, 20, 0.10) 10%, rgba(19, 20, 20, 0.30) 52%, rgba(19, 20, 20, 0.86) 100%);
}

.hero__content {
  padding-block: 90px 70px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.77rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 7vw, 5.8rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.05rem, 4vw, 3.5rem);
}

h3 {
  margin-bottom: 18px;
  font-size: 1.7rem;
}

.hero__lead {
  max-width: 730px;
  margin: 0 0 30px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: #fff;
  color: var(--ink);
}

.button--secondary {
  border-color: rgba(255,255,255,.72);
  color: #fff;
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(8px);
}

.facts {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts__grid > div {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.facts__grid > div:first-child {
  padding-left: 0;
}

.facts__grid > div:last-child {
  border-right: 0;
}

.facts strong,
.facts span {
  display: block;
}

.facts strong {
  font-size: 1.05rem;
}

.facts span {
  color: var(--muted);
  font-size: .9rem;
}

.section {
  padding-block: clamp(70px, 9vw, 120px);
}

.section--muted {
  background: var(--soft);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
}

.content-grid--reverse {
  grid-template-columns: .9fr 1.1fr;
}

.content-grid p {
  max-width: 68ch;
}

.panel {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}

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

.check-list li {
  position: relative;
  padding: 10px 0 10px 27px;
  border-bottom: 1px solid var(--line);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.section-intro {
  max-width: 620px;
  margin-top: -10px;
  margin-bottom: 34px;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.photo {
  position: relative;
  grid-column: span 6;
  min-height: 350px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e7e3de;
  box-shadow: 0 8px 30px rgba(33, 31, 28, .08);
}

.photo--wide {
  grid-column: span 12;
  min-height: 520px;
}

.photo--plan {
  grid-column: span 12;
  min-height: 480px;
  background: #edf3f5;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.photo--plan img {
  object-fit: contain;
}

.photo:hover img {
  transform: scale(1.015);
}

.photo span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 21, 21, .72);
  backdrop-filter: blur(8px);
  font-size: .9rem;
  font-weight: 700;
}

.section--location {
  color: #fff;
  background: var(--dark);
}

.location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
}

.location-list span {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}

.contact {
  padding-block: 65px;
  color: #fff;
  background: var(--accent-dark);
}

.contact__inner {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.contact h2 {
  margin-bottom: 10px;
}

.contact p {
  margin-bottom: 0;
}

.contact__phone {
  display: block;
  min-width: min(100%, 330px);
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 780;
}

.contact__phone span {
  display: block;
  margin-bottom: 2px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .75;
}

footer {
  color: #d6dbdd;
  background: #222628;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  font-size: .9rem;
}

.footer__inner a {
  font-weight: 700;
}

.mobile-call {
  display: none;
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: 82svh;
  }

  .hero__content {
    padding-bottom: 54px;
  }

  .hero__image {
    background-position: 47% center;
  }

  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts__grid > div {
    padding: 20px 14px;
    border-bottom: 1px solid var(--line);
  }

  .facts__grid > div:nth-child(2) {
    border-right: 0;
  }

  .facts__grid > div:nth-child(3),
  .facts__grid > div:nth-child(4) {
    border-bottom: 0;
  }

  .content-grid,
  .content-grid--reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .content-grid--reverse .panel {
    order: 2;
  }

  .photo,
  .photo--wide,
  .photo--plan {
    grid-column: span 12;
    min-height: 58vw;
  }

  .photo--plan {
    min-height: 65vw;
  }

  .contact__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .contact__phone {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
  }

  .mobile-call {
    position: fixed;
    z-index: 20;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    color: #fff;
    background: var(--accent-dark);
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
    font-weight: 760;
    text-decoration: none;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .photo,
  .photo--wide,
  .photo--plan {
    min-height: 72vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
