@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: #403a31;
  background: #f4eee7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-weight: 400;
  --ink: #403a31;
  --muted: #81776c;
  --rose: #a77769;
  --line: rgba(96, 78, 61, 0.16);
  --paper: rgba(255, 253, 249, 0.7);
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: max(28px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 50% 18%, rgba(255, 255, 255, 0.84), transparent 44%),
    linear-gradient(145deg, #f5f0e9, #eee5da);
}

.home {
  width: min(100%, 580px);
  min-height: calc(100vh - 52px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-bottom: clamp(28px, 6vh, 56px);
}

.brand__logo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(68, 53, 40, 0.15);
}

.brand__name {
  margin-top: 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  padding-left: 0.24em;
}

.brand__caption,
.eyebrow {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.brand__caption {
  letter-spacing: 0.24em;
  padding-left: 0.24em;
}

.welcome {
  margin-bottom: 27px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
}

.welcome h1,
.page-heading h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 9vw, 3.8rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.welcome h1 em {
  color: var(--rose);
  font-weight: 500;
}

.welcome__copy {
  max-width: 390px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.home-links {
  display: grid;
  gap: 12px;
}

.home-link {
  min-height: 82px;
  display: grid;
  grid-template-columns: 34px 1fr 22px;
  align-items: center;
  gap: 14px;
  padding: 15px 19px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(68, 53, 40, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-link:hover,
.home-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(167, 119, 105, 0.48);
  background: #fffdfa;
  box-shadow: 0 12px 28px rgba(68, 53, 40, 0.09);
}

.home-link:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.home-link--booking {
  color: #fffaf5;
  border-color: transparent;
  background: linear-gradient(115deg, #a77769, #856357);
  box-shadow: 0 12px 26px rgba(120, 83, 68, 0.18);
}

.home-link--booking:hover,
.home-link--booking:focus-visible {
  background: linear-gradient(115deg, #986b5e, #77574c);
  border-color: transparent;
  box-shadow: 0 15px 30px rgba(120, 83, 68, 0.23);
}

.home-link__number {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  opacity: 0.72;
}

.home-link__text {
  display: grid;
  gap: 4px;
}

.home-link__text strong {
  font-size: 0.91rem;
  font-weight: 600;
}

.home-link__text > span {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.home-link--booking .home-link__text > span {
  color: rgba(255, 250, 245, 0.8);
}

.home-link__arrow {
  justify-self: end;
  font-size: 1.05rem;
  color: var(--rose);
}

.home-link--booking .home-link__arrow {
  color: white;
}

.home-footer {
  margin-top: 29px;
  text-align: center;
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.home-footer span {
  margin-left: 5px;
  color: var(--rose);
}

.subpage {
  justify-content: flex-start;
  padding-top: clamp(16px, 5vh, 48px);
}

.subpage .brand {
  margin-bottom: 35px;
}

.page-heading {
  margin-bottom: 22px;
  text-align: center;
}

.page-heading h1 {
  font-size: clamp(2.5rem, 9vw, 3.4rem);
}

.page-heading > p:last-child {
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.info-card,
.gallery-empty {
  padding: clamp(22px, 6vw, 34px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(68, 53, 40, 0.06);
  text-align: center;
}

.info-card h2,
.gallery-empty h2 {
  margin: 0 0 11px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.info-card p,
.gallery-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.social-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 13px;
  background: rgba(167, 119, 105, 0.1);
  color: #71554a;
  font-size: 0.78rem;
  line-height: 1.6;
}

.gallery-empty {
  margin-top: 28px;
  padding-block: clamp(38px, 10vw, 58px);
}

.gallery-empty__mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--rose);
  font-size: 1.3rem;
}

.back-link {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: rgba(167, 119, 105, 0.48);
  background: rgba(255, 253, 249, 0.8);
}

@media (max-width: 420px) {
  body {
    padding-right: 17px;
    padding-left: 17px;
  }

  .brand__logo {
    width: 76px;
    height: 76px;
  }

  .home-link {
    min-height: 76px;
    padding: 13px 15px;
    gap: 11px;
  }

  .home-link__text strong {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
