/* Escudo directo — teatro ónix + acento oro/tema local.
 * Fases 1–2: CERO branding Google (solo accent AXIONS / restaurante).
 * Fase 3: logo Google únicamente en #btn-google.
 * Shell base (tokens/go/premium/logo) lo inyecta go_shell_core_links.
 */

html:has(.escudo-theatre-body) {
  color-scheme: light only;
}

.escudo-theatre-body {
  margin: 0;
  min-height: 100dvh;
  overflow: hidden;
  font-family: var(--ax-font-body, "Inter", system-ui, sans-serif);
  color-scheme: light only;
  background: #0d0d0f;
  color: #1f1a17;
  -webkit-text-size-adjust: 100%;
}

.escudo-theatre__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.escudo-theatre__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px) saturate(1.05);
  -webkit-backdrop-filter: blur(22px) saturate(1.05);
}

.escudo-card {
  background: #fffcf8 !important;
  color: #1f1a17 !important;
  transition: box-shadow 0.3s ease;
  border: 1px solid rgba(232, 221, 208, 0.95);
}

.escudo-shell {
  --escudo-accent: #b89b6a;
  height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-family: var(--go-font-body, "Inter", system-ui, sans-serif);
  padding: 1rem;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.escudo-shell .escudo-card {
  position: relative;
  z-index: 10;
  border-radius: 1.35rem;
  box-shadow:
    0 18px 48px -14px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 252, 248, 0.08);
  padding: 1.35rem 1.25rem 1.4rem;
  max-width: 24rem;
  width: min(92%, 24rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto;
  max-height: min(86dvh, 680px);
  text-align: center;
  overflow-y: auto;
  box-sizing: border-box;
  backdrop-filter: blur(2px);
}

.escudo-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}

.escudo-state--feedback,
.escudo-state--negative {
  text-align: left;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

#form-feedback {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

#form-feedback *,
#form-feedback *::before,
#form-feedback *::after {
  box-sizing: border-box;
}

.escudo-form__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin-top: 0.35rem;
}

.escudo-form__actions .escudo-submit,
.escudo-form__actions .escudo-skip {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.escudo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.escudo-field {
  width: 100%;
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  box-sizing: border-box;
}

/* ESTADO 2 — filtro psicológico: textarea amplio (desahogo) */
.escudo-field--desahogo {
  width: 100%;
  min-height: 10.5rem;
  padding: 1rem 1.05rem;
  font-size: 1rem;
  line-height: 1.55;
  resize: vertical;
}

.escudo-themes__label {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--escudo-fg, #1a1a1a) 78%, transparent);
}

.escudo-optional {
  font-weight: 500;
  opacity: 0.65;
}

.escudo-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.escudo-theme {
  border: 1px solid color-mix(in srgb, var(--escudo-accent, #b89b6a) 35%, transparent);
  background: color-mix(in srgb, var(--escudo-accent, #b89b6a) 8%, transparent);
  color: inherit;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.escudo-theme.is-on {
  background: color-mix(in srgb, var(--escudo-accent, #b89b6a) 28%, transparent);
  border-color: var(--escudo-accent, #b89b6a);
}

.escudo-theme:active {
  transform: scale(0.97);
}

.escudo-contact {
  display: block;
  margin-top: 0.75rem;
}

.escudo-contact__hint {
  margin: 0.85rem 0 0;
  font-family: var(--go-font-body, "Inter", system-ui, sans-serif);
  font-size: 0.8rem;
  line-height: 1.4;
  color: #78716c;
}

.escudo-contact__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.escudo-field--contact {
  min-height: 2.75rem;
  padding: 0.7rem 0.9rem;
}

.escudo-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  line-height: 1.4;
  opacity: 0.88;
  cursor: pointer;
}

.escudo-consent input {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.escudo-field--spaced {
  margin-top: 0.5rem;
}

.escudo-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--escudo-accent, #b89b6a) 88%, #fff) 0%,
    var(--escudo-accent, #b89b6a) 100%
  );
  color: #0d0d0f;
  font-weight: 600;
  padding: 0.85rem 1rem;
  min-height: 2.75rem;
  border-radius: 0.9rem;
  width: 100%;
  max-width: 100%;
  margin: 1rem auto 0;
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--escudo-accent, #b89b6a) 28%, transparent);
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}

.escudo-submit:hover {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--escudo-accent, #b89b6a) 92%, #fff) 0%,
    var(--escudo-accent, #b89b6a) 100%
  );
}

.escudo-submit:active {
  transform: scale(0.98);
}

.escudo-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.escudo-skip {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem;
  min-height: 2.75rem;
  border: none;
  background: transparent;
  color: #5c564c;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.escudo-hub-back {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: 100%;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.15rem;
  color: #5c564c;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.escudo-hub-back:active {
  opacity: 0.7;
}

.escudo-hub-back--choice {
  margin-top: 0.85rem;
}

.escudo-shell--inmersa .escudo-hub-back {
  color: #c4bfb6;
}

.escudo-skip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.escudo-card__hint--feedback {
  margin: 0.35rem 0 0.85rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #5c564c;
}

.escudo-shell--inmersa .escudo-skip {
  color: #9a958c;
}

.escudo-shell--inmersa .escudo-card__hint--feedback {
  color: #9a958c;
}

/* —— Gracias limpia (fase 3) —— */
.escudo-thanks {
  text-align: center;
  padding: 0.25rem 0;
}

.escudo-thanks.is-visible .escudo-thanks__mark {
  animation: escudo-thanks-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.escudo-thanks.is-visible .escudo-thanks__title {
  animation: escudo-thanks-fade 0.5s ease 0.12s both;
}

.escudo-thanks.is-visible .escudo-thanks__lead,
.escudo-thanks.is-visible .escudo-thanks__stars {
  animation: escudo-thanks-fade 0.5s ease 0.2s both;
}

.escudo-thanks__public {
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.escudo-thanks__public.is-revealed {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.escudo-thanks__public[hidden] {
  display: none !important;
}

@keyframes escudo-thanks-pop {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes escudo-thanks-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes escudo-google-invite {
  0% {
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.35);
  }
  40% {
    box-shadow:
      0 0 0 0 rgba(26, 115, 232, 0.28),
      0 8px 22px rgba(26, 115, 232, 0.32);
  }
  100% {
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.38);
  }
}

.escudo-thanks__mark {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #0d0d0f;
  background: color-mix(in srgb, var(--escudo-accent, #b89b6a) 85%, #fff);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--escudo-accent, #b89b6a) 28%, transparent);
}

.escudo-thanks__title {
  margin: 0 0 0.4rem;
  font-family: var(--go-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.55rem, 5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #1a1814;
}

.escudo-thanks__lead {
  margin: 0 auto;
  max-width: 18rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b5f55;
}

.escudo-thanks__support {
  margin: 0.85rem auto 0;
  max-width: 20rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4a423c;
}

.escudo-thanks__stars {
  margin: 0.75rem 0 0;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--escudo-accent, #b89b6a);
}

.escudo-thanks__divider {
  height: 1px;
  margin: 1.15rem 0 1rem;
  background: linear-gradient(
    90deg,
    transparent,
    #e8ddd0 20%,
    #e8ddd0 80%,
    transparent
  );
}

.escudo-thanks__ask {
  margin: 0 0 0.35rem;
  font-family: var(--go-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.05rem, 3.6vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #1f1a17;
}

.escudo-thanks__transparency {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #9a9590;
  max-width: 18rem;
  margin-left: auto;
  margin-right: auto;
}

.escudo-thanks__btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 3.35rem;
  padding: 0.85rem 1.15rem;
  border-radius: 0.75rem;
  border: none;
  /* Azul Google Maps — único branding G del embudo */
  background: #1a73e8;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.35);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

/* DecisionScreen — CTAs premium, mismo peso visual (Omnibus) */
.escudo-state--choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.escudo-choice__stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.escudo-choice__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 3.45rem;
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  box-sizing: border-box;
  font-family: var(--go-font-body, "Inter", system-ui, sans-serif);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.14s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.escudo-choice__cta:active {
  transform: scale(0.985);
}

.escudo-choice__cta:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--escudo-accent, #b89b6a) 70%, #78716c);
  outline-offset: 2px;
}

.escudo-choice__cta-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  max-width: 100%;
}

.escudo-choice__cta-label {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

/* Paridad dimensional Omnibus / cero review-gating: misma caja física */
.escudo-choice__cta--parity {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  height: 5.5rem;
  min-height: 5.5rem;
  max-height: 5.5rem;
  padding: 0.95rem 1.1rem;
  border-radius: 1.05rem;
  border-width: 2px;
  border-style: solid;
  box-sizing: border-box;
  text-align: left;
}

/* Google funnel — CTA primaria (azul). Misma altura que private vía --parity */
.escudo-choice__cta--funnel-google,
.escudo-choice__google-primary {
  margin-top: 0;
  border-color: #1a73e8;
  background: #1a73e8;
  color: #fff;
  box-shadow:
    0 2px 4px rgba(26, 115, 232, 0.28),
    0 10px 28px -6px rgba(26, 115, 232, 0.58);
}

.escudo-choice__cta--funnel-google:hover,
.escudo-choice__cta--funnel-google:focus-visible,
.escudo-choice__google-primary:hover,
.escudo-choice__google-primary:focus-visible {
  border-color: #1765cc;
  background: #1765cc;
  box-shadow:
    0 2px 6px rgba(26, 115, 232, 0.34),
    0 14px 32px -8px rgba(26, 115, 232, 0.65);
}

.escudo-choice__cta--funnel-google:active,
.escudo-choice__google-primary:active {
  background: #1557b0;
  border-color: #1557b0;
  transform: scale(0.985);
  box-shadow: 0 1px 4px rgba(26, 115, 232, 0.4);
}

.escudo-choice__cta--funnel-google[aria-disabled="true"],
.escudo-choice__google-primary[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}

.escudo-choice__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.85rem;
}

.escudo-choice__cta--funnel-google .escudo-choice__icon--google {
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.escudo-choice__icon--google svg,
.escudo-choice__icon--private svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.escudo-choice__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.18rem;
}

.escudo-choice__title {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.escudo-choice__desc {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.escudo-choice__cta--funnel-google .escudo-choice__title {
  color: #ffffff;
}

.escudo-choice__cta--funnel-google .escudo-choice__desc {
  color: rgba(255, 255, 255, 0.88);
}

.escudo-choice__desc .hub-familiar__google-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  margin-left: 0.28rem;
  vertical-align: -0.08em;
}

.escudo-choice__arrow {
  flex-shrink: 0;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 300;
  opacity: 0.85;
}

.escudo-choice__cta--funnel-google .escudo-choice__arrow {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

/* Funnel: azul Google también en skin inmersa */
.escudo-shell--inmersa .escudo-choice__cta--funnel-google,
.escudo-shell--inmersa .escudo-choice__google-primary {
  border-color: #1a73e8;
  background: #1a73e8;
  color: #fff;
}

.escudo-shell--inmersa .escudo-choice__cta--funnel-google .escudo-choice__title,
.escudo-shell--inmersa .escudo-choice__cta--funnel-google .escudo-choice__desc {
  color: #ffffff;
}

.escudo-shell--inmersa .escudo-choice__cta--funnel-google .escudo-choice__desc {
  color: rgba(255, 255, 255, 0.88);
}

.escudo-shell--inmersa .escudo-choice__cta--funnel-google .escudo-choice__icon--google {
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Legacy blue Google CTA — anulado (sustituido por funnel-google) */
.escudo-choice__cta--google:not(.escudo-choice__cta--funnel-google):not(.escudo-choice__cta--hub-google) {
  display: none;
}

.escudo-choice__g,
.escudo-choice__mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
}

.escudo-choice__g svg,
.escudo-choice__mail svg {
  display: block;
}

/* Privado — secundaria (blanco + borde). Misma caja física vía --parity */
.escudo-choice__cta--private,
.escudo-choice__private-link {
  margin-top: 0;
  border-color: #3f342c;
  background: #fff;
  color: #3f342c;
  box-shadow: none;
}

.escudo-choice__cta--private .escudo-choice__icon--private {
  background: color-mix(in srgb, #3f342c 8%, #fff);
  border: 1px solid color-mix(in srgb, #3f342c 18%, transparent);
  color: #3f342c;
}

.escudo-choice__cta--private .escudo-choice__title {
  color: #3f342c;
  font-weight: 700;
}

.escudo-choice__cta--private .escudo-choice__desc {
  color: #78716c;
}

.escudo-choice__cta--private .escudo-choice__arrow {
  color: #78716c;
}

.escudo-choice__cta--private:hover,
.escudo-choice__cta--private:focus-visible {
  border-color: #2a221c;
  background: #fff;
  color: #2a221c;
  box-shadow: none;
}

.escudo-choice__cta--private:active {
  background: #faf8f5;
}

.escudo-shell--inmersa .escudo-choice__cta--private,
.escudo-shell--inmersa .escudo-choice__private-link {
  border-color: #9a9590;
  background: #18181c;
  color: #f4f2ef;
}

.escudo-shell--inmersa .escudo-choice__cta--private .escudo-choice__title {
  color: #f4f2ef;
}

.escudo-shell--inmersa .escudo-choice__cta--private .escudo-choice__desc {
  color: #9a9590;
}

.escudo-shell--inmersa .escudo-choice__cta--private .escudo-choice__icon--private {
  background: #222228;
  border-color: #2e2e38;
  color: #f4f2ef;
}

.escudo-shell--inmersa .escudo-choice__cta--private .escudo-choice__arrow {
  color: #9a9590;
}

.escudo-choice__google-hint,
.escudo-choice__maps-missing {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #78716c;
  text-align: center;
}

@media (max-width: 380px) {
  .escudo-choice__cta-label {
    font-size: 0.88rem;
    white-space: normal;
  }

  .escudo-choice__cta {
    min-height: 3.25rem;
    padding: 0.75rem 0.85rem;
  }
}

/* InternalForm — acceso equitativo a reseña pública (Omnibus) */
.escudo-form__public-alt {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #ece8e1;
  font-family: var(--go-font-body, "Inter", system-ui, sans-serif);
  font-size: 0.82rem;
  line-height: 1.45;
  color: #78716c;
  text-align: center;
}

.escudo-form__google-link {
  display: inline;
  margin-left: 0.2rem;
  color: #1a73e8;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.escudo-form__google-link:hover {
  color: #1765cc;
}

.escudo-thanks__reassure {
  margin: 0.85rem auto 0;
  max-width: 19rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #78716c;
}

.escudo-thanks__redirect {
  display: none;
}

.escudo-submit--hub {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin: 1.25rem auto 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.escudo-stars--optional {
  margin-top: 0.25rem;
}

.escudo-thanks__btn-google.is-invite {
  animation: escudo-google-invite 1.4s ease 1 both;
}

.escudo-thanks__btn-google:active {
  transform: scale(0.985);
  background: #1765cc;
  box-shadow: 0 1px 4px rgba(26, 115, 232, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .escudo-thanks__btn-google.is-invite {
    animation: none;
  }

  .escudo-thanks__public.is-revealed {
    transition: none;
  }
}

.escudo-thanks__g-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.35rem;
  background: #fff;
  flex-shrink: 0;
}

.escudo-thanks__g {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.escudo-thanks__done {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.65rem;
  min-height: 2.75rem;
  border: none;
  background: transparent;
  color: #9a9590;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.escudo-thanks__done:disabled {
  opacity: 0.7;
  cursor: default;
}

.escudo-shell--inmersa .escudo-thanks__title,
.escudo-shell--inmersa .escudo-thanks__ask {
  color: #f4f2ef;
}

.escudo-shell--inmersa .escudo-thanks__lead,
.escudo-shell--inmersa .escudo-thanks__support,
.escudo-shell--inmersa .escudo-thanks__transparency,
.escudo-shell--inmersa .escudo-thanks__done {
  color: #9a9590;
}

.escudo-shell--inmersa .escudo-thanks__btn-google {
  /* Mantener branding Google Maps también en skin inmersa */
  background: #1a73e8;
  border: none;
  color: #fff;
}

.escudo-shell--inmersa .escudo-thanks__btn-google:active {
  background: #1765cc;
}

.escudo-shell--inmersa .escudo-thanks__divider {
  background: linear-gradient(90deg, transparent, #2e2e38 20%, #2e2e38 80%, transparent);
}

/* Touch-friendly */
.escudo-star,
.escudo-tag,
.escudo-submit,
.escudo-skip,
.escudo-thanks__btn-google,
.escudo-choice__cta,
.escudo-choice__google-primary,
.escudo-choice__private-link,
.escudo-thanks__done {
  touch-action: manipulation;
}

@media (max-width: 380px) {
  .escudo-shell .escudo-card {
    padding: 1.15rem;
    min-height: auto;
  }

  .escudo-star {
    font-size: 2.35rem;
  }
}

.escudo-footer {
  border-top: 1px solid #f0ebe3;
  padding-top: 1rem;
  margin-top: auto;
  width: 100%;
}

.escudo-footer__lead {
  font-size: 0.75rem;
  color: #5c564c;
  margin: 0 0 0.5rem;
}

.escudo-footer__social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.escudo-reserva-link {
  font-size: 0.75rem;
  color: #3b82f6;
  font-weight: 500;
  text-decoration: underline;
  display: block;
  margin-top: 0.75rem;
}

.escudo-form-err {
  font-size: 0.875rem;
  color: #dc2626;
  margin-top: 0.5rem;
}

.escudo-form-err.is-hidden,
.hidden {
  display: none !important;
}

.escudo-card__title--lg {
  font-size: 1.125rem;
  font-weight: 700;
}

.escudo-card__lead--lg {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
  color: #1c1917;
}

.escudo-card__lead--sm {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.escudo-powered-slot {
  font-size: 0.625rem;
  color: #9a958c;
  margin-top: 0.75rem;
}

.escudo-shell--inmersa .escudo-footer {
  border-top-color: #2e2e38;
}

.escudo-shell--inmersa .escudo-footer__lead {
  color: #9a9590;
}

.escudo-shell--inmersa .escudo-submit {
  background: var(--escudo-accent);
}

.escudo-shell--inmersa .escudo-submit:hover {
  filter: brightness(1.08);
}

.escudo-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.escudo-card__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c564c;
  margin: 0 0 0.35rem;
}

.escudo-card__privacy {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #8a8078;
}

.escudo-card__hint {
  font-size: 0.8125rem;
  color: #9a958c;
  margin: 0.35rem 0 0.75rem;
}

.escudo-card__hint.escudo-card__hint--choice {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0.35rem 0 0.15rem;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  line-height: 1.45;
  color: #8a8278;
  box-sizing: border-box;
}

.escudo-card__hint--feedback {
  margin: 0.15rem 0 0.9rem;
  line-height: 1.45;
  color: #7a7168;
}

.escudo-logo-wrap {
  /* Tamaños φ → axions-brand-logo.css */
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.1), 0 0 0 2px color-mix(in srgb, var(--escudo-accent) 30%, #e8dfd4);
}

.escudo-logo-wrap--square { border-radius: var(--ax-logo-r-sm, 0.5rem); }
.escudo-logo-wrap--rounded { border-radius: var(--ax-logo-r-lg, 1.05rem); }

.escudo-logo {
  display: block;
  -webkit-user-drag: none;
}

.escudo-stars {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.escudo-stars__legend {
  display: flex;
  justify-content: space-between;
  max-width: 14rem;
  margin: 0.65rem auto 0;
  font-size: 0.6875rem;
  color: #9a958c;
  letter-spacing: 0.02em;
}

.escudo-stars__legend span:nth-child(2) {
  opacity: 0.4;
}

.escudo-star.is-tap {
  animation: escudo-star-pop 0.28s ease-out;
}

@keyframes escudo-star-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1.12); }
}

.escudo-card__title {
  font-family: "Inter", system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.55rem !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em;
  color: #1c1917 !important;
}

.escudo-card__lead {
  font-family: "Inter", system-ui, sans-serif !important;
  font-weight: 600 !important;
  color: #292524 !important;
}

.escudo-card__hint,
.escudo-card__privacy,
.escudo-card__kicker {
  font-family: "Inter", system-ui, sans-serif !important;
}

.escudo-card__hint {
  color: #57534e !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}

.escudo-card__privacy {
  color: #78716c !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.01em;
}

.escudo-card__kicker {
  color: #5c564c !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
}

.escudo-card__muted {
  color: #5c564c !important;
}

.escudo-state {
  transition: opacity 0.28s ease, transform 0.28s ease;
  opacity: 1;
  transform: translateY(0);
}

/* Durante el fade-out aún ocupa espacio (sin display:none) */
.escudo-state.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.escudo-state.is-hidden {
  display: none !important;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.escudo-state.is-enter {
  animation: escudo-state-in 0.38s ease-out forwards;
}

@keyframes escudo-state-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes escudo-state-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .escudo-state,
  .escudo-state.is-leaving,
  .escudo-state.is-enter {
    transition: none !important;
    animation: none !important;
  }
}

.escudo-star {
  font-size: 2.75rem;
  line-height: 1;
  padding: 0.35rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  transition: transform 0.15s ease, color 0.15s ease;
  cursor: pointer;
  background: none;
  border: none;
  color: #d4cdc0;
  -webkit-text-fill-color: #d4cdc0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  filter: none;
  opacity: 1;
}

.escudo-star:hover,
.escudo-star.is-lit {
  transform: scale(1.12);
  text-shadow: 0 2px 12px color-mix(in srgb, var(--escudo-accent, #b89b6a) 35%, transparent);
  color: var(--escudo-accent, #b89b6a);
  -webkit-text-fill-color: var(--escudo-accent, #b89b6a);
}

.escudo-star[data-score="5"].is-lit,
.escudo-star[data-score="5"]:hover {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--escudo-accent-soft, var(--escudo-accent, #b89b6a)) 70%, #fff),
    var(--escudo-accent, #b89b6a),
    color-mix(in srgb, var(--escudo-accent, #b89b6a) 70%, #1a1a1a)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.escudo-tag {
  border: 1px solid #e8ddd0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  min-height: 2.5rem;
  font-size: 0.875rem;
  color: #4a433a;
  background: #fffcf8;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.escudo-tag.is-active {
  border-color: var(--escudo-accent, #b89b6a);
  background: color-mix(in srgb, var(--escudo-accent, #b89b6a) 14%, #fffcf8);
  color: #1f1a17;
  font-weight: 600;
}

.escudo-field {
  border: 1px solid #e8ddd0;
  background: #fffcf8;
  color: #1f1a17;
}

.escudo-field::placeholder {
  color: #9a9590;
}

.escudo-field:focus {
  outline: none;
  border-color: var(--escudo-accent, #b89b6a);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--escudo-accent, #b89b6a) 22%, transparent);
}

.escudo-check {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #dcfce7, #bbf7d0);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: escudo-pop 0.5s ease-out;
}

@keyframes escudo-pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.escudo-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid #e4dfd4;
  background: #fff;
  transition: transform 0.15s, box-shadow 0.15s;
}

.escudo-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.escudo-countdown {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0.75rem auto 0;
}

.escudo-countdown__ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.escudo-countdown__bg {
  fill: none;
  stroke: #e4dfd4;
  stroke-width: 3;
}

.escudo-countdown__fg {
  fill: none;
  stroke: url(#escudo-countdown-gradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1s linear;
}

.escudo-countdown__sec {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: #1e1c18;
}

.escudo-countdown__hint {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2563eb;
  margin-top: 0.35rem;
}

/* Samsung / Chrome «oscurecer páginas web» — no invertir la tarjeta ni las estrellas */
@media (prefers-color-scheme: dark) {
  .escudo-theatre-body {
    color-scheme: light only;
  }

  .escudo-card,
  .escudo-field,
  .escudo-tag,
  .escudo-social-btn {
    background: #ffffff !important;
    color: #1e1c18 !important;
  }

  .escudo-star:not(.is-lit) {
    color: #9a958c !important;
    -webkit-text-fill-color: #9a958c !important;
  }
}

/* Skin Inmersa — alineado con hub/carta/vCard */
.escudo-theatre-body--inmersa {
  color-scheme: dark;
  background: #0d0d0f;
}

.escudo-shell--inmersa .escudo-theatre__veil {
  background: rgba(13, 13, 15, 0.72);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

.escudo-shell--inmersa .escudo-card {
  background: #1e1e24 !important;
  color: #f4f2ef !important;
  border-color: #2e2e38 !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45) !important;
}

.escudo-shell--inmersa .escudo-card__title,
.escudo-shell--inmersa .escudo-card__lead {
  color: #f4f2ef !important;
}

.escudo-shell--inmersa .escudo-card__hint,
.escudo-shell--inmersa .escudo-card__hint--feedback,
.escudo-shell--inmersa .escudo-card__privacy,
.escudo-shell--inmersa .escudo-card__muted,
.escudo-shell--inmersa .escudo-stars__legend {
  color: #9a9590 !important;
}

.escudo-shell--inmersa .escudo-field {
  background: #18181c !important;
  color: #f4f2ef !important;
  border: 1px solid #2e2e38 !important;
}

.escudo-shell--inmersa .escudo-tag {
  background: #18181c !important;
  color: #f4f2ef !important;
  border-color: #2e2e38 !important;
}

.escudo-shell--inmersa .escudo-card__kicker {
  color: #9a958c;
}

.escudo-shell--inmersa .escudo-star.is-lit {
  color: var(--escudo-accent) !important;
  -webkit-text-fill-color: var(--escudo-accent) !important;
}

/* Buzón con marca — tarjeta crema + escenario teñido (personalidad del local) */
.escudo-theatre-body--branded {
  color-scheme: light;
}

.escudo-shell--branded .escudo-theatre__bg {
  background-size: cover;
  background-position: center;
  filter: saturate(1.18) brightness(0.92);
  transform: scale(1.08);
}

.escudo-shell--branded .escudo-theatre__veil {
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.28) 0%,
    rgba(10, 8, 6, 0.48) 55%,
    rgba(10, 8, 6, 0.58) 100%
  );
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.escudo-shell--branded .escudo-submit {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--escudo-accent, #b89b6a) 88%, #fff) 0%,
    var(--escudo-accent, #b89b6a) 100%
  );
  color: #fff;
  border: none;
}

.escudo-shell--branded .escudo-privacy,
.escudo-shell--branded .escudo-card__privacy {
  color: #78716c;
}

/* Banderas de idioma — franja fija inferior, píldora centrada */
.escudo-shell > .go-lang-bar,
.escudo-shell > .go-lang-bar.go-lang-bar--sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 40;
  margin: 0;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, transparent, rgba(8, 6, 10, 0.72) 45%, rgba(8, 6, 10, 0.92));
  pointer-events: none;
}

.escudo-shell > .go-lang-bar .ax-lang-flags {
  margin: 0;
  padding: 0.35rem 0.45rem;
  width: max-content;
  max-width: calc(100% - 1.5rem);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.95);
  border: 1px solid rgba(232, 221, 208, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.escudo-shell > .go-lang-bar .ax-lang-flag {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 1.2rem;
  opacity: 0.55;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.escudo-shell > .go-lang-bar .ax-lang-flag.is-active {
  opacity: 1;
  background: color-mix(in srgb, var(--escudo-accent, #b89b6a) 18%, #fff);
  transform: scale(1.06);
}
