/* ============================================================
   Five Pillar Experiences — Link Page
   Brand: navy + gold · Fonts: Raleway (display) / Open Sans
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #0B1D38;
  --navy-800: #13273F;
  --navy-700: #1a3350;
  --navy-600: #243F62;
  --navy-500: #3A567A;
  --navy-400: #5A7593;
  --navy-200: #C2CEDD;
  --inner-navy: #0F2238;

  --gold-light: #E8D5A8;
  --gold: #C9A86A;
  --gold-mid: #B8945A;
  --gold-deep: #8E6F3A;

  --white: #ffffff;

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-pill: 9999px;

  --shadow-soft:   0 6px 24px -8px rgba(19, 39, 63, 0.15);
  --shadow-softer: 0 2px 10px -2px rgba(19, 39, 63, 0.08);
  --shadow-lift:   0 14px 40px -16px rgba(19, 39, 63, 0.35);

  --ease-pop: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  line-height: 1.5;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(900px 600px at 100% 110%, rgba(212, 175, 108, 0.06) 0%, rgba(212, 175, 108, 0) 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
p { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.font-display {
  font-family: "Raleway", "Open Sans", sans-serif;
  letter-spacing: 0.01em;
}

/* ---------- Layout ---------- */
.page-main {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.top-ornament {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  opacity: 0.6;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

/* ---------- Header / Medallion ---------- */
.hero { text-align: center; }

.medallion-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.medallion-halo {
  position: absolute;
  inset: 0;
  margin: -1rem;
  border-radius: var(--radius-pill);
  background: rgba(201, 168, 106, 0.06);
  filter: blur(20px);
  pointer-events: none;
}

.medallion-ring {
  position: relative;
  width: 7rem;
  height: 7rem;
  padding: 2px;
  border-radius: var(--radius-pill);
  background: conic-gradient(
    from 140deg,
    var(--gold-light) 0deg,
    var(--gold) 90deg,
    var(--gold-deep) 180deg,
    var(--gold) 270deg,
    var(--gold-light) 360deg
  );
}

.medallion-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--inner-navy);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.medallion-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2);
  transform-origin: center;
}

/* ---------- Tagline (eyebrow) ---------- */
.tagline {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.tagline-line {
  display: block;
  width: 2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.tagline-text {
  font-family: "Raleway", "Open Sans", sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold);
}

.hero-subtitle {
  max-width: 28rem;
  margin: 1rem auto 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Tile list ---------- */
.tile-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ---------- Tile ---------- */
.tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  box-shadow: var(--shadow-soft);
  border: 1px solid transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform .35s var(--ease-pop),
    box-shadow .35s ease,
    background-color .25s ease,
    border-color .25s ease;
}

.tile:hover {
  background: var(--white);
  border-color: rgba(201, 168, 106, 0.5);
  transform: translateY(-2px);
}

.tile:active { transform: translateY(0); }

/* tile icon */
.tile-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  color: var(--white);
  flex-shrink: 0;
  box-shadow: var(--shadow-softer);
}
.tile-icon svg { width: 1.25rem; height: 1.25rem; }

.tile-icon--instagram {
  background: linear-gradient(135deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%);
}
.tile-icon--whatsapp { color: var(--gold-light); background: var(--navy-900); }
.tile-icon--whatsapp svg { width: 1.375rem; height: 1.375rem; }

/* tile content */
.tile-content {
  flex: 1;
  min-width: 0;
}

.tile-title {
  display: block;
  font-family: "Raleway", "Open Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.tile-subtitle {
  display: -webkit-box;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: rgba(26, 51, 80, 0.8);
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* hover accent shimmer */
.tile-accent {
  display: block;
  margin-top: 0.5rem;
  height: 1px;
  width: 0;
  opacity: 0;
  background-image: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%;
  transition: width .5s ease, opacity .5s ease;
}
.tile:hover .tile-accent {
  width: 100%;
  opacity: 1;
  animation: shimmer 2.4s linear infinite;
}

/* arrow */
.tile-arrow {
  width: 1rem;
  height: 1rem;
  color: var(--navy-500);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.tile:hover .tile-arrow { transform: translateX(0.25rem); }
.tile:hover .tile-arrow--external { transform: translate(0.125rem, -0.125rem); }

/* ---------- Featured tile (Reservation) ---------- */
.tile--featured {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-mid) 100%);
  color: var(--navy-900);
  border-color: rgba(201, 168, 106, 0.7);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  font-weight: 600;
}
.tile--featured:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-mid) 100%);
  border-color: rgba(201, 168, 106, 0.95);
}
.tile--featured .tile-title { font-weight: 700; }
.tile--featured .tile-subtitle { color: rgba(11, 29, 56, 0.75); }
.tile--featured .tile-arrow { color: var(--navy-900); }

.tile-glow {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  filter: blur(40px);
  pointer-events: none;
}

.tile-pill {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  background: var(--navy-900);
  color: var(--gold-light);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.tile-pill-dot {
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--gold-light);
  border-radius: var(--radius-pill);
  animation: pulse 2s ease-in-out infinite;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 3rem;
  text-align: center;
}

.gold-line {
  margin: 0 auto;
  width: 6rem;
  height: 1px;
  opacity: 0.7;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.footer-loc {
  margin-top: 1.25rem;
  font-family: "Raleway", "Open Sans", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.6);
}

.footer-tagline {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-copyright {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  from { background-position: -200% 0; }
  to   { background-position:  200% 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-out both;
}
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease-out both;
  animation-delay: var(--delay, 0s);
}

/* ---------- Focus visibility ---------- */
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 14px;
}

/* ---------- Responsive (≥640px) ---------- */
@media (min-width: 640px) {
  .page-main { padding: 3.5rem 2rem 3rem; }
  .medallion-ring { width: 8rem; height: 8rem; }
  .tagline-text { font-size: 0.75rem; }
  .hero-subtitle { font-size: 1rem; }
  .tile-list { margin-top: 3rem; gap: 0.875rem; }
  .tile { padding: 1.125rem 1.5rem; }
  .tile-title { font-size: 1rem; }
  .tile-subtitle {
    font-size: 0.8125rem;
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }
  .tile-pill { display: inline-flex; }
  .footer { margin-top: 3.5rem; }
  .footer-loc { font-size: 0.875rem; }
  .footer-tagline { font-size: 0.75rem; }
  .footer-copyright { font-size: 0.75rem; }
}

/* ---------- Reduced motion (a11y opt-in) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-fade-in,
  .animate-fade-up { opacity: 1 !important; }
  .tile:hover { transform: none !important; }
}
