/* Navegación y cierre editorial: cristal claro, azul y lavanda de Nana. */
html {
  scroll-padding-top: 104px;
}
.skip-link {
  z-index: 60;
}
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fffdf8e8;
  border-bottom: 1px solid #d9e5f480;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
.site-nav.is-scrolled {
  background: #fffef9f2;
  box-shadow: 0 8px 28px #416dab12;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 86px;
}
.reading-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #9dd6e8, #8faff9 55%, #c1a7e8);
  transform: scaleX(var(--read-progress, 0));
  transform-origin: left;
  pointer-events: none;
}
.wordmark {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 8px;
}
.wordmark img {
  width: 210px;
  height: auto;
}
.nav-links {
  display: flex;
  gap: 3px;
  padding: 5px;
  border: 1px solid #dce6f7;
  border-radius: 19px;
  background: linear-gradient(110deg, #eaf2fe, #f1edfa);
  box-shadow: inset 0 1px 2px #fff;
}
.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 13px;
  color: #516589;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.nav-links .icon {
  width: 16px;
  height: 16px;
  color: #7494bd;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: #214d91;
  background: #fff;
  box-shadow: 0 3px 12px #567baa12;
}
.nav-links a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 35%;
  right: 35%;
  height: 3px;
  border-radius: 8px;
  background: #609afa;
}
.nav-links a[aria-current] .icon {
  color: #4179cd;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 14px;
  min-height: 44px;
  padding: 11px 15px;
  white-space: nowrap;
}
.nav-launch {
  border: 1px solid #dce5f2;
  color: #5c7090;
  background: #ffffff9e;
}
.nav-launch:hover {
  background: #edf4ff;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4b957e;
  box-shadow: 0 0 0 4px #76b59d16;
  flex-shrink: 0;
}
.site-nav .menu-toggle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 10px;
}
.nav-drawer {
  position: absolute;
  top: calc(100% + 8px);
  right: 22px;
  left: 22px;
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  background: #fffefa;
  border: 1px solid #dce6f5;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 60px #284a7a29;
}
.nav-drawer > .eyebrow {
  color: #56708f;
  margin-bottom: 16px;
}
.nav-drawer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.nav-drawer-links a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border-radius: 16px;
  background: #eff4fd;
  color: #25466e;
  font-size: 0.91rem;
  font-weight: 800;
}
.nav-drawer-links a:nth-child(2) {
  background: #f2edfc;
}
.nav-drawer-links a:nth-child(3) {
  background: #ecf7f3;
}
.nav-drawer-links a:nth-child(4) {
  background: #fff1eb;
}
.nav-drawer-links a:nth-child(5) {
  grid-column: 1 / -1;
  background: #fff8e5;
}
.nav-drawer-links a > .icon {
  width: 21px;
  height: 21px;
  color: #7198c6;
}
.nav-drawer-links a small {
  display: block;
  font-size: 0.72rem;
  color: #4f6180;
  font-weight: 400;
}
.nav-drawer-links a > span:last-child {
  margin-left: auto;
  color: #859cb9;
}
.nav-drawer-links a[aria-current] {
  outline: 1px solid #7d9ed3;
}
.nav-drawer-launch {
  margin-top: 17px;
  padding-top: 18px;
  border-top: 1px solid #e4eaf4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4e6889;
  font-size: 0.79rem;
}
.nav-drawer-launch > .icon {
  margin-left: auto;
  width: 18px;
}
.availability-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #cddbef;
  background: #fff8;
  border-radius: 13px;
  color: #5e82b2;
}

.nana-footer {
  position: relative;
  padding: 60px 0 24px;
  background:
    linear-gradient(160deg, #eaf3fcdf, #eeeffbe0 65%, #e7effbe8),
    url("/assets/bg-welcome.webp") center 58% / cover;
  border-top: 1px solid #dce6f3;
  color: #26456d;
  overflow: clip;
}
.footer-invitation {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 44px;
  border-radius: 32px;
  border: 1px solid #fff;
  background: linear-gradient(125deg, #ffffffbe, #f7faff9e);
  box-shadow:
    0 20px 60px #426bab10,
    inset 0 1px 0 #fff;
}
.footer-wordmark {
  margin-bottom: 35px;
}
.footer-wordmark img {
  width: 240px;
}
.footer-invitation-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5b7193;
  font-size: 0.58rem;
  margin-bottom: 17px;
}
.footer-invitation h2 {
  color: #163864;
  font-size: clamp(2.2rem, 3.25vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.footer-invitation h2 em {
  color: #527fc2;
}
.footer-description {
  max-width: 420px;
  margin-top: 22px;
  color: #596f8f;
  font-size: 0.91rem;
}
.footer-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}
.footer-cta-links .button {
  min-height: 46px;
  padding: 11px 18px;
  font-size: 0.78rem;
  border-radius: 14px;
}
.footer-cta-links .icon {
  width: 17px;
  height: 17px;
}
.footer-made {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: #6c7f9a;
  font-size: 0.69rem;
}
.footer-made .icon {
  width: 15px;
  height: 15px;
  color: #b782a7;
}
.footer-launch-card {
  background: #ffffffbd;
  border: 1px solid #fff;
  border-radius: 25px;
  box-shadow: 0 10px 25px #6381b012;
  text-align: center;
  padding: 20px 22px 24px;
}
.footer-nana-art {
  height: 183px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 22px;
}
.footer-nana-halo {
  position: absolute;
  width: 165px;
  height: 165px;
  bottom: 2px;
  border: 1px solid #d2e2fb;
  border-radius: 50%;
  background: linear-gradient(140deg, #e5f4ff, #f4edff);
  box-shadow: 0 0 0 13px #edf2ff5c;
}
.footer-nana-art img {
  position: relative;
  height: 185px;
  width: 154px;
  object-fit: contain;
  filter: drop-shadow(0 9px 8px #7294c321);
}
.footer-nana-note {
  position: absolute;
  bottom: -5px;
  right: 0;
  padding: 7px 12px;
  border: 1px solid #e4e4f7;
  border-radius: 12px 12px 12px 2px;
  color: #7a739b;
  background: #fffdf9;
  box-shadow: 0 4px 12px #5568980d;
  font-size: 0.6rem;
  transform: rotate(-4deg);
}
.footer-nana-star {
  position: absolute;
  top: 25px;
  right: 24px;
  color: #95b6dc;
  font-size: 2.5rem;
}
.footer-launch-card h3 {
  font-size: 0.99rem;
  font-weight: 800;
  color: #304c77;
  letter-spacing: -0.025em;
}
.footer-launch-card > p:not(.store-coming):not(.footer-store-status) {
  margin-top: 7px;
  font-size: 0.74rem;
  color: #677b98;
}
.store-coming {
  margin-top: 23px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.105em;
  color: #657993;
}
.official-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 20px;
  margin: 9px auto 3px;
  padding: 3px 0;
}
.official-store {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
}
.apple-store {
  margin: 0;
}
.apple-store img {
  height: 40px;
  width: auto;
  max-width: none;
}
/* El PNG oficial de Google incluye margen transparente arriba y abajo. */
.google-store img {
  width: 144px;
  height: auto;
  max-width: none;
}
.footer-store-status {
  font-size: 0.63rem;
  line-height: 1.6;
  color: #738199;
  min-height: 33px;
  margin-top: 4px;
  border-radius: 5px;
}
.footer-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 20px;
  margin-top: 24px;
}
.footer-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 34px 36px;
  border: 1px solid #fff;
  border-radius: 25px;
  background: #ffffffa8;
  box-shadow: 0 12px 34px #5575a40b;
}
.footer-directory .eyebrow,
.footer-social .eyebrow {
  font-size: 0.58rem;
  color: #50658a;
  margin-bottom: 14px;
}
.footer-directory nav {
  min-width: 0;
}
.footer-directory a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: #536989;
  padding: 7px 0;
}
.footer-directory .icon {
  width: 14px;
  height: 14px;
  color: #8297b5;
  transition: transform 0.2s;
}
.footer-directory a:hover {
  color: #285da8;
}
.footer-directory a:hover .icon {
  transform: translateX(3px);
}
.footer-social {
  padding: 33px 32px;
  border: 1px solid #d5e2f5;
  border-radius: 25px;
  background: linear-gradient(135deg, #e7f2ff, #f3ecff);
  box-shadow: 0 12px 34px #5575a40b;
}
.footer-social h3 {
  max-width: 290px;
  color: #214a7b;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.footer-social > p:not(.eyebrow) {
  margin-top: 10px;
  color: #587190;
  font-size: 0.78rem;
  line-height: 1.5;
}
.footer-social-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.footer-social-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 14px;
  border: 1px solid #fff;
  border-radius: 16px;
  background: #ffffffba;
  color: #214a7b;
  font-size: 0.8rem;
  font-weight: 800;
  transition: background 0.2s, transform 0.2s;
}
.footer-social-links a:hover {
  background: #fff;
  transform: translateY(-2px);
}
.footer-social-links a > span:last-child {
  margin-left: auto;
  color: #6e8caf;
  font-size: 1.05rem;
}
.footer-social-links small {
  display: block;
  color: #617b9a;
  font-size: 0.69rem;
  font-weight: 400;
}
.social-icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #e8effd;
}
.social-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-icon-dot {
  fill: currentColor;
  stroke: none;
}
.footer-baseline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding-top: 21px;
  border-top: 1px solid #c9d7ed;
  font-size: 0.63rem;
  color: #50658a;
}
.footer-copyright {
  font-weight: 800;
}
.footer-utilities {
  display: flex;
  align-items: center;
  gap: 17px;
}
.footer-utilities button {
  min-height: 44px;
  background: none;
  border: 0;
  padding: 10px 0;
  color: #50658a;
  font-size: 0.63rem;
}
.footer-utilities button:hover {
  text-decoration: underline;
}
.back-to-top {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d3def0;
  background: #ffffff8f;
  border-radius: 50%;
}
.back-to-top .icon {
  width: 17px;
  height: 17px;
}
.footer-trademarks {
  max-width: 800px;
  color: #65758e;
  font-size: 0.54rem;
  line-height: 1.7;
  margin-top: 18px;
}
@media (max-width: 1180px) {
  .nav-inner {
    gap: 18px;
  }
  .wordmark img {
    width: 190px;
  }
  .nav-links a {
    padding: 10px;
  }
  .nav-launch {
    padding: 10px 12px;
  }
  .footer-invitation {
    padding: 32px;
    gap: 24px;
  }
  .footer-launch-card {
    padding-inline: 12px;
  }
  .footer-wordmark img {
    width: 230px;
  }
}
@media (max-width: 1060px) {
  .site-nav .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
  .footer-invitation {
    grid-template-columns: 1.2fr 1fr;
    padding: 28px;
  }
  .footer-invitation h2 {
    font-size: 2.35rem;
  }
  .footer-cards {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  }
  .footer-directory {
    gap: 22px;
    padding: 26px;
  }
  .footer-social {
    padding: 26px;
  }
  .footer-tagline {
    display: none;
  }
}
@media (max-width: 800px) {
  .nav-inner {
    height: 74px;
    gap: 13px;
  }
  html {
    scroll-padding-top: 94px;
  }
  .nana-footer {
    padding-top: 30px;
  }
  .footer-invitation {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 30px;
  }
  .footer-wordmark {
    margin-bottom: 27px;
  }
  .footer-invitation h2 {
    font-size: clamp(2.1rem, 5.8vw, 3rem);
  }
  .footer-description {
    max-width: 470px;
  }
  .footer-launch-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-content: center;
    padding: 25px;
  }
  .footer-nana-art {
    grid-column: 1;
    grid-row: 1 / 6;
    margin: 0 20px 10px 0;
  }
  .footer-launch-card > :not(.footer-nana-art) {
    grid-column: 2;
  }
  .footer-launch-card h3 {
    align-self: end;
  }
  .footer-nana-note {
    right: -8px;
    white-space: nowrap;
  }
  .footer-nana-star {
    right: 0;
  }
  .store-coming {
    margin-top: 16px;
  }
  .footer-cards {
    grid-template-columns: 1fr;
  }
  .footer-social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .nav-launch {
    display: none;
  }
  .wordmark img {
    width: 185px;
  }
  .nav-drawer-links {
    grid-template-columns: 1fr;
  }
  .nav-drawer {
    padding: 20px;
  }
  .nav-drawer-links a {
    padding: 13px 14px;
  }
  .footer-invitation {
    padding: 26px 22px;
    border-radius: 26px;
    gap: 28px;
  }
  .footer-wordmark img {
    width: 220px;
  }
  .footer-description {
    font-size: 0.85rem;
  }
  .footer-launch-card {
    display: block;
    padding: 20px 12px 24px;
  }
  .footer-nana-art {
    margin: 0 auto 22px;
    width: 240px;
    max-width: 100%;
  }
  .footer-launch-card h3 {
    font-size: 0.98rem;
  }
  .store-coming {
    margin-top: 22px;
  }
  .footer-nana-note {
    right: -4px;
  }
  .footer-directory {
    padding: 26px 22px;
    gap: 20px;
  }
  .footer-directory a {
    font-size: 0.74rem;
    line-height: 1.45;
    min-height: 44px;
    padding: 8px 0;
  }
  .footer-directory .icon {
    display: none;
  }
  .footer-social {
    padding: 26px;
  }
  .footer-social-links {
    grid-template-columns: 1fr;
  }
  .footer-baseline {
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-copyright {
    flex: 1;
  }
  .footer-utilities {
    gap: 12px;
  }
  .footer-trademarks {
    font-size: 0.55rem;
  }
}
@media (max-width: 400px) {
  .wordmark img {
    width: 152px;
  }
  .nav-inner {
    gap: 9px;
  }
  .footer-wordmark img {
    width: 210px;
  }
  .footer-invitation {
    padding: 25px 18px;
  }
  .footer-invitation h2 {
    font-size: 1.95rem;
  }
  .footer-launch-card {
    margin-inline: -7px;
  }
  .footer-cta-links {
    gap: 8px;
  }
  .footer-cta-links .button {
    padding: 10px 13px;
    font-size: 0.7rem;
    gap: 9px;
  }
  .footer-directory {
    gap: 15px;
    padding: 24px 19px;
  }
  .footer-copyright {
    flex-basis: 100%;
  }
  .footer-utilities {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 350px) {
  .wordmark img {
    width: 140px;
  }
  .nav-inner {
    gap: 7px;
  }
  .footer-invitation {
    padding-inline: 13px;
  }
  .footer-invitation h2 {
    font-size: 1.8rem;
  }
  .footer-launch-card {
    padding-inline: 7px;
  }
}
/* Acabado de la landing promocional. Movimiento ligero y sin librerías. */
.hero-scene {
  transform: translate3d(var(--scene-x, 0), var(--scene-y, 0), 0);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card img {
  transition:
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 450ms;
}
.feature-card:hover img {
  transform: translateY(-5px) rotate(-4deg) scale(1.045);
  filter: drop-shadow(0 7px 8px #8fafd42b);
}
.feature-card:has(a:focus-visible) img {
  transform: translateY(-5px);
}
.text-link,
.footer-directory a {
  text-underline-offset: 5px;
}
.text-link:hover {
  text-decoration: underline;
  text-decoration-color: #abc6eb;
}
.nav-links a {
  transition:
    background 250ms,
    color 250ms,
    box-shadow 250ms;
}
.nav-launch {
  box-shadow: 0 3px 14px #567cad0a;
}
.footer-launch-card {
  box-shadow: 0 16px 38px #6381b014;
}
.footer-invitation {
  background: linear-gradient(125deg, #ffffffce, #f7faffb8);
}
.footer-invitation-copy .footer-description {
  text-wrap: pretty;
}
.faq-list details[open] {
  box-shadow: 0 8px 25px #7b99c00d;
}
.footer-store-status {
  color: #5d6f8a;
}
.footer-trademarks {
  color: #5c6e87;
}
@media (hover: hover) and (pointer: fine) {
  .plan-card {
    transition:
      box-shadow 0.35s,
      border-color 0.35s;
  }
  .plan-card:hover {
    box-shadow: 0 20px 48px #527cad1a;
    border-color: #aac3e6;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: nana-arrive 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-copy > :nth-child(2) {
    animation-delay: 160ms;
  }
  .hero-copy > :nth-child(3) {
    animation-delay: 240ms;
  }
  .hero-copy > :nth-child(4) {
    animation-delay: 320ms;
  }
  .scene-star {
    animation: nana-twinkle 6s ease-in-out infinite;
  }
  .star-two {
    animation-delay: -2s;
  }
  .star-three {
    animation-delay: -4s;
  }
  .floating-note {
    animation: nana-note-drift 8s ease-in-out infinite;
  }
  .note-voice {
    animation-delay: -4s;
  }
  .scroll-cue .icon {
    animation: nana-cue 3s ease-in-out infinite;
  }
  .footer-nana-art img {
    animation: nana-float 7s ease-in-out infinite;
  }
  .footer-nana-star {
    animation: nana-twinkle 6s ease-in-out infinite;
  }
  .footer-nana-halo {
    animation: nana-halo 7s ease-in-out infinite;
  }
  .nav-drawer:not([hidden]) {
    animation: nana-menu-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .faq-list details[open] > div {
    animation: nana-arrive 300ms ease-out both;
  }
}
@keyframes nana-arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes nana-menu-in {
  from {
    opacity: 0;
    transform: translateY(-7px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes nana-twinkle {
  0%,
  100% {
    opacity: 0.55;
    scale: 0.94;
  }
  50% {
    opacity: 1;
    scale: 1.08;
  }
}
@keyframes nana-note-drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}
@keyframes nana-halo {
  0%,
  100% {
    scale: 0.96;
    opacity: 0.7;
  }
  50% {
    scale: 1.035;
    opacity: 1;
  }
}
@keyframes nana-cue {
  0%,
  65%,
  100% {
    translate: 0 0;
  }
  35% {
    translate: 0 3px;
  }
}
.motion-offscreen *,
.page-hidden *,
.page-hidden *::before,
.page-hidden *::after {
  animation-play-state: paused !important;
}
.motion-paused .hero-copy > *,
.motion-paused .nav-drawer,
.motion-paused .faq-list details > div {
  animation: none !important;
}
.motion-paused .hero-scene {
  transform: none;
}
@media (max-width: 1060px) {
  .nav-inner .wordmark img {
    width: 210px;
  }
}
@media (max-width: 620px) {
  .nav-inner .wordmark img {
    width: 195px;
  }
  .nav-actions {
    display: none;
  }
  .site-nav .menu-toggle {
    margin-left: auto;
  }
}
@media (max-width: 350px) {
  .nav-inner .wordmark img {
    width: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scene,
  .feature-card:hover img {
    transform: none;
    transition: none;
  }
}

.footer-legal {
  display: flex;
  gap: 14px;
}
.footer-legal a {
  font-weight: 800;
  color: inherit;
  text-decoration: none;
}
.footer-legal a:hover {
  text-decoration: underline;
}

/* Aviso de cookies (cookies.js). No es modal: no tapa la página ni atrapa el
   foco, queda abajo y compacto, y se vuelve a abrir desde el pie. Mientras se
   ve, el cuerpo reserva su alto para que nada quede escondido debajo. */
html.has-cookie-notice body {
  padding-bottom: var(--cookie-notice-space, 0px);
}
.cookie-notice {
  position: fixed;
  z-index: 35;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  width: min(470px, calc(100% - 40px));
  padding: 16px 18px;
  border: 1px solid #dce6f5;
  border-radius: 20px;
  background: #fffefaf5;
  box-shadow: 0 18px 44px #284a7a26;
  color: #26456d;
  font-size: 0.84rem;
  line-height: 1.55;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.cookie-notice-text {
  flex: 1 1 250px;
}
.cookie-notice-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.cookie-notice a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #2f62b0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-notice button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #c8daf7;
  border-radius: 14px;
  background: #fff;
  color: #25466e;
  font-size: 0.84rem;
  font-weight: 800;
}
.cookie-notice button:hover {
  background: #edf4ff;
}
/* «Entendido» es la única acción del modo informativo. En el modo con
   permiso, «Aceptar» y «Rechazar» comparten estilo: el mismo peso visual. */
.cookie-notice .cookie-notice-primary {
  border-color: #3b6cd7;
  background: linear-gradient(135deg, #3273d6, #3b6cd7);
  color: #fff;
}
.cookie-notice .cookie-notice-primary:hover {
  background: linear-gradient(135deg, #2d6bcc, #315ec7);
}
.cookie-notice .cookie-notice-link {
  padding-inline: 4px;
  border: 0;
  background: none;
  color: #2f62b0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-notice-options {
  flex-basis: 100%;
  margin: 0;
  padding: 4px 0 0;
  border: 0;
  border-top: 1px solid #e4eaf4;
}
.cookie-notice-options legend {
  padding: 8px 0 0;
  font-weight: 800;
}
.cookie-notice-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.cookie-notice-options input {
  width: 20px;
  height: 20px;
  accent-color: #3b6cd7;
}
@media (max-width: 620px) {
  .cookie-notice {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 12px 14px;
    font-size: 0.8rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .cookie-notice:not([hidden]) {
    animation: nana-arrive 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}
.motion-paused .cookie-notice {
  animation: none !important;
}
@media print {
  .cookie-notice {
    display: none !important;
  }
}
