:root {
  --cocoa: #34211a;
  --espresso: #1e1714;
  --terracotta: #b77748;
  --copper: #d5a06d;
  --champagne: #f7ead7;
  --ivory: #fff8ed;
  --rose: #ead0c8;
  --sage: #536454;
  --glass: rgba(255, 248, 237, 0.76);
  --line: rgba(255, 248, 237, 0.62);
  --shadow: 0 18px 45px rgba(64, 37, 22, 0.24);
  --soft-shadow: 0 12px 24px rgba(64, 37, 22, 0.18);
  color-scheme: light;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #c48757;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ivory);
  background:
    linear-gradient(180deg, rgba(105, 62, 35, 0.16), rgba(64, 35, 25, 0.55)),
    linear-gradient(135deg, #d8ae84 0%, #b97748 39%, #8e5436 72%, #32241e 100%);
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 14px
    );
  opacity: 0.18;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: url("MIDIAS/referencia visual.png");
  background-position: center top;
  background-size: min(100vw, 430px) auto;
  opacity: 0.08;
  filter: blur(1px) saturate(1.05);
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  padding: 10px 14px 24px;
}

.brand-panel {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 4px 0 0;
}

.brand-header {
  display: flex;
  justify-content: center;
  padding: 0 0 8px;
}

.brand-logo {
  width: clamp(118px, 32vw, 148px);
  height: auto;
  opacity: 0.92;
  filter: brightness(0) invert(1) drop-shadow(0 14px 24px rgba(42, 25, 18, 0.3));
}

.hero-media {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 237, 0.7);
  border-radius: 28px;
  background: var(--champagne);
  box-shadow: var(--shadow);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 42%, rgba(55, 31, 22, 0.42)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 42%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: clamp(330px, 88vw, 380px);
  object-fit: cover;
  object-position: center 16%;
}

.brand-copy {
  position: relative;
  z-index: 1;
  width: calc(100% - 20px);
  margin: -30px auto 16px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(52, 33, 26, 0.42);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 8px;
  color: #ffe9ce;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.95rem, 8vw, 2.45rem);
  font-weight: 500;
  line-height: 0.98;
  text-align: center;
  text-wrap: balance;
}

.hours {
  max-width: 236px;
  margin: 12px auto 0;
  color: rgba(255, 248, 237, 0.88);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.link-list {
  display: grid;
  gap: 12px;
  width: calc(100% - 6px);
  margin: 0 auto;
}

.premium-link {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 34px;
  align-items: center;
  min-height: 92px;
  padding: 8px 10px 8px 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 237, 0.74);
  border-radius: 22px;
  color: var(--ivory);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 248, 237, 0.26), rgba(255, 248, 237, 0.08)),
    rgba(78, 45, 32, 0.42);
  box-shadow: 0 12px 26px rgba(44, 25, 18, 0.2);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.premium-link.primary {
  border-color: rgba(255, 237, 205, 0.95);
  background:
    linear-gradient(135deg, rgba(255, 248, 237, 0.34), rgba(255, 248, 237, 0.1)),
    rgba(97, 55, 36, 0.52);
}

.premium-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 248, 237, 0.98);
  box-shadow: 0 18px 34px rgba(44, 25, 18, 0.28);
}

.premium-link:active {
  transform: translateY(1px) scale(0.99);
}

.premium-link:focus-visible {
  outline: 3px solid rgba(255, 239, 213, 0.88);
  outline-offset: 3px;
}

.thumb {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 237, 0.68);
  border-radius: 16px;
  background: var(--champagne);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-copy {
  min-width: 0;
  padding: 0 10px;
}

.link-title {
  display: block;
  font-size: clamp(1rem, 4.2vw, 1.12rem);
  font-weight: 600;
  line-height: 1.14;
}

.link-subtitle {
  display: block;
  margin-top: 5px;
  color: rgba(255, 248, 237, 0.74);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.25;
}

.link-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 248, 237, 0.58);
  border-radius: 50%;
  color: var(--cocoa);
  background: rgba(255, 248, 237, 0.82);
  font-size: 1.1rem;
  font-weight: 600;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 18px 0 2px;
  color: rgba(255, 248, 237, 0.7);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
}

@media (max-width: 370px) {
  .page-shell {
    padding-inline: 10px;
  }

  .premium-link {
    grid-template-columns: 72px minmax(0, 1fr) 30px;
    min-height: 84px;
  }

  .thumb {
    width: 62px;
    height: 62px;
  }

  .link-subtitle {
    font-size: 0.72rem;
  }
}

@media (min-width: 720px) {
  .page-shell {
    display: grid;
    min-height: 100vh;
    padding-block: 34px;
    place-items: center;
  }

  .brand-panel {
    width: 100%;
    max-width: 430px;
  }
}

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