:root {
  --bg-base: #1a1208;
  --overlay: rgba(18, 12, 6, 0.74);
  --card-bg: rgba(26, 18, 10, 0.55);
  --card-border: rgba(224, 169, 59, 0.32);
  --accent: #e0a93b;
  --accent-soft: #f0c662;
  --text: #f6efe2;
  --text-muted: #d9cbb2;
  --olive: #6f7d3a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --maxw: 640px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  color: var(--text);
  background-color: var(--bg-base);
  background-image:
    linear-gradient(var(--overlay), var(--overlay)),
    url("../img/alentejo.jpg"),
    linear-gradient(135deg, #4a3517 0%, #2a1d0c 45%, #120b04 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  padding: clamp(1.5rem, 5vw, 3.5rem) 1.25rem;
  max-width: var(--maxw);
  margin-inline: auto;
}

/* Brand header */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.brand__emblem {
  width: clamp(40px, 8vw, 54px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.brand__name {
  font-family: Georgia, "Times New Roman", "Iowan Old Style", serif;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  letter-spacing: 0.02em;
  color: var(--text);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Card */
.card {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 6vw, 3rem);
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
}

.card__eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.card__title {
  margin: 0 0 0.85rem;
  font-family: Georgia, "Times New Roman", "Iowan Old Style", serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.card__lead {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: var(--text);
}

.card__body {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.2vw, 1.02rem);
}

/* Social links */
.social__label {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.social__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.15s ease, background-color 0.2s ease,
    border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1208;
  box-shadow: 0 8px 20px rgba(224, 169, 59, 0.28);
}

.btn--facebook:hover,
.btn--facebook:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.32);
}

.btn--airbnb:hover,
.btn--airbnb:focus-visible {
  background: #ff385c;
  border-color: #ff385c;
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 56, 92, 0.32);
}

.btn:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

/* Contact section */
.contact {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--card-border);
}

.contact__heading {
  margin: 0 0 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.contact__list {
  margin: 0;
  display: grid;
  gap: 1.1rem;
}

.contact__row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem 1rem;
  align-items: start;
}

.contact__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
  padding-top: 0.12rem;
}

.contact__icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--accent);
}

.contact__value {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.contact__link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
  word-break: break-word;
  align-self: flex-start;
  width: fit-content;
}

.contact__link:hover,
.contact__link:focus-visible {
  color: var(--accent-soft);
  border-bottom-color: var(--accent);
  outline: none;
}

.contact__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.85;
  margin-top: 0.15rem;
}

/* Footer */
.footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.85;
}

.footer p {
  margin: 0;
}

.footer__legal {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

/* Entrance animation */
.fade-in {
  animation: fade-in 0.7s ease both;
}

.brand.fade-in {
  animation-delay: 0.05s;
}
.card.fade-in {
  animation-delay: 0.18s;
}
.footer.fade-in {
  animation-delay: 0.32s;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none;
  }
  .btn {
    transition: none;
  }
}

/* Touch / small screens: drop fixed background for smoother scrolling */
@media (hover: none), (max-width: 600px) {
  body {
    background-attachment: scroll, scroll, scroll;
  }
}

@media (max-width: 480px) {
  .contact__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .contact__label {
    padding-top: 0;
  }
}
