/* Cristal y luz para los accesos del QR. Estilos exclusivos de /landing. */
body.pagina-contacto-qr {
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  color: #233B4A; background: #DCE5E9; isolation: isolate;
}
.qr__ambiente {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse at 16% 8%, #FFFDF5 0, transparent 49%), radial-gradient(ellipse at 85% 76%, #A8C2D2 0, transparent 58%), linear-gradient(140deg, #EFF3F1, #D1DDE4 56%, #EDF0EA);
}
/* Dos arcos pulidos detrás del cristal: volumen sin imágenes ni descargas. */
.qr__aro {
  position: absolute; width: 670px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 15deg, #EFF8FF, #8FA9B9 15%, #F8FCFF 28%, #FFF 37%, #A0B9C9 50%, #587E96 64%, #E5F4FC 78%, #FFF 90%, #EFF8FF);
  -webkit-mask-image: radial-gradient(circle, transparent 56%, #000 56.5%, #000 63%, transparent 69%);
  mask-image: radial-gradient(circle, transparent 56%, #000 56.5%, #000 63%, transparent 69%);
  opacity: .7;
}
.qr__aro--uno { left: calc(50% - 650px); top: -110px; transform: rotate(-25deg) scaleY(.72); }
.qr__aro--dos { width: 780px; right: calc(50% - 730px); bottom: -235px; transform: rotate(28deg) scaleY(.74); opacity: .52; }
.qr__destello {
  position: absolute; width: 100%; height: 150%; left: -25%; top: -35%;
  background: linear-gradient(116deg, transparent 40%, rgba(255, 255, 255, .64) 47%, rgba(255, 255, 255, .2) 48%, transparent 56%);
  transform: rotate(-8deg);
}
.qr {
  position: relative; flex: 1 0 auto; display: grid; align-content: center;
  width: min(calc(100% - 32px), 448px); margin-inline: auto;
  padding-block: clamp(22px, 4vh, 42px) 18px;
}
.qr__tarjeta {
  position: relative; isolation: isolate; min-width: 0; padding: 27px;
  border: 1px solid rgba(255, 255, 255, .96); border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .76), rgba(247, 252, 255, .22) 48%, rgba(232, 243, 250, .32));
  -webkit-backdrop-filter: blur(28px) saturate(1.15); backdrop-filter: blur(28px) saturate(1.15);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .95), inset 1px 0 1px rgba(255, 255, 255, .7), inset -1px -1px 1px rgba(255, 255, 255, .5), 0 28px 64px -24px rgba(34, 65, 87, .32), 0 5px 12px -7px rgba(34, 65, 87, .3);
}
.qr__tarjeta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(ellipse at var(--luz-x, 20%) var(--luz-y, 0%), rgba(255, 255, 255, .86), transparent 53%), linear-gradient(122deg, transparent 19%, rgba(255, 255, 255, .34) 20%, rgba(255, 255, 255, .04) 40%, transparent 41%);
}
.qr__tarjeta::after {
  content: ""; position: absolute; top: -1px; left: 9%; width: 82%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #FFF 30%, #FFF 70%, transparent);
  box-shadow: 0 0 14px 2px rgba(255, 255, 255, .85);
}
.qr__cabecera { text-align: center; }
.qr__marca { display: flex; justify-content: center; }
.qr__marca .marca { width: min(100%, 278px); max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
/* El dibujo y su SVG comparten lienzo; se mantiene el destello de ART al tocar. */
.qr__marca .marca__dibujo { width: 100%; }
.qr__marca .marca img { width: 100%; height: auto; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .95)); }
.qr__cabecera h1 { margin-top: 5px; color: #20394A; font-size: clamp(1.22rem, 4.8vw, 1.45rem); font-weight: 550; line-height: 1.25; letter-spacing: -.045em; }
.qr__zona { display: inline-flex; justify-content: center; align-items: center; gap: 6px; margin-top: 10px; color: #47616E; font-size: .77rem; line-height: 1.5; }
.qr__zona svg { width: 14px; height: 14px; flex: none; }
.qr__acciones { display: grid; gap: 10px; margin-top: 25px; }
.qr__accion {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 40px minmax(0, 1fr) 27px;
  align-items: center; gap: 12px; min-height: 66px; padding: 11px 13px;
  color: #233E50; text-decoration: none; border: 1px solid rgba(255, 255, 255, .95); border-radius: 14px;
  background: linear-gradient(115deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .16) 55%, rgba(231, 243, 250, .44));
  box-shadow: inset 0 1px 0 #FFF, inset 0 -1px 0 rgba(255, 255, 255, .3), 0 5px 10px -6px rgba(39, 72, 96, .23);
  -webkit-tap-highlight-color: rgba(23, 59, 99, .12);
}
.qr__accion::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(ellipse at var(--luz-x, 16%) var(--luz-y, 0%), rgba(255, 255, 255, .8), transparent 65%);
}
.qr__icono {
  display: grid; place-items: center; width: 40px; height: 40px; color: #315D78; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .85); background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(164, 194, 211, .35));
  box-shadow: inset 0 1px 1px #FFF, 0 3px 6px -4px rgba(35, 68, 89, .4);
}
.qr__icono svg { width: 22px; height: 22px; }
.qr__texto { display: grid; gap: 3px; min-width: 0; }
.qr__texto strong { font-family: var(--titular); font-size: .86rem; font-weight: 550; line-height: 1.35; letter-spacing: -.025em; }
.qr__texto > span { color: #425C6C; font-size: .76rem; line-height: 1.4; overflow-wrap: anywhere; }
.qr__flecha { display: grid; place-items: center; width: 27px; height: 27px; color: #466B82; border-radius: 50%; background: rgba(255, 255, 255, .34); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65); }
.qr__flecha svg { width: 17px; height: 17px; }
.qr__accion--principal {
  color: #FFF; border-color: rgba(255, 255, 255, .68);
  background: linear-gradient(128deg, #466E85, #234A69 43%, #173B63 80%, #3F6380);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58), inset 0 -1px 0 rgba(15, 45, 73, .35), 0 10px 19px -10px rgba(23, 59, 99, .65);
}
.qr__accion--principal::before { background: radial-gradient(ellipse at var(--luz-x, 0%) var(--luz-y, 0%), rgba(220, 243, 255, .25), transparent 65%), linear-gradient(120deg, transparent 32%, rgba(255, 255, 255, .14) 33%, transparent 65%); }
.qr__accion--principal .qr__icono { color: #FFF; border-color: rgba(255, 255, 255, .34); background: linear-gradient(145deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 3px 5px -3px #183C5B; }
.qr__accion--principal .qr__texto > span { color: #E1ECF4; }
.qr__accion--principal .qr__flecha { color: #FFF; background: rgba(224, 244, 255, .15); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.qr__accion--whatsapp .qr__icono { color: #136447; background: linear-gradient(145deg, #F5FFF9, rgba(158, 205, 184, .34)); }
.pagina-contacto-qr :focus-visible { outline: 3px solid #173B63; outline-offset: 4px; box-shadow: 0 0 0 7px rgba(255, 255, 255, .92); }
.qr__pie { width: min(calc(100% - 40px), 448px); margin-inline: auto; padding: 5px 0 max(22px, env(safe-area-inset-bottom)); color: #425C6D; text-align: center; font-size: .72rem; line-height: 1.5; }
.qr__pie nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.qr__pie a { display: inline-flex; align-items: center; min-height: 44px; color: #365668; text-decoration: none; }
.qr__pie a:hover { text-decoration: underline; text-underline-offset: 3px; }
.qr__pie p { margin-top: 1px; }
@media (max-width: 599px) {
  .qr__aro--uno { width: 490px; top: -80px; left: -240px; }
  .qr__aro--dos { width: 570px; right: -340px; bottom: -115px; }
}
@media (max-width: 399px) {
  .qr { padding-top: 18px; }
  .qr__tarjeta { padding: 20px 18px; border-radius: 27px; }
  .qr__marca .marca { width: 250px; }
  .qr__acciones { margin-top: 22px; gap: 9px; }
  .qr__accion { gap: 10px; padding-inline: 11px; grid-template-columns: 36px minmax(0, 1fr) 24px; }
  .qr__icono { width: 36px; height: 36px; border-radius: 10px; }
  .qr__texto strong { font-size: .83rem; }
  .qr__texto > span { font-size: .72rem; }
  .qr__flecha { width: 24px; height: 24px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .qr__tarjeta { background: linear-gradient(135deg, #F5F9FA, #DCE8EE); }
}
@media (prefers-reduced-motion: no-preference) {
  .qr__tarjeta { animation: qr-aparecer .8s cubic-bezier(.16, 1, .3, 1) backwards; }
  .qr__accion { animation: qr-aparecer .7s cubic-bezier(.16, 1, .3, 1) backwards; transition: transform .25s var(--curva), box-shadow .25s ease, border-color .25s ease; }
  .qr__accion:nth-child(1) { animation-delay: .08s; }
  .qr__accion:nth-child(2) { animation-delay: .13s; }
  .qr__accion:nth-child(3) { animation-delay: .18s; }
  .qr__accion:nth-child(4) { animation-delay: .23s; }
  .qr__accion:nth-child(5) { animation-delay: .28s; }
  .qr__accion:nth-child(6) { animation-delay: .33s; }
  .qr__flecha, .qr__icono { transition: transform .3s var(--curva); }
  .qr__destello { animation: qr-luz 7s ease-in-out 2 alternate; }
  @keyframes qr-aparecer { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes qr-luz { from { opacity: .35; transform: translateX(-6%) rotate(-8deg); } to { opacity: .85; transform: translateX(8%) rotate(-8deg); } }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .qr__accion:hover { transform: translateY(-3px); border-color: #FFF; box-shadow: inset 0 1px 0 #FFF, 0 12px 20px -12px rgba(28, 65, 91, .5); }
  .qr__accion--principal:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 13px 23px -12px rgba(23, 59, 99, .8); }
  .qr__accion:hover .qr__flecha { transform: translateX(2px); }
  .qr__accion:hover .qr__icono { transform: translateY(-1px); }
  .qr__accion--principal:hover .qr__flecha { transform: translateY(2px); }
}
.qr__accion:active { transform: translateY(1px); }
