:root {
  --rosa: #f5cdd9;
  --rosa-suave: #f8d7e5;
  --crema: #fcf8f4;
  --dorado: #c89b3c;
  --texto: #6b5544;
  --texto-suave: #8c6d63;
  --marron: #684c43;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Montserrat, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  padding: 14px;
  background: var(--rosa);
  font-family: var(--sans);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
}

.ico {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Tarjeta ---------- */
.page {
  position: relative;
  width: min(100%, 430px);
  min-height: calc(100vh - 28px);
  min-height: calc(100dvh - 28px);
  padding: 25px 18px 22px;
  overflow: hidden;
  border-radius: 25px;
  background: var(--crema);
  box-shadow: 0 12px 40px #7b4d5726;
}
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image: radial-gradient(var(--dorado) .7px, transparent .7px);
  background-size: 10px 10px;
}
.c { position: relative; text-align: center; }

/* ---------- Barra superior ---------- */
.top { display: flex; justify-content: space-between; align-items: center; }
.orn { width: 40px; text-align: center; color: var(--dorado); font-size: 18px; }
.circle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #ffffff99;
  color: var(--texto);
  font-size: 18px;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.circle:hover { background: #fff; transform: scale(1.06); }

/* ---------- Logo y títulos ---------- */
.logo { margin-top: 10px; font-family: var(--serif); color: var(--dorado); }
.hr { font-size: 78px; line-height: .65; letter-spacing: -9px; font-weight: 600; padding-right: 9px; }
.name { margin-top: 5px; font-size: 23px; letter-spacing: 7px; padding-left: 7px; }
.sub { margin-top: 3px; font-size: 12px; letter-spacing: 4px; padding-left: 4px; }

.logo-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

h1 {
  margin: 27px 0 6px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 27px;
  line-height: 1.15;
  color: var(--marron);
}
.tag { margin: 0; font-size: 11px; letter-spacing: 1.2px; color: var(--texto-suave); }

/* ---------- Divisor ---------- */
.div { position: relative; width: 150px; height: 1px; margin: 22px auto; background: var(--dorado); }
.div::after {
  content: "✿";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
  padding: 0 8px;
  background: var(--crema);
  color: var(--dorado);
  font-size: 17px;
}

/* ---------- Links ---------- */
.links { display: grid; gap: 13px; }
.link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 11px 17px;
  text-align: left;
  text-decoration: none;
  color: var(--marron);
  background: #f8d7e5e8;
  border: 1px solid #c89b3c26;
  border-radius: 30px;
  box-shadow: 0 7px 17px #915b6314;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.link:hover, .link:focus-visible {
  transform: translateY(-2px);
  background: #f8d7e5;
  box-shadow: 0 10px 22px #915b6324;
}
.link:active { transform: translateY(0) scale(.99); }

.icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #ffffff99;
  font-size: 21px;
  color: var(--dorado);
  flex: none;
}
.txt { flex: 1; min-width: 0; }
.link b { display: block; font-size: 13px; font-weight: 600; }
.link small { display: block; margin-top: 4px; font-size: 10.5px; color: var(--texto-suave); }
.chev { font-size: 18px; color: var(--dorado); opacity: .8; transition: transform .2s; }
.link:hover .chev { transform: translateX(3px); }

/* ---------- Redes ---------- */
.socials { display: flex; justify-content: center; gap: 17px; margin: 24px 0 10px; }
.social {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--rosa-suave);
  color: #765047;
  font-size: 21px;
  transition: transform .2s, background .2s;
}
.social:hover, .social:focus-visible { transform: translateY(-2px); background: #f4c4d6; }

.quote { margin: 24px 0 0; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--marron); }

.more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 92%;
  margin: 26px auto 17px;
  padding: 14px 18px;
  background: #fff;
  color: var(--texto);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 5px 15px #643c321f;
  transition: transform .2s;
}
.more:hover, .more:focus-visible { transform: translateY(-2px); }
.more .ico { font-size: 15px; color: var(--dorado); }

footer { font-size: 9px; line-height: 1.8; color: #a08478; }

/* ---------- Aviso "Enlace copiado" ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  padding: 11px 20px;
  border-radius: 30px;
  background: var(--marron);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 2px solid var(--dorado); outline-offset: 3px; }

/* ---------- Animación de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .c > *, .links > * { animation: subir .6s ease both; }
  .c > :nth-child(2) { animation-delay: .05s; }
  .c > :nth-child(3) { animation-delay: .1s; }
  .c > :nth-child(4) { animation-delay: .15s; }
  .c > :nth-child(5) { animation-delay: .2s; }
  .links > :nth-child(1) { animation-delay: .25s; }
  .links > :nth-child(2) { animation-delay: .32s; }
  .links > :nth-child(3) { animation-delay: .39s; }
  .links > :nth-child(4) { animation-delay: .46s; }
  @keyframes subir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 360px) {
  h1 { font-size: 24px; }
  .quote { font-size: 25px; }
}