.site-footer {
  margin-top: 1.1rem;
  border-top: 1px solid rgba(59, 52, 49, 0.12);
  border-bottom: 1px solid rgba(59, 52, 49, 0.12);
  background: linear-gradient(180deg, rgba(248, 244, 241, 0.96) 0%, rgba(245, 241, 238, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 -8px 30px rgba(58, 44, 35, 0.04);
  color: #4c433f;
}

.site-footer .container {
  width: min(1260px, 100% - 4rem);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1.35rem;
  align-items: center;
  padding: 1.7rem 0 1rem;
}

.footer-intro {
  min-width: 0;
}

.footer-brand {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.02rem, 1.35vw, 1.36rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.12;
  color: #463f3b;
}

.footer-brand span {
  color: #c79b5f;
}

.footer-tagline {
  margin: 0.55rem 0 0.75rem;
  font-size: clamp(0.82rem, 0.95vw, 0.98rem);
  line-height: 1.35;
  color: #4f4541;
  max-width: 52ch;
}

.footer-section-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9b7b54;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  font-size: clamp(0.78rem, 0.9vw, 0.93rem);
  color: #4e4540;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(58, 44, 35, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(58, 44, 35, 0.05);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover {
  color: #b98748;
  border-color: rgba(199, 155, 95, 0.35);
  background: #ffffff;
  transform: translateY(-1px);
}

.footer-nav a + a::before {
  content: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  gap: 0.9rem;
  width: 100%;
  max-width: 310px;
}

.footer-booking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 280px);
  min-height: 44px;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8b67f 0%, #c89f63 100%);
  color: #fffaf2;
  font-family: "Playfair Display", serif;
  font-size: clamp(0.88rem, 0.97vw, 1.03rem);
  letter-spacing: 0.01em;
  box-shadow: 0 8px 16px rgba(142, 106, 58, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.footer-booking-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(142, 106, 58, 0.24);
  filter: saturate(1.04);
}

.footer-contact-list {
  display: grid;
  gap: 0.7rem;
  width: 100%;
}

.footer-contact-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(58, 44, 35, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 22px rgba(58, 44, 35, 0.05);
  font-size: clamp(0.76rem, 0.9vw, 0.94rem);
  color: #534843;
  line-height: 1.3;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-contact-item svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  stroke: #b98748;
  fill: none;
  stroke-width: 1.7;
}

.footer-contact-item:hover {
  color: #3f3734;
  border-color: rgba(199, 155, 95, 0.35);
  background: #ffffff;
  transform: translateY(-1px);
}

.footer-divider {
  height: 1px;
  background: rgba(59, 52, 49, 0.12);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.72rem 0 2rem;
}

.footer-copy {
  margin: 0;
  max-width: 48rem;
  font-size: clamp(0.74rem, 0.82vw, 0.89rem);
  line-height: 1.5;
  color: #4e4540;
}

.footer-copy a {
  color: #b98748;
}

.footer-copy a:hover {
  color: #9a6f34;
}

.footer-separator {
  color: rgba(86, 76, 72, 0.55);
  margin: 0 0.22rem;
}

.footer-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.34rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(101, 90, 84, 0.16);
  background: rgba(251, 249, 247, 0.88);
  color: #5a4f49;
  font-size: clamp(0.72rem, 0.8vw, 0.88rem);
  line-height: 1.2;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-to-top:hover {
  color: #433a36;
  border-color: rgba(101, 90, 84, 0.28);
  background: rgba(255, 255, 255, 0.96);
}

.footer-intro,
.footer-contact {
  padding: 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(58, 44, 35, 0.08);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 14px 32px rgba(58, 44, 35, 0.05);
}

@media (max-width: 1100px) {
  .site-footer .container {
    width: min(1180px, calc(100% - 2rem));
  }
}

@media (max-width: 980px) {
  .site-footer {
    padding-top: 0.85rem;
  }

  .site-footer .container {
    width: min(1180px, 100% - 3rem);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    padding-top: 0.9rem;
    padding-bottom: 0.8rem;
  }

  .footer-intro,
  .footer-contact {
    padding: 1rem;
    border-radius: 18px;
  }

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

  .footer-nav a,
  .footer-contact-item,
  .footer-booking-btn {
    min-height: 46px;
  }

  .footer-intro {
    padding: 0 0 0.35rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .footer-contact {
    justify-self: stretch;
    max-width: none;
    padding: 0.95rem 0 0.55rem;
    border: 0;
    border-top: 1px solid rgba(59, 52, 49, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .footer-booking-btn {
    width: 100%;
    max-width: none;
    border-radius: 14px;
    box-shadow: none;
  }

  .footer-contact-list {
    gap: 0.45rem;
  }

  .footer-contact-item {
    min-height: 0;
    padding: 0.2rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .footer-contact-item:hover {
    border-color: transparent;
    background: transparent;
    transform: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding-top: 0.4rem;
    padding-bottom: calc(2.8rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-to-top {
    width: 100%;
    max-width: none;
    margin-bottom: 0.4rem;
  }
}

@media (min-width: 981px) {
  .footer-section-label {
    display: none;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 1.35rem;
    align-items: center;
    padding: 1.7rem 0 1rem;
  }

  .footer-intro,
  .footer-contact {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
  }

  .footer-nav a {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: color 0.2s ease;
  }

  .footer-nav a:hover {
    color: #b98748;
    border-color: transparent;
    background: transparent;
    transform: none;
  }

  .footer-nav a + a::before {
    content: "\00B7";
    color: rgba(107, 95, 90, 0.55);
    margin-right: 0.45rem;
  }

  .footer-contact {
    justify-self: end;
    gap: 0.78rem;
    max-width: 310px;
  }

  .footer-booking-btn {
    width: min(100%, 280px);
    max-width: none;
  }

  .footer-contact-list {
    gap: 0.52rem;
  }

  .footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .footer-contact-item:hover {
    color: #3f3734;
    border-color: transparent;
    background: transparent;
    transform: none;
  }

  .footer-bottom {
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.72rem 0 0.95rem;
  }

  .footer-to-top {
    width: auto;
    max-width: none;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .site-footer .container {
    width: min(1180px, calc(100% - 1.4rem));
  }

  .footer-tagline {
    margin-top: 0.42rem;
  }
}

@media (max-width: 560px) {
  .site-footer .container {
    width: min(1180px, calc(100% - 1rem));
  }
}

@media (max-width: 520px) {
  .site-footer .container {
    width: 100%;
    padding: 0 0.9rem;
  }

  .footer-brand {
    letter-spacing: 0.12em;
  }

  .footer-tagline {
    font-size: 0.78rem;
    line-height: 1.38;
  }

  .footer-contact-item {
    font-size: 0.76rem;
    align-items: flex-start;
  }

  .footer-booking-btn,
  .footer-to-top {
    width: 100%;
    justify-content: center;
  }
}
