:root {
  --coral:      #e69082;
  --beige:      #f2e1d4;
  --copper:     #c4a77d;
  --bg:         #0a0805;
  --font-serif: 'Bodoni Moda', serif;
}

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

body {
  background: var(--bg);
  height: 100dvh;
  overflow: hidden;
  font-family: var(--font-serif);
  display: flex;
  justify-content: center;
}

/* ── Dot grid (right edge) ──────────────────────────────── */
.dots-rail {
  position: fixed;
  right: 14px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
  z-index: 10;
}
.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
}

/* ── Page wrapper ───────────────────────────────────────── */
.page {
  width: 100%;
  max-width: 440px;
  height: 100dvh;
  padding: 20px 22px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

/* ── Logo principal ─────────────────────────────────────── */
.logo-section {
  text-align: center;
  width: 100%;
  padding-bottom: 25px;
  margin: -30px 0 -20px;
}
.logo-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ── Button base ────────────────────────────────────────── */
.btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  border: none;
  transition: transform 0.28s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.28s ease;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s ease;
}
.btn:hover::after   { background: rgba(255,255,255,0.09); }
.btn:hover          { transform: translateY(-4px) scale(1.025); box-shadow: 0 14px 34px rgba(0,0,0,0.45); }
.btn:active         { transform: translateY(0) scale(0.97); transition-duration: 0.1s; }

.btn-icon  { font-size: 17px; color: rgba(0,0,0,0.65); width: 22px; text-align: center; flex-shrink: 0; position: relative; z-index: 1; }
.btn-label { font-size: 13.5px; font-weight: 700; letter-spacing: 3px; color: rgba(0,0,0,0.75); text-transform: uppercase; flex: 1; position: relative; z-index: 1; }
.btn-arrow { font-size: 16px; color: rgba(0,0,0,0.65); transition: transform 0.25s ease; position: relative; z-index: 1; }
.btn:hover .btn-arrow { transform: translate(3px,-3px); }

/* ── Social grid ────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}
.grid .btn         { padding: 22px 18px; }
.btn-whatsapp      { background: var(--copper); }
.btn-instagram     { background: var(--coral); }
.btn-facebook      { background: var(--coral); }
.btn-tiktok        { background: var(--coral); }

/* ── Appointment ────────────────────────────────────────── */
.appointment {
  width: 100%;
  padding: 24px 22px;
  background: var(--beige);
}
.appt-text        { flex: 1; position: relative; z-index: 1; }
.appt-title       { font-size: 14.5px; font-weight: 700; letter-spacing: 3px; color: rgba(0,0,0,0.78); text-transform: uppercase; display: block; }
.appt-sub         { font-size: 7.5px; font-weight: 400; letter-spacing: 3px; color: rgba(0,0,0,0.38); text-transform: uppercase; display: block; margin-top: 5px; }
.appointment:hover { box-shadow: 0 18px 44px rgba(242,225,212,0.22); }

/* ── Bottom nav ─────────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(22,20,16,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 50px;
  padding: 10px 28px;
  display: flex;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 32px rgba(0,0,0,0.55);
  z-index: 200;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.25s ease;
  padding: 4px 10px;
  border-radius: 30px;
  text-decoration: none;
}
.nav-item.active { opacity: 1; }
.nav-item:hover  { opacity: 0.85; }
.nav-icon  { font-size: 17px; color: #fff; }
.nav-label { font-size: 7px; font-weight: 500; letter-spacing: 2px; color: rgba(255,255,255,0.55); text-transform: uppercase; }

/* ── Ripple ─────────────────────────────────────────────── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transform: scale(0);
  animation: ripple-anim 0.55s linear;
  pointer-events: none;
  z-index: 2;
}
@keyframes ripple-anim {
  to { transform: scale(5); opacity: 0; }
}

/* ── Responsive: compactar en móvil ────────────────────── */
@media (max-width: 768px) {
  .page {
    padding: 6px 16px 80px;
    gap: 7px;
  }
  .logo-section {
    margin: -22px 0 -16px;
  }
  .logo-img {
    max-width: 270px;
  }
  .grid {
    gap: 7px;
  }
  .grid .btn {
    padding: 13px 16px;
  }
  .appointment {
    padding: 13px 18px;
  }
  .btn-label {
    font-size: 11.5px;
    letter-spacing: 2px;
  }
  .btn-icon  { font-size: 15px; }
  .btn-arrow { font-size: 14px; }
  .appt-title {
    font-size: 12px;
    letter-spacing: 2px;
  }
  .appt-sub {
    font-size: 6.5px;
    letter-spacing: 2px;
    margin-top: 3px;
  }
  .bottom-nav {
    bottom: 14px;
    padding: 8px 22px;
    gap: 20px;
  }
  .nav-icon  { font-size: 15px; }
  .nav-label { font-size: 6px; }
}
