/* Ilustraciones originales 2026: derivadas de la atmósfera cromática del archivo histórico, no de sus gráficos. */

.hero-visual {
  position: relative;
  align-self: center;
  min-height: 380px;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: 72% center;
  border-radius: 2rem;
  box-shadow: 0 24px 55px #48215a30;
}

.hero-visual .privacy-card {
  position: absolute;
  right: -1rem;
  bottom: -1.4rem;
  max-width: 290px;
  background: #fffdfae8;
  backdrop-filter: blur(12px);
}

.test-spotlight {
  max-width: 920px;
  margin: 2.4rem 0 0;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d9cce2;
  border-radius: 1.3rem;
  background: #fff;
  box-shadow: 0 16px 35px #43255d16;
}

.test-spotlight img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  object-position: 64% center;
}

.test-spotlight > div { padding: 2.25rem; }

.test-spotlight h3 {
  margin: 0.3rem 0 0.8rem;
  font: 700 clamp(1.65rem, 3vw, 2.4rem) / 1.05 Georgia, serif;
  color: var(--plum);
}

.test-spotlight p:not(.eyebrow) { margin: 0 0 1.4rem; }

.question-shell {
  position: relative;
  box-shadow: 0 16px 35px #43255d17;
}

.question-shell::before {
  content: "";
  position: absolute;
  inset: -5px auto auto 2rem;
  width: 104px;
  height: 9px;
  border-radius: 99px;
  background: linear-gradient(90deg, #f1cf4b, #e58b3b, #c64e5f);
}

@media (max-width: 760px) {
  .hero-visual { min-height: auto; margin-top: 1rem; }
  .hero-image { min-height: 310px; }
  .hero-visual .privacy-card { position: relative; right: auto; bottom: auto; max-width: none; margin: -1.5rem 1rem 0; }
  .test-spotlight { grid-template-columns: 1fr; }
  .test-spotlight img { min-height: 200px; max-height: 270px; }
  .test-spotlight > div { padding: 1.65rem; }
}

/* El test funciona como segundo momento principal de la landing. */
.test-stage {
  max-width: var(--max);
  min-height: min(760px, 92vh);
  margin: 1.5rem auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 92% 8%, #f6ca56 0 4%, transparent 4.3%),
    radial-gradient(circle at 7% 90%, #e86670 0 8%, transparent 8.3%),
    linear-gradient(135deg, #33154d 0%, #5d2778 48%, #8b3f79 100%);
  position: relative;
}

.test-stage::before,
.test-stage::after {
  content: "";
  position: absolute;
  border: 2px solid #f7d9e7;
  opacity: .35;
  border-radius: 50%;
  pointer-events: none;
}

.test-stage::before { width: 29rem; height: 29rem; right: -13rem; bottom: -15rem; }
.test-stage::after { width: 13rem; height: 13rem; left: -6rem; top: -7rem; }
.test-stage-heading,
.test-journey { position: relative; z-index: 1; }

.test-stage .section-heading { color: #fff; }
.test-stage .section-heading .eyebrow { color: #f7ce57; }
.test-stage .section-heading h2 { max-width: 600px; }

.test-stage-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.empathy-note {
  width: min(100%, 360px);
  margin: 0;
  text-align: center;
  color: #fff;
}

.empathy-note img { width: 100%; max-width: 310px; margin: 0 auto -1.1rem; }
.empathy-note p { margin: 0; padding: .9rem 1rem; border: 1px solid #ffffff4a; border-radius: 1rem; background: #2a123777; font-size: .88rem; }

.test-journey {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: stretch;
  margin-top: 2.5rem;
}

.test-stage .test-spotlight { margin: 0; grid-template-columns: 1fr; border: 0; }
.test-stage .test-spotlight img { min-height: 190px; max-height: 220px; }
.test-stage .test-spotlight > div { padding: 1.7rem; }
.test-stage .question-shell { max-width: none; margin: 0; min-height: 100%; display: flex; flex-direction: column; justify-content: center; }
.test-stage .question-actions { margin-top: auto; padding-top: 1.4rem; }

.response-bridge { padding: .5rem 0; }
.response-bridge > span { display: inline-grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: #efe7f8; color: var(--violet); }
.response-bridge h3 { margin: .8rem 0; }
.response-bridge p { max-width: 610px; }
.bridge-note { padding: .8rem 1rem; border-left: 4px solid #e58b3b; background: #fff7e9; font-size: .9rem; }
.question-reason { margin: 1rem 0 .35rem; font-size: .92rem; }
.verified-link { display: inline-block; margin-bottom: 1rem; color: var(--plum); font-weight: 800; text-decoration: underline; text-decoration-color: #e58b3b; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bridge-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.3rem; }

.floating-exit {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 20;
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  box-shadow: 0 10px 25px #25152f55;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.floating-exit:hover,
.floating-exit:focus-visible { background: var(--violet); transform: translateY(-3px); outline: 3px solid #f1cf4b; outline-offset: 3px; }
.floating-exit svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.exit-symbol { display: inline-grid; width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 50%; background: var(--plum); color: #fff; font-weight: 800; }

@media (max-width: 760px) { .floating-exit { right: 1rem; bottom: 1rem; width: 3.15rem; height: 3.15rem; } }
@media print { .floating-exit { display: none; } }

footer a { color: #f7ce57; }

.footer-columns { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; text-align: left; }
.footer-columns section { min-width: 0; }
.footer-columns h2 { margin: .25rem 0 .8rem; font: 700 1.45rem/1.1 Georgia, serif; color: #fff; }
.footer-columns p { margin: .55rem 0; color: #e7d9ea; }
.footer-kicker { color: #f7ce57 !important; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-team { font-size: .82rem; color: #cbbdd0 !important; }
.chicas-tech-mark { display: inline-block; width: 4.5rem; border-radius: 50%; overflow: hidden; background: #fff; }
.chicas-tech-mark img { display: block; width: 100%; height: auto; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #ffffff24; }
@media (max-width: 760px) { .footer-columns { grid-template-columns: 1fr; gap: 2rem; } }

.motion-reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1); }
.motion-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .motion-reveal, .motion-visible { opacity: 1; transform: none; transition: none; }
}

/* Sustituye las bandas rectangulares por un semicírculo continuo y recortado. */
.support-meter { max-width: 390px; }
.meter-arc { width: 360px; max-width: 100%; height: 180px; margin: 0 auto; overflow: hidden; }
.meter-band { display: none; }
.meter-arc::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: calc(50% - 170px);
  bottom: -170px;
  border-radius: 50%;
  background: conic-gradient(from 270deg, #f1cf4b 0deg 58deg, #e58b3b 58deg 122deg, #c64e5f 122deg 180deg, transparent 180deg 360deg);
}
.meter-arc::after { content: ""; position: absolute; width: 286px; height: 286px; left: calc(50% - 143px); bottom: -143px; border-radius: 50%; background: #fff; }
.meter-needle { z-index: 2; bottom: 1px; height: 132px; }
.meter-hub { z-index: 3; bottom: -3px; }
.meter-labels { max-width: 360px; margin: 0 auto; }

@media (max-width: 760px) {
  .test-stage { min-height: auto; padding: 2.5rem 1.25rem; border-radius: 0; margin: 0; }
  .test-stage-heading, .test-journey { grid-template-columns: 1fr; display: grid; }
  .empathy-note { justify-self: center; }
  .test-stage .test-spotlight { grid-template-columns: 1fr; }
  .test-stage .test-spotlight img { max-height: 220px; }
  .meter-arc { width: 300px; height: 150px; }
  .meter-arc::before { width: 290px; height: 290px; left: calc(50% - 145px); bottom: -145px; }
  .meter-arc::after { width: 242px; height: 242px; left: calc(50% - 121px); bottom: -121px; }
  .meter-needle { height: 110px; }
}
