/* Home pública de ARVIO. Todo va acotado a .arvio-home para no tocar las fichas por segmento. */
:root {
  color-scheme: light dark;
}
.arvio-home {
  --bg: #0c1116;
  --bg-alt: #111920;
  --surface: #161d25;
  --surface-2: #1d2731;
  --ink: #f6f5f1;
  --muted: #b2beca;
  --line: #33414d;
  --accent: #ff5a1f;
  --accent-text: #ff986d;
  --accent-strong: #ff986d;
  --focus: #ffb36b;
  --shine-base: #ff5a1f;
  --hq-ink: var(--ink);
  --hq-muted: var(--muted);
  --hq-line: var(--line);
  --hq-soft: var(--surface);
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
}
@media (prefers-color-scheme: light) {
  .arvio-home {
    --bg: #f6f5f1;
    --bg-alt: #edebe4;
    --surface: #ffffff;
    --surface-2: #e9e7df;
    --ink: #0c1116;
    --muted: #46515c;
    --line: #cfccc2;
    --accent-text: #b23a0a;
    --accent-strong: #c2410c;
    --focus: #b23a0a;
    --shine-base: #d9480f;
  }
}

.arvio-home .hq-wrap {
  width: calc(100% - 32px);
}
.arvio-home h2 {
  font-size: clamp(32px, 4.4vw, 58px);
  text-wrap: balance;
}
.arvio-home h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.arvio-home a:focus-visible,
.arvio-home button:focus-visible,
.arvio-home summary:focus-visible,
.arvio-home select:focus-visible,
.arvio-home iframe:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.arvio-home .hq-skip {
  background: var(--accent);
  color: #0c1116 !important;
  font-weight: 700;
}
.arvio-home .hq-btn {
  min-height: 48px;
  background: var(--accent);
  color: #0c1116 !important;
  text-align: center;
}
.arvio-home .hq-btn:hover {
  background: #ff956b;
}
.arvio-home .hq-btn.secondary {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--muted);
}
.arvio-home .hq-btn.secondary:hover {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}
.wa-btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.arvio-home .viewfinder {
  display: inline-block;
  position: relative;
  width: 19px;
  height: 19px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  flex: none;
}
.arvio-home .viewfinder::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.position-mark {
  display: inline-block;
  position: relative;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex: none;
}
.position-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: currentColor;
  border-radius: 50%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.arvio-home .hq-nav {
  gap: 12px;
  min-height: 68px;
  padding-block: 10px;
  flex-wrap: nowrap;
  border-bottom: 1px solid var(--line);
}
.arvio-home .hq-logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 26px;
}
.arvio-home .brand-360 {
  align-self: center;
  position: relative;
  top: -0.7em;
  margin-top: 0;
  font-size: 10px;
  color: var(--accent-text);
}
.arvio-home .arv-logo .viewfinder {
  display: none;
  width: 13px;
  height: 13px;
  color: var(--muted);
  margin-left: 6px;
}
.arvio-home .hq-nav nav {
  gap: 10px;
  margin-left: auto;
  font-size: 14px;
}
.arvio-home .nav-link {
  display: none;
}
.arvio-home .family-menu summary {
  font-size: 0;
  gap: 4px;
  color: var(--muted);
}
.arvio-home .family-menu summary::after {
  font-size: 14px;
}
.arvio-home .family-menu summary .hq-mark {
  font-size: 12px;
}
.arvio-home .hq-mark {
  color: var(--muted);
}
.arvio-home .family-menu .family-links {
  background: var(--surface);
  border-color: var(--line);
  right: -16px;
}
.arvio-home .family-links a:hover,
.arvio-home .family-menu .family-links [aria-current] {
  background: var(--surface-2);
}
.arvio-home .acc-btn {
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}
.arvio-home .hq-nav > .nav-quote {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
  margin-left: 0;
}

.home-hero {
  position: relative;
  padding: 28px 0 40px;
  background: var(--bg);
}
.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.arvio-home .arvio-eyebrow {
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px !important;
}
.arvio-home .orbit-dot {
  animation: none;
}
.arvio-home .hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}
.arvio-home .hero-copy h1 .orbit-dot {
  display: inline-block;
  vertical-align: -1px;
  margin-right: 10px;
}
.hero-slogan {
  margin: 0;
  font-size: clamp(40px, 11vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-wrap: balance;
}
.hero-slogan em {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.15em;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.arvio-home .shine {
  background-image: linear-gradient(
    100deg,
    var(--shine-base) 0%,
    var(--shine-base) 35%,
    #ffe3c4 48%,
    #fff 50%,
    #ffe3c4 52%,
    var(--shine-base) 65%,
    var(--shine-base) 100%
  );
  animation-iteration-count: 1;
  animation-fill-mode: both;
  filter: none;
}
.hero-lead {
  font-size: 17px;
  color: var(--muted);
  margin-top: 16px !important;
  max-width: 34em;
}
.hero-place {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}
.hero-place .position-mark {
  color: var(--accent-text);
}
.arvio-home .hero-actions {
  margin-top: 22px;
  gap: 10px;
}
.hero-actions .hq-btn {
  flex: 1 1 auto;
  font-size: 15px;
}
/* El recorrido del hero, fundido con el fondo: sin marco ni círculo. */
.hero-stage {
  position: relative;
  margin-top: 20px;
}
.hero-pano {
  position: relative;
  height: clamp(320px, 56svh, 560px);
  background: var(--bg);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.hero-pano iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Franjas de la página sobre los bordes desvanecidos: ahí el dedo hace scroll y no gira la vista. */
.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1;
}
.hero-stage::before {
  top: 0;
}
.hero-stage::after {
  top: calc(clamp(320px, 56svh, 560px) - 64px);
}
/* «Toca para explorar»: solo en pantallas táctiles (ver landing.js). */
.hero-explore {
  display: none;
}
@media (pointer: coarse) {
  .hero-stage.has-explore:not(.is-exploring) .hero-pano iframe {
    pointer-events: none;
  }
  .hero-explore {
    position: absolute;
    /* Arriba del panorama, justo bajo los botones: se ve completo en la primera pantalla. */
    top: 16px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid #ffffff4d;
    border-radius: 999px;
    background: #0c1116cc;
    color: #f6f5f1;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    cursor: pointer;
  }
  .hero-explore svg {
    width: 18px;
    height: 18px;
    flex: none;
  }
  .hero-stage.is-exploring .hero-explore {
    background: var(--accent);
    border-color: transparent;
    color: #0c1116;
  }
}
@media (pointer: coarse) and (min-width: 900px) {
  .hero-explore {
    top: auto;
    bottom: 72px;
    left: 70%;
  }
}
.hero-line {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 16px;
  width: calc(100% - 32px);
  margin: 4px auto 0 !important;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.hero-line > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-line svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.hero-line a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 4px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}

.home-section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.home-hero + .home-section {
  border-top: 0;
}
.section-kicker {
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  margin-bottom: 12px !important;
}
.section-lead {
  color: var(--muted);
  margin-top: 14px !important;
}

.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.step-num {
  grid-row: span 2;
  color: var(--accent-text);
  font-weight: 750;
  font-size: 14px;
  padding-top: 3px;
}
.steps p {
  color: var(--muted);
  font-size: 15px;
}

.diff-section {
  background: var(--bg-alt);
}
.diff-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.diff-photo {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.diff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.diff-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0c1116d9;
  color: #f6f5f1;
  font-size: 13px;
  font-weight: 650;
  border-radius: 999px;
  padding: 7px 13px;
  backdrop-filter: blur(8px);
}
.diff-logo {
  top: 14px;
  left: 14px;
}
.diff-link {
  bottom: 14px;
  right: 14px;
}
.diff-link .viewfinder {
  width: 12px;
  height: 12px;
  color: #ff986d;
}
.diff-link .viewfinder::after {
  width: 5px;
  height: 5px;
}
.diff-copy h2 em,
.own-copy h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  color: var(--accent-strong);
  letter-spacing: -0.02em;
}
.diff-copy p {
  font-size: 18px;
  color: var(--muted);
  margin-top: 18px !important;
  max-width: 30em;
}
.diff-copy .diff-strong {
  color: var(--ink);
  font-weight: 650;
  margin-top: 10px !important;
}

.cover-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.cover-col {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  background: var(--surface);
}
.cover-col ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
}
.cover-col li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
}
.cover-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}
.cover-yes li::before {
  content: "✓";
  color: var(--accent-text);
}
.cover-no li::before {
  content: "✕";
  color: var(--muted);
}
.cover-no li {
  color: var(--muted);
}

.seg-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.seg-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}
.seg-demo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a232d;
}
.seg-demo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s ease-in-out;
}
/* En escritorio, el póster hace un paneo lento al pasar el cursor o enfocar. */
@media (hover: hover) {
  .seg-demo:hover img,
  .seg-demo:focus-within img {
    transform: scale(1.16) translateX(-5%);
  }
}
.seg-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px;
  border: 0;
  background: linear-gradient(transparent 20%, #0c1116f0 92%);
  text-shadow: 0 1px 6px #0c1116;
  color: #f6f5f1;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}
.seg-play small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #dbe2e8;
  margin-top: 2px;
}
.seg-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: #0c1116d9;
  color: #f6f5f1;
  font-size: 12px;
  font-weight: 650;
  border-radius: 999px;
  padding: 5px 11px;
  pointer-events: none;
}
.seg-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #0c1116;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  pointer-events: none;
}
.seg-play-icon {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
.seg-play-icon::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 13px;
  border-left: 14px solid #0c1116;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.seg-play:hover .seg-play-icon {
  background: #ff956b;
}
.arvio-home .seg-play:focus-visible {
  outline-offset: -6px;
}
.seg-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  flex: 1;
}
.seg-body p {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}
.seg-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}

.tour-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0c1116;
  color: #f6f5f1;
  overflow: hidden;
}
.tour-dialog::backdrop {
  background: #05080b;
}
html:has(.tour-dialog[open]) {
  overflow: hidden;
}
.tour-dialog-stage,
.tour-dialog-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.tour-dialog-bar {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-dialog-bar a,
.tour-dialog-bar button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.tour-dialog-new {
  background: #0c1116d9;
  color: #f6f5f1;
  border: 1px solid #60707e;
  backdrop-filter: blur(8px);
}
.tour-dialog-close {
  background: var(--accent);
  color: #0c1116;
  border: 0;
}
.tour-dialog-close:hover {
  background: #ff956b;
}
/* En celular los dos botones se apilan a la derecha para no tapar el crédito del visor. */
@media (max-width: 599px) {
  .tour-dialog-bar {
    flex-direction: column-reverse;
    align-items: flex-end;
  }
  .tour-dialog-bar a,
  .tour-dialog-bar button {
    font-size: 13px;
    padding: 8px 14px;
  }
}
.tour-dialog .tour-dialog-bar :focus-visible {
  outline: 3px solid #ffb36b;
  outline-offset: 3px;
}

.own-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.own-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.own-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arvio-home .own-copy h2 {
  font-size: clamp(28px, 3.6vw, 46px);
}
.own-list {
  margin: 22px 0 0;
  display: grid;
  gap: 16px;
}
.own-list dt {
  font-weight: 700;
}
.own-list dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.own-note {
  margin-top: 18px !important;
  font-size: 14px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}
.own-price {
  margin-top: 16px !important;
  font-weight: 650;
}

.price-section {
  background: var(--bg-alt);
}
.price-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.price-tabs[hidden] {
  display: none;
}
.price-tabs button {
  min-width: 0;
  min-height: 44px;
  padding: 8px 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
}
.price-tabs button[aria-selected="true"] {
  background: var(--accent);
  color: #0c1116;
}
.price-panel {
  margin-top: 16px;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.price-panel[hidden] {
  display: none;
}
.price-panel h3 span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
}
.price-table th,
.price-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  text-align: right;
  vertical-align: baseline;
}
.price-table th:first-child {
  text-align: left;
  padding-right: 8px;
}
.price-table td {
  padding-left: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.price-table thead th {
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
  font-weight: 600;
  vertical-align: bottom;
}
.price-table thead th:last-child {
  max-width: 7.5em;
}
.price-table tbody th {
  font-weight: 500;
}
.price-table td.muted {
  color: var(--muted);
  font-weight: 500;
}
.price-table td.price-custom {
  font-weight: 650;
}
.price-notes {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}
.price-example {
  margin-top: 10px !important;
  font-size: 13px;
  color: var(--muted);
}
.price-example b {
  color: var(--ink);
}
.price-cta {
  width: 100%;
  margin-top: 18px;
}

.faq-grid {
  display: grid;
  gap: 24px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 24px;
  color: var(--accent-text);
  flex: none;
}
.faq details[open] summary::after {
  content: "−";
}
.faq p {
  padding: 0 28px 20px 0;
  color: var(--muted);
}

.home-footer {
  background: #0c1116;
  color: #f6f5f1;
  padding: 56px 0 28px;
  --ink: #f6f5f1;
  --muted: #b2beca;
  --line: #33414d;
  --hq-ink: #f6f5f1;
  --hq-muted: #b2beca;
  --focus: #ffb36b;
  --accent-text: #ff986d;
}
@media (prefers-color-scheme: light) {
  .home-footer {
    border-top: 1px solid var(--line);
  }
}
.footer-title {
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}
.home-footer .hq-actions {
  margin-top: 22px;
}
.footer-cols {
  display: grid;
  gap: 28px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #33414d;
}
.footer-cols > * {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-cols a,
.footer-cols span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  color: #dbe2e8;
}
.footer-cols span {
  color: #b2beca;
}
.footer-cols a:hover,
.footer-bottom a:hover {
  color: #ff986d;
}
.footer-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff986d;
  margin-bottom: 6px !important;
}
.home-footer .footer-word {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 28vw;
  letter-spacing: -0.075em;
  font-weight: 850;
  line-height: 0.94;
  padding: 40px 0 28px;
  color: #f6f5f1;
}
.home-footer .footer-word .viewfinder {
  margin-top: 0.06em;
  width: 0.3em;
  height: 0.3em;
  color: #ff5a1f;
}
.home-footer .footer-word .viewfinder::after {
  width: 45%;
  height: 45%;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  border-top: 1px solid #33414d;
  padding-top: 18px;
  font-size: 13px;
  color: #b2beca;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.price-asof,
.page-updated {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.home-footer .page-updated {
  margin: 14px 0 0;
  color: #b2beca;
}
.home-footer .hq-mark {
  color: #b2beca;
}

@media (min-width: 640px) {
  .arvio-home .hq-wrap {
    width: calc(100% - 64px);
  }
  .arvio-home .arv-logo .viewfinder {
    display: inline-block;
  }
  .hero-actions .hq-btn {
    flex: 0 0 auto;
  }
  .steps,
  .cover-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps li {
    grid-template-columns: 1fr;
  }
  .step-num {
    grid-row: auto;
  }
  .seg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .price-panel {
    padding: 28px;
  }
  .price-tabs {
    width: fit-content;
    grid-template-columns: repeat(3, auto);
  }
  .price-tabs button {
    padding: 8px 18px;
  }
  .price-cta {
    width: auto;
  }
}
@media (min-width: 900px) {
  .arvio-home .hq-wrap {
    width: min(1200px, calc(100% - 96px));
  }
  .arvio-home .hq-nav {
    min-height: 84px;
    gap: 24px;
  }
  .arvio-home .hq-logo {
    font-size: 30px;
  }
  .arvio-home .hq-nav nav {
    gap: 22px;
  }
  .arvio-home .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .arvio-home .family-menu summary {
    font-size: 13px;
    gap: 10px;
  }
  /* Escritorio: el recorrido ocupa la mitad derecha a sangre y se funde hacia el texto. */
  .home-hero {
    display: flex;
    align-items: center;
    min-height: clamp(580px, 84vh, 780px);
    padding: 64px 0;
    overflow: hidden;
  }
  .hero-copy {
    position: relative;
    z-index: 2;
    max-width: min(560px, 46%);
  }
  /* Velo del color de fondo detrás de la columna de texto, sin borde visible: el 360° sigue
     pasando por detrás del titular, pero tenue, y el texto conserva contraste AA. */
  .hero-copy::before {
    content: "";
    position: absolute;
    inset: -12% -22% -12% -14%;
    z-index: -1;
    background: radial-gradient(
      closest-side,
      color-mix(in srgb, var(--bg) 78%, transparent) 0%,
      color-mix(in srgb, var(--bg) 62%, transparent) 55%,
      transparent 100%
    );
    pointer-events: none;
  }
  .hero-lead {
    font-size: 19px;
  }
  .hero-stage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 64%;
    margin: 0;
  }
  /* Fundido con curva (ease) hacia el texto, corto arriba (≈72 px, contra el header) y largo
     abajo (≈150 px). Las dos máscaras se intersectan, así no queda ningún borde recto. */
  .hero-pano {
    position: absolute;
    inset: 0;
    height: auto;
    --fade-x: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.04) 8%,
      rgba(0, 0, 0, 0.12) 16%,
      rgba(0, 0, 0, 0.26) 24%,
      rgba(0, 0, 0, 0.45) 32%,
      rgba(0, 0, 0, 0.66) 40%,
      rgba(0, 0, 0, 0.84) 48%,
      rgba(0, 0, 0, 0.95) 55%,
      #000 62%
    );
    --fade-y: linear-gradient(
      to bottom,
      transparent 0,
      rgba(0, 0, 0, 0.35) 24px,
      rgba(0, 0, 0, 0.8) 52px,
      #000 72px,
      #000 calc(100% - 150px),
      rgba(0, 0, 0, 0.8) calc(100% - 110px),
      rgba(0, 0, 0, 0.4) calc(100% - 60px),
      rgba(0, 0, 0, 0.12) calc(100% - 24px),
      transparent 100%
    );
    -webkit-mask-image: var(--fade-x), var(--fade-y);
    -webkit-mask-composite: source-in;
    mask-image: var(--fade-x), var(--fade-y);
    mask-composite: intersect;
  }
  /* La parte más desvanecida es de la página: el cursor no llega al visor ahí, así no aparecen
     su pastilla con el nombre del área ni el aro del cursor dentro del fundido. */
  .hero-stage::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 30%;
    height: auto;
  }
  .hero-stage::after {
    display: none;
  }
  /* Leyenda alineada al margen del contenedor del sitio (min(1200px, 100% - 96px)), en la zona
     ya desvanecida de abajo. Si no cabe, el enlace pasa a una segunda línea. */
  .hero-line {
    position: absolute;
    left: 34%;
    right: max(48px, calc(78.125% - 600px));
    bottom: 22px;
    width: auto;
    margin: 0 !important;
    justify-content: flex-end;
    gap: 0 18px;
    color: var(--ink);
    text-align: right;
    /* Halo del color de fondo: la línea se lee aunque la foto sea clara en ese borde. */
    text-shadow: 0 0 6px var(--bg), 0 0 12px var(--bg), 0 0 18px var(--bg);
  }
  .home-section {
    padding: 96px 0;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .diff-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .cover-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .seg-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .own-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }
  .price-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 56px;
    align-items: start;
  }
  .price-tabs {
    margin-top: 0;
  }
  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }
  .home-footer .footer-word {
    font-size: clamp(110px, 24vw, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .seg-demo img {
    transition: none;
    transform: none !important;
  }
  .arvio-home .shine {
    animation: none;
    background: none;
    color: var(--accent-strong);
    -webkit-text-fill-color: currentColor;
  }
}
