/*
 * SysteraPrime / Magna Investigación V6 — experiencia global 2026.
 * Restaura las familias originales: Arial/Helvetica y Georgia/Times.
 */
:root {
  --v5-ink: #171d28;
  --v5-muted: #515b68;
  --v5-paper: #fbfaf6;
  --v5-surface: rgba(255, 255, 255, .88);
  --v5-line: rgba(42, 64, 84, .16);
  --v5-navy: #0b1420;
  --v5-navy-2: #15283a;
  --v5-blue: #2b79a0;
  --v5-cyan: #59d3d6;
  --v5-gold: #c79535;
  --v5-coral: #d96442;
  --v5-violet: #7061a6;
  --v5-radius: 24px;
  --v5-shadow: 0 28px 82px rgba(20, 38, 54, .14);
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

html {
  scroll-padding-top: 116px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -90px;
  padding: 11px 15px;
  color: #07121d;
  border-radius: 10px;
  background: var(--v5-cyan);
  box-shadow: 0 14px 36px rgba(4, 15, 24, .25);
  font-weight: 850;
  text-decoration: none;
  transition: top .18s ease;
}

.skip-link:focus {
  top: 16px;
}

body,
button,
input,
select,
textarea {
  font-family: Arial, Helvetica, sans-serif !important;
}

h1,
h2,
h3,
h4,
.research-card-head h2,
.stage-card strong,
.service-card h3,
.method-title,
.faq-intro h2,
.final-cta h2,
.listing-hero h1,
.resource-card h2,
.service-page-grid h2,
.content-section h2,
.content-section h3 {
  font-family: Georgia, "Times New Roman", serif !important;
}

body {
  color: var(--v5-ink);
  background-color: var(--v5-paper);
  background-image:
    radial-gradient(circle at 6% 4%, rgba(89, 211, 214, .08), transparent 29rem),
    radial-gradient(circle at 94% 12%, rgba(199, 149, 53, .09), transparent 30rem),
    linear-gradient(rgba(43, 121, 160, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 121, 160, .035) 1px, transparent 1px);
  background-size: auto, auto, 74px 74px, 74px 74px;
}

body.v5-ready > .utility-bar,
body.v5-ready > .site-header,
body.v5-ready > footer:not(.v5-footer),
body.v5-ready > .final-cta,
body.v5-ready > .back-to-top,
body.v5-ready > .whatsapp-float,
body.v5-ready > .chat-widget {
  display: none !important;
}

.v5-header,
.v5-header *,
.v5-footer,
.v5-footer *,
.v5-assistant,
.v5-assistant *,
.v5-home-return,
.v5-meeting,
.v5-meeting * {
  box-sizing: border-box;
}

.v5-header {
  position: sticky;
  z-index: 180;
  top: 0;
  color: #f4fbff;
  border-bottom: 1px solid rgba(89, 211, 214, .2);
  background:
    linear-gradient(105deg, rgba(11, 20, 32, .97), rgba(21, 40, 58, .95));
  box-shadow: 0 16px 42px rgba(6, 16, 27, .19);
  backdrop-filter: blur(18px) saturate(140%);
}

.v5-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--v5-cyan), var(--v5-gold), transparent);
  opacity: .72;
}

.v5-nav {
  width: min(1440px, calc(100% - 40px));
  min-height: 88px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
}

.v5-brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.v5-brand img {
  width: 186px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0, 0, 0, .18));
}

.v5-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 27px);
}

.v5-links a {
  position: relative;
  padding: 10px 0;
  color: #dcebf0;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 750;
}

.v5-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--v5-cyan), var(--v5-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.v5-links a:hover::after,
.v5-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.v5-nav-cta,
.v5-install {
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(89, 211, 214, .25);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(115deg, #2b79a0, #215b78);
  box-shadow: 0 13px 34px rgba(4, 18, 29, .28);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 850;
}

.v5-install {
  display: none;
  border-color: rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .07);
  cursor: pointer;
}

.v5-install.is-available {
  display: inline-flex;
}

.v5-install--mobile {
  display: none;
}

.v5-footer .v5-install--footer {
  width: max-content;
  min-height: 38px;
  margin-top: 4px;
  padding: 8px 13px;
  display: inline-flex;
  border-color: rgba(99, 237, 240, .32);
  background: rgba(99, 237, 240, .08);
  box-shadow: none;
}

.v5-install-guide {
  width: min(470px, calc(100% - 32px));
  padding: 34px;
  border: 1px solid rgba(233, 182, 68, .4);
  border-radius: 28px;
  color: #f7fbfc;
  background:
    radial-gradient(circle at 92% 0, rgba(178, 140, 255, .2), transparent 34%),
    linear-gradient(145deg, #17283a, #0b1420);
  box-shadow: 0 32px 90px rgba(2, 10, 18, .52);
}

.v5-install-guide::backdrop {
  background: rgba(4, 10, 18, .7);
  backdrop-filter: blur(8px);
}

.v5-install-guide > img {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 22px;
  box-shadow: 0 0 28px rgba(233, 182, 68, .18);
}

.v5-install-guide > span {
  display: block;
  color: #e9bd5a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.v5-install-guide h2 {
  margin: 10px 42px 12px 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  line-height: 1.08;
}

.v5-install-guide p {
  margin: 0 0 12px;
  color: #d7e2e6;
  line-height: 1.7;
}

.v5-install-guide small {
  color: #9eb1ba;
  line-height: 1.55;
}

.v5-install-guide__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  font: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}

.v5-menu {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  cursor: pointer;
}

.v5-menu span,
.v5-menu span::before,
.v5-menu span::after {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
}

.v5-menu span { position: relative; }
.v5-menu span::before,
.v5-menu span::after {
  position: absolute;
  left: 0;
  content: "";
}
.v5-menu span::before { top: -6px; }
.v5-menu span::after { top: 6px; }

.v5-home-return {
  position: sticky;
  z-index: 80;
  top: 100px;
  width: fit-content;
  margin: 18px max(20px, calc((100vw - 1440px) / 2));
  padding: 11px 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--v5-line);
  border-radius: 999px;
  color: var(--v5-ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 34px rgba(16, 38, 57, .1);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 850;
  backdrop-filter: blur(16px);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.v5-home-return__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 149, 53, .35);
  border-radius: 10px;
  color: var(--v5-gold);
  background: linear-gradient(145deg, #fff, #eee7d8);
  box-shadow:
    inset -3px -3px 7px rgba(10, 22, 35, .12),
    inset 3px 3px 7px rgba(255, 255, 255, .9),
    0 0 14px rgba(89, 211, 214, .16);
}

.v5-home-return__icon svg {
  width: 23px;
  height: 23px;
  overflow: visible;
}

.v5-home-return__roof {
  fill: none;
  stroke: #14283a;
  stroke-width: 3.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v5-home-return__house {
  fill: #fffaf0;
  stroke: #9c8a68;
  stroke-width: 1.1;
}

.v5-home-return__door {
  fill: #14283a;
  stroke: var(--v5-gold);
  stroke-width: 1.1;
}

.v5-home-return:hover {
  color: white;
  border-color: var(--v5-blue);
  background: var(--v5-blue);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(16, 38, 57, .18), 0 0 24px rgba(89, 211, 214, .18);
}

/* Identidad continua en todas las páginas. */
.shell {
  width: min(1440px, calc(100vw - 64px));
}

.hero,
.listing-hero,
.service-hero,
.resource-hero {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.listing-hero::before,
.service-hero::before,
.resource-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 82% 20%, rgba(89, 211, 214, .12), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(235, 241, 243, .74));
}

.button,
.button-primary,
.button-submit {
  border-radius: 999px !important;
}

.button-primary,
.button-submit {
  color: white !important;
  border-color: transparent !important;
  background: linear-gradient(115deg, var(--v5-coral), #aa452c) !important;
  box-shadow: 0 14px 36px rgba(170, 69, 44, .2);
}

.button-ghost {
  color: var(--v5-ink) !important;
  border-color: var(--v5-line) !important;
  background: rgba(255, 255, 255, .72) !important;
}

.stage-card,
.service-card,
.resource-card,
.career-guide-card,
.service-page-grid article,
.three-column > div,
.question-grid > div,
.step-list > div {
  border: 1px solid var(--v5-line) !important;
  border-radius: var(--v5-radius) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(238, 243, 244, .82)) !important;
  box-shadow: 0 18px 48px rgba(20, 43, 60, .08) !important;
}

.stage-card::after,
.service-card::after {
  background: radial-gradient(circle, rgba(89, 211, 214, .12), transparent 68%);
}

.integrity-panel,
.quality-panel,
.quote-shell,
.final-cta-inner,
.research-card {
  border-color: var(--v5-line) !important;
  box-shadow: var(--v5-shadow) !important;
}

.services-section,
.stage-section,
.method-section,
.quality-section,
.faq-section,
.listing-section:nth-of-type(even),
.related-section {
  background: transparent;
}

/* Galerías y recursos: sin recortes, sin desbordes y con ancho útil. */
.listing-section > .shell,
.related-section > .shell {
  width: min(1440px, calc(100% - 48px));
}

.resource-grid,
.resource-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2.2vw, 30px) !important;
}

.resource-card {
  overflow: hidden;
}

.resource-card-image {
  aspect-ratio: auto !important;
  min-height: 0 !important;
  padding: 16px;
  display: grid !important;
  place-items: center;
  overflow: visible !important;
  background:
    linear-gradient(145deg, #f2f5f5, #fff) !important;
}

.resource-card-image img {
  width: 100% !important;
  height: auto !important;
  max-height: 640px;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 14px;
  transition: transform .3s ease, filter .3s ease;
}

.resource-card:hover .resource-card-image img {
  transform: translateY(-4px) !important;
  filter: drop-shadow(0 18px 30px rgba(20, 37, 51, .12));
}

.v5-infographics .resource-card-image {
  min-height: 470px !important;
}

.v5-infographics .resource-card-image img {
  max-height: 610px;
}

.v5-infographics .resource-card-image::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  content: "Ampliar";
  border-radius: 999px;
  color: white;
  background: rgba(11, 20, 32, .86);
  font-size: .69rem;
  font-weight: 800;
  pointer-events: none;
}

.v5-infographics .resource-card-image {
  position: relative;
  cursor: zoom-in;
}

.resource-cover {
  overflow: visible;
  border: 1px solid var(--v5-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--v5-shadow);
  transform: none;
}

.resource-cover img {
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
}

.v5-lightbox {
  position: fixed;
  z-index: 500;
  inset: 0;
  padding: clamp(14px, 3vw, 42px);
  display: none;
  place-items: center;
  background: rgba(3, 10, 17, .94);
  backdrop-filter: blur(18px);
}

.v5-lightbox.is-open {
  display: grid;
}

.v5-lightbox img {
  max-width: min(980px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 34px 120px rgba(0, 0, 0, .46);
}

.v5-lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Reunión virtual. */
.v5-meeting {
  position: relative;
  width: min(1280px, calc(100% - 40px));
  margin: clamp(62px, 8vw, 112px) auto;
  padding: clamp(28px, 5vw, 66px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  border: 1px solid rgba(89, 211, 214, .22);
  border-radius: 36px;
  color: #edf8fb;
  background:
    radial-gradient(circle at 88% 20%, rgba(89, 211, 214, .17), transparent 21rem),
    radial-gradient(circle at 4% 100%, rgba(199, 149, 53, .17), transparent 24rem),
    linear-gradient(125deg, var(--v5-navy), var(--v5-navy-2));
  box-shadow: 0 36px 104px rgba(5, 18, 29, .24);
}

.v5-meeting::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(89, 211, 214, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 211, 214, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.v5-meeting__copy,
.v5-meeting__platforms {
  position: relative;
  z-index: 1;
}

.v5-meeting__eyebrow {
  color: var(--v5-cyan);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.v5-meeting h2 {
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.048em;
}

.v5-meeting p {
  max-width: 760px;
  margin: 0 0 24px;
  color: #c4d7de;
  line-height: 1.72;
}

.v5-meeting__cta {
  min-height: 50px;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(115deg, var(--v5-coral), #aa452c);
  box-shadow: 0 16px 38px rgba(3, 12, 20, .3);
  text-decoration: none;
  font-weight: 850;
}

.v5-meeting__platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.v5-platform {
  min-height: 180px;
  padding: 22px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px);
}

.v5-platform img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 18px;
}

.v5-platform strong {
  color: #fff;
  font-size: .9rem;
}

/* Formulario de evaluación. */
.v5-form-page {
  padding: clamp(44px, 7vw, 94px) 0 112px;
}

.v5-form-shell {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, .74fr) minmax(0, 1.26fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.v5-form-intro {
  position: sticky;
  top: 172px;
}

.v5-form-intro h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: .96;
  letter-spacing: -.052em;
}

.v5-form-intro p {
  color: var(--v5-muted);
  line-height: 1.72;
}

.v5-form-assurance {
  margin: 25px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.v5-form-assurance li {
  padding: 12px 14px;
  border: 1px solid var(--v5-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
  line-height: 1.5;
}

.v5-evaluation-form,
.quote-form {
  padding: clamp(24px, 4vw, 46px) !important;
  border: 1px solid var(--v5-line) !important;
  border-radius: 32px !important;
  color: var(--v5-ink) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(235, 242, 243, .88)) !important;
  box-shadow: var(--v5-shadow) !important;
}

.v5-form-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.v5-field,
.form-grid label {
  display: grid;
  gap: 8px;
}

.v5-field--full,
.field-full {
  grid-column: 1 / -1;
}

.v5-field > span,
.form-grid label > span {
  color: var(--v5-ink) !important;
  font-size: .8rem;
  font-weight: 850;
}

.v5-field input,
.v5-field select,
.v5-field textarea,
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(42, 64, 84, .2) !important;
  border-radius: 14px !important;
  color: var(--v5-ink) !important;
  background: rgba(255, 255, 255, .9) !important;
}

.v5-field textarea,
.form-grid textarea {
  min-height: 132px;
  resize: vertical;
}

.v5-field input:focus,
.v5-field select:focus,
.v5-field textarea:focus,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 3px solid rgba(89, 211, 214, .2);
  border-color: var(--v5-blue) !important;
}

.v5-privacy,
.form-privacy {
  margin: 20px 0;
  color: #56626d;
  font-size: .78rem;
  line-height: 1.55;
}

.v5-form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: .86rem;
  font-weight: 700;
}

.consent-field {
  display: none !important;
}

/* Footer reconstruido. */
.v5-footer {
  position: relative;
  z-index: 1;
  padding: 70px 0 0;
  color: #d7e6eb;
  background:
    radial-gradient(circle at 8% 0, rgba(89, 211, 214, .14), transparent 28rem),
    radial-gradient(circle at 90% 110%, rgba(199, 149, 53, .18), transparent 27rem),
    var(--v5-navy);
}

.v5-footer__grid {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(28px, 5vw, 66px);
}

.v5-footer .v5-brand {
  margin-bottom: 16px;
}

.v5-footer p,
.v5-footer small {
  color: #9fb5bf;
  line-height: 1.7;
}

.v5-footer__column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.v5-footer__column > strong {
  margin-bottom: 6px;
  color: var(--v5-gold);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.v5-footer__column a {
  color: #d7e6eb;
  text-decoration: none;
  font-size: .88rem;
}

.v5-footer__column a:hover {
  color: var(--v5-cyan);
}

.v5-footer__legal {
  width: min(1280px, calc(100% - 40px));
  margin: 48px auto 0;
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #8ca3ad;
  font-size: .76rem;
}

.v5-footer__legal nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.v5-footer__legal a {
  color: #bed0d6;
  text-decoration: none;
}

.v5-links .v5-feature-nav {
  position: relative;
  isolation: isolate;
  z-index: 2;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #18394b, #131c30);
  box-shadow:
    inset 0 0 18px rgba(89, 211, 214, .15),
    0 0 16px rgba(89, 211, 214, .18),
    0 0 30px rgba(199, 149, 53, .1);
  animation: v5-feature-breathe 2.8s ease-in-out infinite;
}

.v5-feature-nav::before {
  --v5-orbit-angle: 0deg;
  position: absolute;
  z-index: 0;
  inset: -3px;
  padding: 2px;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  background: conic-gradient(from var(--v5-orbit-angle), transparent 0 12%, #63edf0 19%, #e9b644 27%, transparent 35% 66%, #b28cff 75%, transparent 84%);
  filter: drop-shadow(0 0 8px rgba(99, 237, 240, .75));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: v5-nav-orbit 3.8s linear infinite;
}

.v5-feature-nav small {
  position: relative;
  z-index: 1;
  margin-left: 5px;
  padding: 3px 6px;
  color: #101623;
  border-radius: 99px;
  background: #f0c45a;
  font-size: .55rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.v5-feature-nav__tip {
  display: none;
}

.v5-feature-nav::after {
  position: absolute;
  z-index: 12;
  left: 50%;
  right: auto;
  top: calc(100% + 15px);
  bottom: auto;
  width: 260px;
  height: auto;
  padding: 10px 12px;
  content: attr(data-tip);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -5px);
  color: #effeff;
  border: 1px solid rgba(99, 237, 240, .3);
  border-radius: 12px;
  background: rgba(8, 18, 30, .98);
  box-shadow: 0 18px 42px rgba(3, 12, 20, .34);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  transition: .2s ease;
}

.v5-feature-nav:hover::after,
.v5-feature-nav:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@property --v5-orbit-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes v5-nav-orbit { to { --v5-orbit-angle: 1turn; } }
@keyframes v5-feature-breathe {
  50% {
    box-shadow:
      inset 0 0 22px rgba(89, 211, 214, .21),
      0 0 23px rgba(89, 211, 214, .27),
      0 0 42px rgba(199, 149, 53, .15);
  }
}

.v5-dock {
  position: fixed;
  z-index: 190;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
  transition: opacity .2s ease, transform .2s ease;
}

.v5-dock.is-near-footer,
.v5-dock.is-near-action {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.v5-dock a,
.v5-dock button {
  position: relative;
  width: 66px;
  height: 66px;
  min-width: 66px;
  min-height: 66px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(99, 237, 240, .48);
  border-radius: 50%;
  color: #fff;
  background: rgba(11, 20, 32, .95);
  box-shadow:
    0 14px 36px rgba(5, 16, 27, .3),
    0 0 0 4px rgba(89, 211, 214, .07),
    0 0 24px rgba(89, 211, 214, .17);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.v5-dock a:hover,
.v5-dock a:focus-visible,
.v5-dock button:hover,
.v5-dock button:focus-visible {
  transform: translateY(-3px) scale(1.035);
  border-color: var(--v5-cyan);
  box-shadow:
    0 18px 42px rgba(5, 16, 27, .34),
    0 0 0 5px rgba(89, 211, 214, .1),
    0 0 32px rgba(89, 211, 214, .3);
}

.v5-dock .v5-dock__wa {
  border-color: rgba(80, 225, 156, .62);
  background: #071b17;
  box-shadow:
    0 14px 36px rgba(5, 16, 27, .3),
    0 0 0 4px rgba(37, 211, 102, .08),
    0 0 24px rgba(37, 211, 102, .2);
}

.v5-dock img {
  width: 54px;
  height: 54px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
}

.v5-dock__wa img {
  width: 48px;
  height: 48px;
}

.v5-dock > * > span {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  min-width: max-content;
  padding: 8px 11px;
  opacity: 0;
  visibility: hidden;
  transform: translate(6px, -50%);
  color: #f0feff;
  border: 1px solid rgba(89, 211, 214, .24);
  border-radius: 10px;
  background: rgba(8, 17, 28, .97);
  box-shadow: 0 14px 34px rgba(3, 12, 20, .3);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .01em;
  pointer-events: none;
  transition: .18s ease;
}

.v5-dock > *:hover > span,
.v5-dock > *:focus-visible > span {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

/* Asistente académico global. */
.v5-assistant {
  position: fixed;
  z-index: 220;
  right: 22px;
  bottom: 88px;
  width: min(410px, calc(100vw - 28px));
  max-height: min(690px, calc(100vh - 120px));
  overflow: hidden;
  display: none;
  grid-template-rows: auto auto minmax(190px, 1fr) auto auto;
  border: 1px solid rgba(89, 211, 214, .24);
  border-radius: 28px;
  color: #edf8fb;
  background:
    radial-gradient(circle at 80% 0, rgba(112, 97, 166, .18), transparent 20rem),
    linear-gradient(150deg, #101c2a, #08121d);
  box-shadow: 0 34px 104px rgba(3, 11, 19, .44);
}

.v5-assistant.is-open {
  display: grid;
}

.v5-assistant__head {
  padding: 15px 17px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.v5-assistant__head img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(89, 211, 214, .45);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
  background: #08131f;
  box-shadow: 0 0 18px rgba(89, 211, 214, .24);
}

.v5-assistant__head strong {
  display: block;
  color: #fff;
}

.v5-assistant__head span {
  color: #91ced5;
  font-size: .72rem;
}

.v5-assistant__head button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  font: inherit;
  cursor: pointer;
}

.v5-assistant__notice {
  padding: 11px 16px;
  color: #aec2c9;
  background: rgba(255, 255, 255, .035);
  font-size: .72rem;
  line-height: 1.45;
}

.v5-assistant__messages {
  overflow-y: auto;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.v5-message {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 16px 16px 16px 5px;
  color: #dce9ed;
  background: rgba(255, 255, 255, .08);
  font-size: .84rem;
  line-height: 1.55;
}

.v5-message--user {
  margin-left: auto;
  border-radius: 16px 16px 5px;
  color: #fff;
  background: #426a88;
}

.v5-assistant__suggestions {
  padding: 0 14px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  overflow: visible;
}

.v5-assistant__suggestions button {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(89, 211, 214, .18);
  border-radius: 999px;
  color: #d0e7ea;
  background: rgba(255, 255, 255, .04);
  font: inherit;
  font-size: .7rem;
  cursor: pointer;
}

.v5-assistant__form {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.v5-assistant__form textarea {
  min-height: 44px;
  max-height: 110px;
  resize: none;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  font: inherit;
  font-size: .82rem;
}

.v5-assistant__form button {
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--v5-coral);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.v5-chat-typing::after {
  content: " •••";
  letter-spacing: .14em;
  animation: v5-pulse 1s infinite alternate;
}

@keyframes v5-pulse {
  to { opacity: .35; }
}

@media (max-width: 1080px) {
  .v5-nav { grid-template-columns: auto 1fr auto; }
  .v5-install--desktop { display: none !important; }
  .v5-links { gap: 13px; }
  .v5-links a { font-size: .78rem; }
  .v5-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .v5-footer__grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 860px) {
  .v5-nav {
    min-height: 76px;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }
  .v5-brand img { width: 160px; }
  .v5-menu { display: grid; }
  .v5-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    padding: 18px 22px 23px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    background: linear-gradient(180deg, #0b1420, #132638);
    box-shadow: 0 22px 48px rgba(4, 15, 24, .28);
  }
  .v5-links.is-open { display: flex; }
  .v5-links a { padding: 12px 4px; font-size: .9rem; }
  .v5-links .v5-install--mobile {
    width: 100%;
    margin-top: 8px;
    display: inline-flex !important;
    border-color: rgba(233, 182, 68, .42);
    background: linear-gradient(115deg, rgba(43, 121, 160, .92), rgba(41, 75, 103, .9));
  }
  .v5-links .v5-feature-nav {
    margin: 6px 0;
    padding: 13px 14px;
    display: flex;
    white-space: normal;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
  }
  .v5-feature-nav::after {
    display: none;
    content: none;
  }
  .v5-feature-nav__tip {
    width: 100%;
    flex-basis: 100%;
    margin-top: 7px;
    display: block;
    color: #b3dce1;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.45;
  }
  .v5-nav-cta { display: none; }
  .v5-home-return { top: 88px; }
  .resource-grid,
  .resource-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .v5-meeting,
  .v5-form-shell {
    grid-template-columns: 1fr;
  }
  .v5-form-intro { position: static; }
  .v5-footer__grid { grid-template-columns: 1fr 1fr; }
  .v5-footer__grid > :last-child { grid-column: auto; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 1440px); }
  .v5-nav { width: min(100% - 24px, 1440px); }
  .v5-brand img { width: 144px; }
  .v5-home-return { top: 82px; margin: 12px 14px; font-size: .76rem; }
  .resource-grid,
  .resource-grid.compact {
    grid-template-columns: 1fr !important;
  }
  .listing-section > .shell,
  .related-section > .shell {
    width: min(100% - 24px, 1440px);
  }
  .resource-card-image,
  .v5-infographics .resource-card-image {
    min-height: 0 !important;
  }
  .resource-card-image img,
  .v5-infographics .resource-card-image img {
    max-height: none;
  }

  .resource-copy,
  .resource-copy .hero-actions {
    width: 100%;
    min-width: 0;
  }

  .resource-copy .hero-actions .button {
    box-sizing: border-box !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 16px;
    white-space: normal;
  }

  .example-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .example-sidebar button {
    width: 100%;
  }
  .v5-meeting {
    width: min(100% - 24px, 1280px);
    border-radius: 25px;
  }
  .v5-platform { min-height: 142px; padding: 15px; }
  .v5-platform img { width: 60px; height: 60px; }
  .v5-form-shell { width: min(100% - 24px, 1200px); }
  .v5-form-grid,
  .form-grid { grid-template-columns: 1fr; }
  .v5-field--full,
  .field-full { grid-column: auto; }
  .v5-evaluation-form,
  .quote-form { border-radius: 24px !important; }
  .v5-footer__grid { grid-template-columns: 1fr; }
  .v5-footer__legal { flex-direction: column; }
  .v5-dock { right: 12px; bottom: 12px; }
  .v5-dock a,
  .v5-dock button {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    padding: 5px;
  }
  .v5-dock img { width: 46px; height: 46px; }
  .v5-dock__wa img { width: 42px; height: 42px; }
  .v5-dock > * > span { display: none; }
  .v5-assistant {
    right: 10px;
    bottom: 72px;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 92px);
    border-radius: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Evaluación académica de documentos */
.ai-review-page {
  --air-dark: #0b1420;
  --air-dark-2: #172d40;
  --air-accent: #bd5a36;
  --air-accent-2: #c79535;
  --air-signal: #59d3d6;
  --air-paper: #fbfaf6;
  width: 100%;
  overflow: clip;
  color: var(--v5-ink);
}

.ai-review-page *,
.ai-review-page *::before,
.ai-review-page *::after {
  box-sizing: border-box;
}

.ai-review-hero {
  position: relative;
  isolation: isolate;
  width: min(1420px, calc(100% - 40px));
  min-height: 610px;
  margin: 26px auto 0;
  padding: clamp(44px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(89, 211, 214, .2);
  border-radius: 42px;
  background:
    radial-gradient(circle at 78% 28%, rgba(89, 211, 214, .2), transparent 24rem),
    radial-gradient(circle at 12% 86%, rgba(189, 90, 54, .23), transparent 28rem),
    linear-gradient(128deg, var(--air-dark), var(--air-dark-2));
  box-shadow: 0 38px 110px rgba(6, 19, 29, .24);
}

.ai-review-hero::before,
.ai-review-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.ai-review-hero::before {
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(102, 224, 231, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 224, 231, .18) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000, transparent 88%);
}

.ai-review-hero::after {
  width: 340px;
  height: 340px;
  right: -110px;
  top: -120px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .018);
}

.ai-review-hero__copy {
  min-width: 0;
}

.ai-review-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--air-accent);
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ai-review-hero .ai-review-kicker {
  color: var(--air-signal);
}

.ai-review-kicker::before {
  width: 26px;
  height: 1px;
  content: "";
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.ai-review-hero h1 {
  max-width: 790px;
  margin: 24px 0 22px;
  color: #fff;
  font-size: clamp(2.55rem, 5.2vw, 5.45rem);
  line-height: .96;
  letter-spacing: -.058em;
}

.ai-review-hero__copy > p {
  max-width: 760px;
  margin: 0;
  color: #d7e6ec;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}

.ai-review-trust {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-review-trust span {
  padding: 10px 14px;
  color: #dff8fb;
  border: 1px solid rgba(111, 218, 229, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  font-size: .75rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.ai-review-hero__visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.ai-review-hero__visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 455px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: 50% 50%;
  border-radius: 34%;
  mask-image: radial-gradient(circle at 50% 48%, #000 52%, rgba(0, 0, 0, .96) 66%, transparent 84%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 52%, rgba(0, 0, 0, .96) 66%, transparent 84%);
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, .36));
}

.ai-review-orbit {
  position: absolute;
  width: min(92%, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(89, 211, 214, .4);
  border-radius: 50%;
  box-shadow:
    inset 0 0 70px rgba(89, 211, 214, .12),
    0 0 0 34px rgba(89, 211, 214, .035),
    0 0 75px rgba(89, 211, 214, .18);
}

.ai-review-orbit::before,
.ai-review-orbit::after {
  position: absolute;
  inset: 8%;
  content: "";
  border: 1px dashed rgba(199, 149, 53, .48);
  border-radius: inherit;
  animation: ai-orbit 20s linear infinite;
}

.ai-review-orbit::after {
  inset: 20%;
  border-color: rgba(255, 255, 255, .22);
  animation-direction: reverse;
  animation-duration: 13s;
}

.ai-review-scan {
  position: absolute;
  z-index: 3;
  top: 23%;
  right: 5%;
  left: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--air-signal), transparent);
  box-shadow: 0 0 22px var(--air-signal);
  animation: ai-scan 4.8s ease-in-out infinite;
}

.ai-review-signal {
  position: absolute;
  z-index: 4;
  right: 2%;
  bottom: 5%;
  padding: 10px 15px;
  color: #dffbff;
  border: 1px solid rgba(89, 211, 214, .38);
  border-radius: 10px;
  background: rgba(8, 19, 29, .7);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .15em;
  backdrop-filter: blur(12px);
}

@keyframes ai-orbit {
  to { transform: rotate(360deg); }
}

@keyframes ai-scan {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(245px); opacity: 1; }
}

.ai-review-capabilities {
  width: min(1240px, calc(100% - 40px));
  margin: -42px auto 80px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ai-review-capabilities article {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(21, 67, 91, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 22px 60px rgba(12, 33, 46, .12);
  backdrop-filter: blur(16px);
}

.ai-review-capabilities b {
  color: var(--air-accent);
  font-size: .72rem;
  letter-spacing: .14em;
}

.ai-review-capabilities h2 {
  margin: 12px 0 9px;
  font-size: 1.18rem;
}

.ai-review-capabilities p {
  margin: 0;
  color: var(--v5-muted);
  font-size: .88rem;
  line-height: 1.6;
}

.ai-review-workspace,
.ai-review-result {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 88px;
}

.ai-review-workspace {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.ai-review-workspace__intro {
  position: sticky;
  top: 120px;
}

.ai-review-workspace__intro h2,
.ai-review-result h2 {
  margin: 18px 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.ai-review-workspace__intro > p {
  color: var(--v5-muted);
  line-height: 1.75;
}

.ai-review-limit {
  margin-top: 28px;
  padding: 23px;
  border: 1px solid rgba(189, 90, 54, .22);
  border-left: 3px solid var(--air-accent);
  border-radius: 0 18px 18px 0;
  background: rgba(189, 90, 54, .055);
}

.ai-review-limit strong {
  display: block;
  margin-bottom: 7px;
}

.ai-review-limit p {
  margin: 0;
  color: var(--v5-muted);
  font-size: .85rem;
  line-height: 1.65;
}

.ai-review-form {
  min-width: 0;
  padding: clamp(25px, 4vw, 48px);
  border: 1px solid rgba(21, 67, 91, .16);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(241, 247, 246, .84));
  box-shadow: var(--v5-shadow);
}

.ai-review-steps {
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.ai-review-steps li {
  position: relative;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #77828b;
  font-size: .68rem;
  font-weight: 850;
  text-align: center;
}

.ai-review-steps li::before {
  position: absolute;
  z-index: 0;
  top: 17px;
  right: 50%;
  left: -50%;
  height: 1px;
  content: "";
  background: rgba(43, 121, 160, .2);
}

.ai-review-steps li:first-child::before {
  display: none;
}

.ai-review-steps b {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #6c7780;
  border: 1px solid rgba(43, 121, 160, .24);
  border-radius: 50%;
  background: #fff;
  transition: .2s ease;
}

.ai-review-steps li.is-active,
.ai-review-steps li.is-complete {
  color: var(--air-accent);
}

.ai-review-steps li.is-active b,
.ai-review-steps li.is-complete b {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--air-accent), var(--air-accent-2));
  box-shadow: 0 9px 20px rgba(189, 90, 54, .22);
}

.ai-review-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ai-review-step[hidden] {
  display: none !important;
}

.ai-review-step legend {
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
  color: var(--v5-ink);
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
}

.ai-review-step legend span {
  display: block;
  margin-bottom: 8px;
  color: var(--air-accent);
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ai-review-step__actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-review-next,
.ai-review-back {
  min-height: 48px;
  padding: 12px 17px;
  border-radius: 13px;
  font: inherit;
  font-size: .8rem;
  font-weight: 900;
  cursor: pointer;
}

.ai-review-next {
  color: #fff;
  border: 0;
  background: linear-gradient(125deg, var(--air-accent), #8c3d27);
}

.ai-review-back {
  color: var(--v5-ink);
  border: 1px solid rgba(16, 61, 83, .18);
  background: rgba(255, 255, 255, .72);
}

.ai-review-step__actions .ai-review-submit {
  width: auto;
  flex: 1 1 280px;
}

.ai-review-field {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.ai-review-field > span {
  color: var(--v5-ink);
  font-size: .78rem;
  font-weight: 850;
}

.ai-review-field input,
.ai-review-field select,
.ai-review-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(16, 61, 83, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  color: var(--v5-ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ai-review-field input,
.ai-review-field select {
  min-height: 52px;
  padding: 0 15px;
}

.ai-review-field textarea {
  min-height: 150px;
  padding: 15px;
  resize: vertical;
}

.ai-review-field input:focus,
.ai-review-field select:focus,
.ai-review-field textarea:focus {
  border-color: var(--air-accent);
  box-shadow: 0 0 0 4px rgba(189, 90, 54, .11);
}

.ai-review-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ai-review-drop {
  position: relative;
  min-height: 190px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  border: 1px dashed rgba(43, 121, 160, .48);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(89, 211, 214, .07), rgba(199, 149, 53, .08));
}

.ai-review-drop::before {
  position: absolute;
  inset: -70% -20%;
  content: "";
  pointer-events: none;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, .65) 50%, transparent 58%);
  transform: translateX(-70%);
  transition: transform .7s ease;
}

.ai-review-drop:hover::before {
  transform: translateX(70%);
}

.ai-review-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.ai-review-drop__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--air-accent), var(--air-accent-2));
  box-shadow: 0 15px 30px rgba(189, 90, 54, .22);
  font-size: 1.7rem;
}

.ai-review-drop strong {
  font-size: 1rem;
}

.ai-review-drop small,
.ai-review-files,
.ai-review-privacy,
.ai-review-disclaimer {
  color: #5d6973;
  font-size: .78rem;
  line-height: 1.6;
}

.ai-review-files {
  min-height: 1.4em;
  margin: 12px 0 20px;
  overflow-wrap: anywhere;
}

.ai-review-privacy {
  margin: 18px 0;
}

.ai-review-submit,
.ai-review-download,
.ai-review-solution,
.ai-review-restart {
  min-height: 52px;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: .84rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.ai-review-submit,
.ai-review-download {
  color: #fff;
  background: linear-gradient(125deg, var(--air-accent), #8c3d27);
  box-shadow: 0 14px 28px rgba(189, 90, 54, .2);
}

.ai-review-submit {
  width: 100%;
}

.ai-review-submit:disabled,
.ai-review-download:disabled {
  cursor: wait;
  opacity: .58;
}

.ai-review-status {
  min-height: 1.6em;
  margin: 15px 0 0;
  font-size: .82rem;
  font-weight: 750;
}

.ai-review-status.is-working { color: #176e8f; }
.ai-review-status.is-success { color: #187453; }
.ai-review-status.is-error { color: #a83829; }

.ai-review-result {
  scroll-margin-top: 120px;
  padding: clamp(26px, 5vw, 58px);
  color: #eaf8fb;
  border: 1px solid rgba(89, 211, 214, .25);
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 4%, rgba(89, 211, 214, .15), transparent 24rem),
    linear-gradient(135deg, var(--air-dark), var(--air-dark-2));
  box-shadow: 0 34px 90px rgba(5, 18, 28, .23);
}

.ai-review-result[hidden] {
  display: none !important;
}

.ai-review-result__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.ai-review-result h2 {
  color: #fff;
}

.ai-review-result__badge {
  padding: 9px 13px;
  color: var(--air-signal);
  border: 1px solid rgba(89, 211, 214, .3);
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.ai-review-report {
  max-width: 100%;
  max-height: 760px;
  margin: 18px 0 26px;
  padding: clamp(20px, 4vw, 34px);
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #d9e8ed;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: rgba(3, 13, 21, .48);
  font: 500 .9rem/1.72 Arial, Helvetica, sans-serif;
}

.ai-review-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.ai-review-solution {
  color: var(--air-dark);
  background: linear-gradient(135deg, var(--air-signal), #9ef0e7);
}

.ai-review-restart {
  color: #e8f7fa;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
}

.ai-review-disclaimer {
  margin: 20px 0 0;
  color: #aebfc6;
}

@media (max-width: 920px) {
  .ai-review-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ai-review-hero__visual {
    min-height: 360px;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }
  .ai-review-capabilities {
    margin-top: -28px;
    grid-template-columns: 1fr;
  }
  .ai-review-workspace {
    grid-template-columns: 1fr;
  }
  .ai-review-workspace__intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .ai-review-hero,
  .ai-review-capabilities,
  .ai-review-workspace,
  .ai-review-result {
    width: min(100% - 24px, 1240px);
  }
  .ai-review-hero {
    margin-top: 14px;
    padding: 34px 22px;
    border-radius: 28px;
  }
  .ai-review-hero h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }
  .ai-review-hero__visual {
    min-height: 310px;
  }
  .ai-review-signal {
    right: 0;
    bottom: 0;
  }
  .ai-review-capabilities {
    margin-bottom: 58px;
  }
  .ai-review-capabilities article,
  .ai-review-form,
  .ai-review-result {
    border-radius: 22px;
  }
  .ai-review-form__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ai-review-drop {
    min-height: 170px;
    padding: 22px 16px;
  }
  .ai-review-result__head {
    flex-direction: column;
  }
  .ai-review-result__actions {
    display: grid;
  }
  .ai-review-step__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .ai-review-next,
  .ai-review-back,
  .ai-review-step__actions .ai-review-submit {
    width: 100%;
  }
  .ai-review-submit,
  .ai-review-download,
  .ai-review-solution,
  .ai-review-restart {
    width: 100%;
  }
}
