/* Gracia — páginas sueltas: gracias (nota de Cristian), 404 y legales */

@font-face {
  font-family: Caveat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/caveat-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Gracias: una nota de Cristian ---------- */
.gx { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.gx-top { width: min(1280px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0; }
.gx-top img { display: block; height: 34px; width: auto; }
.gx-main { flex: 1; display: grid; place-items: center; padding: 16px 20px 72px; }
.gx-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; width: min(640px, 100%); }
.gx-in::before { content: ""; position: absolute; left: 50%; top: 45%; z-index: -1; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; background: radial-gradient(circle, rgba(176,137,255,0.35), rgba(176,137,255,0) 65%); pointer-events: none; }
.gx-note { position: relative; width: 100%; border-radius: 28px; background: #fff; padding: 38px 42px 32px; box-shadow: 0 40px 90px rgba(26,20,54,0.12); transform: rotate(-1deg); }
.gx-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; padding-right: 110px; }
.gx-head img { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.gx-head div { display: flex; flex-direction: column; min-width: 0; }
.gx-head b { font-size: 16px; font-weight: 600; color: var(--ink); }
.gx-head small { font-size: 13px; color: var(--muted); }
.gx-body p { margin: 0 0 14px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.62; letter-spacing: -0.02em; color: var(--ink); }
.gx-body strong { font-weight: 600; color: var(--purple-dark); }
.gx-sign { font-family: Caveat, cursive; font-size: 42px; line-height: 1; color: var(--purple); margin-top: 4px; }
.gx-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed rgba(26,20,54,0.14); }
.gx-chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 50px; padding: 8px 14px; font-size: 13.5px; background: rgb(244,240,254); color: var(--purple-dark); }
.gx-chip svg { width: 15px; height: 15px; flex-shrink: 0; }
.gx-stamp { position: absolute; right: 30px; top: 30px; border-radius: 12px; padding: 8px 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(30,150,105); box-shadow: inset 0 0 0 2px rgb(30,150,105); transform: rotate(8deg); }
.gx-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; }
.gx-btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 50px; background: rgb(37,211,102); color: #fff; padding: 17px 26px; font-size: 16px; font-weight: 600; box-shadow: 0 16px 40px rgba(37,211,102,0.3); transition: transform .3s var(--ease), box-shadow .3s ease; }
.gx-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 48px rgba(37,211,102,0.38); }
.gx-btn svg { width: 19px; height: 19px; }
.gx-back { font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(26,20,54,0.25); transition: text-decoration-color .2s ease; }
.gx-back:hover { color: var(--ink); text-decoration-color: var(--ink); }
@media (max-width: 560px) {
  .gx-top { width: calc(100% - 32px); padding: 20px 0; }
  .gx-top img { height: 28px; }
  .gx-main { padding: 8px 16px 48px; }
  .gx-note { padding: 28px 22px 24px; border-radius: 24px; }
  .gx-head { padding-right: 76px; }
  .gx-head img { width: 48px; height: 48px; }
  .gx-stamp { right: 16px; top: 18px; padding: 6px 10px; font-size: 11px; }
  .gx-sign { font-size: 36px; }
  .gx-btn { width: 100%; justify-content: center; }
}

/* ---------- 404: un "404" gigante; el cero son las bolitas de Gracia ---------- */
.nf { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.nf-top { width: min(1280px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0; }
.nf-top img { display: block; height: 34px; width: auto; }
.nf-main { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.nf-main::before { content: ""; position: absolute; left: 50%; bottom: -320px; z-index: -1; width: 780px; height: 780px; margin-left: -390px; border-radius: 50%; background: radial-gradient(circle, rgba(176,137,255,0.38), rgba(176,137,255,0) 65%); pointer-events: none; }
.nf-copy { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0 24px; text-align: center; }
.nf h1 { margin: 0; font-weight: 600; font-size: clamp(36px, 4.6vw, 70px); line-height: 1.02; letter-spacing: -0.05em; color: var(--ink); text-wrap: balance; }
.nf h1 em { display: block; font-style: normal; color: var(--purple); }
.nf h1 .w { display: inline-block; }
.nf-sub { margin: 0; max-width: 38ch; font-size: 17px; line-height: 1.6; color: var(--text); }
.nf-btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 50px; background: var(--purple); color: #fff; padding: 18px 28px; font-size: 16px; font-weight: 600; box-shadow: 0 16px 40px rgba(122,72,232,0.35); transition: box-shadow .3s ease; }
.nf-btn:hover { color: #fff; box-shadow: 0 22px 50px rgba(122,72,232,0.45); }
.nf-btn svg { width: 19px; height: 19px; transition: transform .3s var(--ease); }
.nf-btn:hover svg { transform: translateX(4px); }
.nf-giant { display: flex; justify-content: center; align-items: flex-end; gap: 2vw; margin-top: 40px; font-weight: 700; font-size: clamp(170px, 30vw, 440px); line-height: 0.74; letter-spacing: -0.06em; color: var(--ink); user-select: none; }
.nf-4 { display: inline-block; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.06)); mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.06)); }
.nf-cero { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.08em; width: 0.62em; height: 0.62em; margin-bottom: 0.06em; }
.nf-cero i { display: block; border-radius: 50%; background: var(--purple); }
.nf-cero i:nth-child(2), .nf-cero i:nth-child(3) { background: var(--lilac); }
@media (max-width: 560px) {
  .nf-top { width: calc(100% - 32px); padding: 20px 0; }
  .nf-top img { height: 28px; }
  .nf-main { justify-content: center; padding-top: 40px; }
  .nf-btn { width: 100%; justify-content: center; }
  .nf-giant { margin-top: 32px; }
}

/* ---------- Libro de reclamaciones ---------- */
.rc-aviso { border-radius: 18px; background: rgb(244,240,254); padding: 20px 24px; margin-bottom: 40px; }
.rc-aviso p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.rc-aviso p + p { margin-top: 10px; }
.rc-aviso strong { color: var(--ink); }
.rc-form { display: flex; flex-direction: column; gap: 16px; }
.rc-form h2 { margin: 26px 0 0; }
.rc-fila { display: flex; flex-wrap: wrap; gap: 16px; }
.rc-fila .rc-campo { flex: 1 1 240px; }
.rc-campo { display: flex; flex-direction: column; gap: 7px; }
.rc-campo > span { font-size: 14px; font-weight: 500; color: var(--ink); }
.rc-campo input, .rc-campo textarea { width: 100%; border: none; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(26,20,54,0.12); padding: 13px 16px; font-size: 15.5px; color: var(--ink); transition: box-shadow .2s ease; }
.rc-campo textarea { resize: vertical; line-height: 1.55; }
.rc-campo input:focus, .rc-campo textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--purple); }
.rc-campo input::placeholder, .rc-campo textarea::placeholder { color: rgb(160,155,180); }
.rc-oculto { display: none; }
.rc-set { display: flex; flex-direction: column; gap: 10px; border: none; margin: 0; padding: 0; }
.rc-set legend { padding: 0 0 4px; font-size: 14px; font-weight: 500; color: var(--ink); }
.rc-radio, .rc-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.rc-radio input, .rc-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--purple); flex-shrink: 0; }
.rc-radio b { color: var(--ink); font-weight: 600; }
.rc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rc-enviar { align-self: flex-start; margin-top: 8px; border: none; border-radius: 50px; background: var(--purple); box-shadow: 0 12px 28px rgba(122,72,232,0.28); padding: 16px 30px; font-size: 16px; font-weight: 500; color: #fff; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s ease; }
.rc-enviar:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(122,72,232,0.4); }
.rc-enviar:disabled { opacity: 0.6; cursor: default; }
.rc-msg { min-height: 22px; margin: 0; font-size: 14.5px; color: var(--muted); }
.rc-msg.is-error { color: rgb(196,42,72); }
.rc-listo { border-radius: 20px; background: rgb(240,250,245); box-shadow: inset 0 0 0 1px rgba(30,150,105,0.25); padding: 26px 28px; }
.rc-listo h2 { margin: 0 0 8px; color: rgb(30,150,105); }
.rc-listo p { margin: 0 0 8px; }

/* ---------- Legales (el modal de la landing lee el bloque .lg) ---------- */
.lg { position: relative; z-index: 1; width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 90px; color: var(--text); }
.lg-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 50px; }
.lg-top a:last-child { font-size: 14px; color: var(--purple); }
.lg h1 { margin: 0 0 8px; font-weight: 600; font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.045em; color: var(--ink); }
.lg .upd { margin: 0 0 36px; font-size: 14px; color: var(--muted); }
.lg h2 { margin: 36px 0 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.03em; color: var(--ink); }
.lg p, .lg li { font-size: 15.5px; line-height: 1.7; }
.lg ul { padding-left: 20px; }
.lg a { color: var(--purple); }
