@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Inter:wght@400;500;600;700&family=Syne:wght@700&display=swap");

:root {
  --ink: #4a332c;
  --paper: #faeee5;
  --yellow: #f2c28f;
  --orange: #cc8878;
  --amber: #b88a65;
  --cream: #fffaf5;
  --muted: #72594f;
  --cine: #f4cf9f;
  --solar: #d99586;
  --club: #745249;
  --merces: #fff7ef;
  --glow: rgba(242, 194, 143, 0.34);
  --ink-soft: #62483f;
  --intro: #f5ded2;
  --footer-copy: #ead5ca;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 5%, var(--glow), transparent 34%),
    linear-gradient(160deg, var(--ink-soft) 0%, var(--ink) 82%);
}

.link-page {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 18px 44px;
}

.brand-header {
  position: relative;
  padding: 26px 24px 34px;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px 28px 0 0;
}

.brand-header::after {
  position: absolute;
  right: -34px;
  bottom: -62px;
  width: 180px;
  height: 180px;
  content: "";
  background: var(--orange);
  border-radius: 44% 56% 58% 42%;
  transform: rotate(18deg);
}

.brand-mark {
  width: min(100%, 320px);
  margin-left: auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow,
.section-kicker,
footer p {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow {
  margin-top: 28px;
  color: var(--yellow);
}

h1,
h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

h1 {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-family: "Momentum Extended", "Syne", "Arial Black", Arial, sans-serif;
  font-size: clamp(3.5rem, 13.8vw, 5.1rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.045em;
  text-transform: none;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.intro {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 30px 0 0;
  color: var(--intro);
  font-size: 0.98rem;
  line-height: 1.55;
}

.menu-section {
  padding: 30px 20px 24px;
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 4px 18px;
  gap: 16px;
}

.section-kicker {
  max-width: 110px;
  color: var(--muted);
  line-height: 1.35;
}

h2 {
  font-size: 3.25rem;
  line-height: 0.85;
}

.menu-list {
  display: grid;
  gap: 9px;
}

.menu-card,
.unit-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 88px;
  padding: 14px 14px 14px 12px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  box-shadow: 3px 3px 0 var(--ink);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  gap: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.menu-card:hover,
.menu-card:focus-visible,
.unit-card:focus-within {
  outline: 3px solid var(--cream);
  outline-offset: -5px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.unit-card {
  display: block;
  padding: 16px;
}

.unit-card__main {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.unit-meta {
  display: flex;
  margin: 12px 0 0 54px;
  flex-wrap: wrap;
  gap: 5px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.84;
}

.unit-meta span + span::before {
  margin-right: 12px;
  content: "•";
  opacity: 0.55;
}

.unit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  gap: 7px;
}

.unit-actions--three {
  grid-template-columns: 1fr 1.25fr 1.35fr;
}

.action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 8px 9px;
  color: inherit;
  font-size: 0.63rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  border: 1px solid currentColor;
  border-radius: 10px;
  transition: background 160ms ease, color 160ms ease;
}

.action-link:hover,
.action-link:focus-visible {
  color: var(--cream);
  background: var(--ink);
  outline: 2px solid var(--cream);
  outline-offset: -3px;
}

.action-link--route {
  color: var(--cream);
  background: var(--ink);
}

.parking-details {
  margin-top: 8px;
  border: 1px solid color-mix(in srgb, var(--ink) 42%, transparent);
  border-radius: 10px;
  overflow: hidden;
}

.parking-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
  padding: 8px 11px;
  font-size: 0.63rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  cursor: pointer;
  list-style: none;
}

.parking-details summary::-webkit-details-marker {
  display: none;
}

.parking-details summary span {
  font-size: 1rem;
  transition: transform 160ms ease;
}

.parking-details[open] summary span {
  transform: rotate(45deg);
}

.parking-list {
  display: grid;
  padding: 5px 11px 11px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  gap: 0;
}

.parking-list address {
  display: grid;
  padding: 10px 0;
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.38;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 15%, transparent);
  gap: 2px;
}

.parking-list address:last-child {
  padding-bottom: 2px;
  border-bottom: 0;
}

.parking-list strong {
  font-size: 0.72rem;
}

.parking-list small {
  font-weight: 700;
}

.parking-list a {
  width: fit-content;
  font-weight: 700;
}

.menu-card--cine { color: var(--ink); background: var(--cine); }
.menu-card--solar { background: var(--solar); color: var(--ink); }
.menu-card--club { background: var(--club); color: var(--cream); }
.menu-card--merces { background: var(--merces); }

.menu-number {
  align-self: start;
  padding-top: 2px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
}

.menu-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.menu-copy strong {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.menu-copy small {
  font-size: 0.72rem;
  line-height: 1.25;
  opacity: 0.78;
}

.status {
  padding: 6px 7px;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.75;
}

.menu-note {
  margin: 18px 4px 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.5;
}

.social-links {
  display: grid;
  padding: 9px;
  background: var(--orange);
  gap: 7px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 20px;
  color: var(--cream);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  transition: transform 160ms ease, background 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--ink-soft);
  outline: 3px solid var(--yellow);
  outline-offset: -3px;
  transform: translateY(-1px);
}

footer {
  display: grid;
  padding: 22px 22px;
  color: var(--footer-copy);
  font-size: 0.66rem;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  gap: 18px;
}

footer p {
  white-space: nowrap;
  line-height: 1.5;
}

.art-shape {
  position: absolute;
  border-radius: 48% 52% 61% 39%;
  opacity: 0.75;
  filter: blur(1px);
}

.art-shape--one {
  top: 10%;
  left: calc(50% - 430px);
  width: 260px;
  height: 260px;
  background: var(--yellow);
  transform: rotate(24deg);
}

.art-shape--two {
  right: calc(50% - 440px);
  bottom: 12%;
  width: 230px;
  height: 300px;
  background: var(--orange);
  transform: rotate(-28deg);
}

.click-counter {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding-bottom: 17px;
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 30%, transparent);
  column-gap: 10px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-legal span {
  white-space: nowrap;
}

.click-counter strong {
  grid-row: 1;
  color: var(--yellow);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 2rem;
  line-height: 0.9;
}

.click-counter span {
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 430px) {
  .link-page {
    padding: 0;
  }

  .brand-header,
  footer {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .brand-mark {
    width: min(100%, 270px);
  }

  .menu-card {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .unit-card__main {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .unit-meta {
    margin-left: 46px;
  }

  .unit-actions--three {
    grid-template-columns: 1fr 1fr;
  }

  .unit-actions--three .action-link--route {
    grid-column: 1 / -1;
  }

  .status {
    grid-column: 2;
    justify-self: start;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
