:root {
  --ink: #33253a;
  --muted: #736779;
  --purple: #6f4a7d;
  --purple-dark: #4b2d57;
  --line: rgba(75, 45, 87, .12);
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: #271d2b;
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #271d2b;
}

.backdrop video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: brightness(.86) saturate(1.02);
  transform: scale(1.15);
  transition: transform 1.35s cubic-bezier(.22, .8, .2, 1), filter 1.2s ease;
}

.backdrop span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 15, 27, .15) 0%, transparent 48%, rgba(22, 13, 25, .22) 100%),
    linear-gradient(180deg, rgba(31, 19, 35, .02) 30%, rgba(31, 19, 35, .42) 100%);
  opacity: 0;
  transition: opacity .9s ease .28s;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(23, 13, 28, .04), rgba(23, 13, 28, .25));
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity .65s ease, transform .9s cubic-bezier(.22, .8, .2, 1), visibility 0s linear .9s;
}

.splash-logo {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 60px rgba(25, 13, 30, .34);
  animation: splash-breathe 2.2s ease-in-out infinite;
}
.splash-logo img { width: 116px; height: 116px; object-fit: contain; border-radius: 50%; }
.splash-hint {
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(30,17,35,.18);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page {
  width: min(100%, 1240px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 34px clamp(24px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(.985);
  transition: opacity .8s ease .48s, transform 1s cubic-bezier(.22, .8, .2, 1) .42s;
}

body.site-revealed .backdrop video {
  filter: brightness(.76) saturate(.92);
  transform: scale(1);
}
body.site-revealed .backdrop span { opacity: 1; }
body.site-revealed .splash { opacity: 0; visibility: hidden; transform: scale(.84); pointer-events: none; }
body.site-revealed .page { opacity: 1; pointer-events: auto; transform: none; }

.brand {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 50%;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 40px rgba(25, 15, 29, .18);
  transform: translateX(-50%);
  overflow: hidden;
}
.brand img { width: 84px; height: 84px; object-fit: contain; border-radius: 50%; }

.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 440px);
  padding: 27px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 30px;
  background: rgba(255, 250, 244, .05);
  box-shadow: 0 28px 70px rgba(24, 15, 28, .28);
  backdrop-filter: blur(3px) saturate(.98);
  -webkit-backdrop-filter: blur(3px) saturate(.98);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(35, 20, 39, .05) 0%, rgba(35, 20, 39, .02) 45%, transparent 100%);
}

.location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #fff4fb;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-shadow: 0 2px 12px rgba(24, 13, 28, .78);
}
.location i { width: 3px; height: 3px; border-radius: 50%; background: #f4c9ef; box-shadow: 0 0 8px rgba(244, 201, 239, .65); }

h1 {
  margin: 0;
  color: #fffaf7;
  font-family: "Fraunces", serif;
  font-size: clamp(2.15rem, 4vw, 3rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.04em;
  text-shadow: 0 3px 18px rgba(23, 12, 27, .82), 0 1px 2px rgba(23, 12, 27, .88);
}
h1 em { color: #f1c7f1; font-style: normal; }

.intro {
  margin: 11px 0 22px;
  color: #fffaf7;
  font-size: .86rem;
  font-weight: 550;
  line-height: 1.48;
  text-shadow: 0 2px 12px rgba(23, 12, 27, .88);
}

.links { display: grid; gap: 9px; }

.link {
  min-height: 65px;
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.84);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.link:hover, .split-links a:hover { transform: translateY(-2px); border-color: rgba(111, 74, 125, .26); background: #fff; }

.link.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #765184, #583563);
  box-shadow: 0 12px 24px rgba(89, 53, 100, .2);
}
.link.subtle { background: rgba(245, 239, 246, .78); }

.icon, .mini-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--purple);
  border: 1px solid rgba(111, 74, 125, .11);
  background: linear-gradient(145deg, #fbf6fc, #eaddec);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 5px 12px rgba(75,45,87,.12);
}
.icon { width: 40px; height: 40px; border-radius: 13px; }
.primary .icon { color: #fff; background: rgba(255,255,255,.13); }
.icon svg { width: 20px; height: 20px; }

.whatsapp-icon {
  color: #3c7655;
  border-color: rgba(60,118,85,.14);
  background: linear-gradient(145deg, #f4fbf6, #dbeee2);
}

.giant-icon {
  color: #70417f;
  background: linear-gradient(145deg, #fbf5fc, #e7d8ec);
}

.miniature-icon {
  color: #9a5279;
  background: linear-gradient(145deg, #fff7fb, #f0dce8);
}

svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-soft { fill: currentColor; stroke: none; opacity: .13; }
.icon-fill { fill: currentColor; stroke: none; }

.link strong, .split-links strong { display: block; font-size: .82rem; font-weight: 700; line-height: 1.1; }
.link small, .split-links small { display: block; margin-top: 4px; color: var(--muted); font-size: .65rem; font-weight: 500; }
.primary small { color: rgba(255,255,255,.72); }
.arrow { color: currentColor; font-size: 1rem; opacity: .72; }

.split-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.split-links a {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.mini-icon { width: 40px; height: 40px; border-radius: 13px; }
.mini-icon svg { width: 22px; height: 22px; stroke-width: 1.85; filter: drop-shadow(0 1px 1px rgba(75,45,87,.12)); }
.whatsapp-icon svg { stroke-width: 1.85; }

.panel-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  margin-top: 17px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 15px;
  color: #45364b;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  font-size: .62rem;
  font-weight: 600;
}
.panel-footer a { display: inline-flex; align-items: center; gap: 5px; color: var(--purple-dark); }
.panel-footer a svg { width: 15px; height: 15px; }
.panel-footer .dot { fill: currentColor; stroke: none; }
.panel-footer span::before { content: "·"; margin-right: 10px; color: #bda6c2; }

@media (max-width: 720px) {
  .backdrop video { object-position: 50% 50%; }
  .backdrop span {
    background: linear-gradient(180deg, rgba(24,15,27,.03) 18%, rgba(24,15,27,.15) 48%, rgba(24,15,27,.7) 100%);
  }
  .page {
    min-height: 100svh;
    padding: max(20px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
    align-items: center;
    justify-content: flex-end;
  }
  .brand { top: max(18px, env(safe-area-inset-top)); width: 88px; height: 88px; }
  .brand img { width: 78px; height: 78px; }
  .panel {
    width: 100%;
    max-width: 430px;
    padding: 22px;
    border-radius: 27px;
    background: rgba(255,250,244,.05);
  }
  h1 { font-size: clamp(2rem, 9vw, 2.65rem); }
}

@media (max-width: 380px), (max-height: 760px) {
  .page { justify-content: flex-start; padding-top: 122px; }
  .panel { padding: 18px; }
  .intro { margin-bottom: 15px; }
  .link { min-height: 58px; }
  .split-links a { min-height: 66px; }
  .panel-footer { margin-top: 12px; padding: 9px 11px; }
}

@media (min-width: 721px) {
  .page { justify-content: flex-end; padding-top: 40px; padding-bottom: 40px; }
  .brand { top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

@keyframes splash-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
