:root {
  --champagne: #d8c3a3;
  --off-white: #f8f5f1;
  --beige: #e9e1d6;
  --bronze: #b9986d;
  --espresso: #4a3a31;
  --warm-gray: #b8b1a8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--off-white);
  color: var(--espresso);
  font-family: "Avenir Next", "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main {
  width: min(100%, 30rem);
  margin: 0 auto;
  padding: 2rem 1.25rem 1.25rem;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.logo-link {
  display: inline-flex;
  text-decoration: none;
}

.logo {
  width: min(70vw, 14rem);
  height: auto;
  filter:
    drop-shadow(0 1px 1px rgba(74, 58, 49, 0.18))
    drop-shadow(0 6px 14px rgba(74, 58, 49, 0.16))
    drop-shadow(0 14px 28px rgba(185, 152, 109, 0.18));
}

h1 {
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--espresso);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  display: block;
  width: 100%;
  border: 1.5px solid var(--espresso);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  text-align: center;
  background: var(--off-white);
  color: var(--espresso);
  font-weight: 650;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn.disabled {
  opacity: 0.62;
}

.btn:focus-visible,
.social-icon-btn:focus-visible,
.address-link:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
}

.btn:active,
.social-icon-btn:active {
  transform: scale(0.98);
}

.social-strip {
  margin-top: 1.35rem;
}

.social-divider {
  width: 56px;
  height: 1px;
  margin: 0 auto 1rem;
  background: rgba(74, 58, 49, 0.22);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.social-row.single {
  justify-content: center;
}

.social-icon-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1.5px solid rgba(74, 58, 49, 0.38);
  background: var(--off-white);
  color: rgba(74, 58, 49, 0.76);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.social-icon {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.footer {
  padding: 0 1.25rem 1.4rem;
}

.footer-content {
  width: min(100%, 30rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.switch-unit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(74, 58, 49, 0.72);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(74, 58, 49, 0.28);
  padding-bottom: 0.1rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.switch-unit-icon {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
  opacity: 0.72;
}

.switch-unit:hover {
  color: var(--espresso);
  border-color: rgba(74, 58, 49, 0.55);
}

.switch-unit:hover .switch-unit-icon {
  opacity: 1;
}

.address {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--espresso);
}

.address-link {
  color: inherit;
  text-decoration: none;
}

.note {
  margin: 0.6rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(74, 58, 49, 0.75);
}

@media (min-width: 768px) {
  .btn:hover,
  .social-icon-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(74, 58, 49, 0.58);
    color: var(--espresso);
  }
}
