/* Vetrina dell'app: schermate originali, cornice del telefono e controlli condivisi. */
body.vexilla-home .vx-app-hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(26px, 4vw, 76px);
  min-height: 650px;
  padding: 68px 5% 72px;
}
body.vexilla-home .vx-app-hero .vx-copy { padding: 0; max-width: 590px; pointer-events: auto; }
body.vexilla-home .vx-app-hero h1 { font-size: clamp(48px, 5.8vw, 86px); line-height: 1.02; }
body.vexilla-home .vx-app-hero .vx-city { opacity: .38; filter: saturate(1.16); animation: none; object-position: center; }
body.vexilla-home .vx-app-hero .vx-shade { background: linear-gradient(90deg, #1c140dfa, #1c140da1), linear-gradient(0deg, #0e0b09, transparent 70%); }
body.vexilla-home .vx-app-hero .vx-copy > p { max-width: 440px; font-size: 16px; }
body.vexilla-home .vx-app-hero .vx-primary { font-size: 14px; }
body.vexilla-home .vx-app-hero .vx-browser { line-height: 1.6; margin-top: 20px; }
.vx-available { display: inline-flex; align-items: center; gap: 9px; font: 500 11px/1.5 'DM Sans', sans-serif; letter-spacing: 1.8px; text-transform: uppercase; color: #f0d38b; margin: 0 0 28px; }
.vx-available::before { content: ''; width: 6px; height: 6px; background: #f5c742; border-radius: 50%; box-shadow: 0 0 0 5px #f5c74212; }
.vx-app-showcase { min-width: 0; position: relative; z-index: 2; margin: 0; padding-top: 14px; }
.vx-app-showcase::before { content: ''; position: absolute; inset: 0 -4% 0; z-index: -1; background: radial-gradient(ellipse, #c8a24a20, transparent 68%); pointer-events: none; }
.vx-phone { position: relative; padding: 11px 28px; background: linear-gradient(140deg, #4f4a44, #0d0b09 18%, #1f1a15 80%, #5e5852); border: 1px solid #9a8f8080; border-radius: 37px; box-shadow: inset 0 0 0 3px #080605, inset 0 0 0 4px #6a625860, 0 38px 65px -25px #000c, 0 0 0 1px #070504; }
.vx-phone::before { content: ''; position: absolute; left: 10px; top: calc(50% - 19px); width: 4px; height: 38px; border-radius: 5px; background: #050403; box-shadow: 0 1px 1px #ffffff20; }
.vx-phone::after { content: ''; position: absolute; top: -4px; right: 21%; width: 54px; height: 3px; border-radius: 3px 3px 0 0; background: #6f6860; }
.vx-phone-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 15px; background: #0b0907; touch-action: pan-y; }
.vx-app-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s; }
.vx-app-slide.is-active { opacity: 1; visibility: visible; }
.vx-app-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.vx-carousel-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin: 24px 4px 0; min-height: 61px; }
.vx-carousel-caption p { margin: 0; font: 500 23px/1.2 'Cormorant Garamond', Georgia, serif; color: #e8dcc8; }
.vx-carousel-caption small { display: block; margin-top: 7px; font: 400 11px/1.5 'DM Sans', sans-serif; letter-spacing: .45px; color: #af9773; }
.vx-carousel-count { padding-top: 4px; white-space: nowrap; font: 400 11px/1.5 'DM Sans', sans-serif; letter-spacing: 2px; color: #c8a24a; }
.vx-carousel-tools { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.vx-carousel-tools[hidden] { display: none; }
.vx-carousel-dots { display: flex; align-items: center; gap: 5px; margin-right: auto; }
.vx-carousel-tools button { border: 1px solid #7a6a4d60; border-radius: 50%; background: #17110dc9; color: #e8dcc8; height: 44px; min-width: 44px; padding: 0; cursor: pointer; display: inline-grid; place-items: center; transition: background .2s, border-color .2s; }
.vx-carousel-tools button:hover { background: #2a2016; border-color: #c8a24a; }
.vx-carousel-tools button:focus-visible { outline: 3px solid #f2d395; outline-offset: 3px; }
.vx-carousel-tools .vx-carousel-dot { border: 0; border-radius: 0; background: transparent; width: 32px; min-width: 32px; }
.vx-carousel-dot::after { content: ''; height: 3px; width: 20px; border-radius: 3px; background: #6b5a40; transition: background .2s; }
.vx-carousel-dot[aria-pressed=true]::after { background: #ecc979; }
.vx-carousel-tools svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.vx-carousel-tools .vx-play-icon { display: none; }
.vx-carousel-tools [aria-pressed=true] .vx-play-icon { display: block; }
.vx-carousel-tools [aria-pressed=true] .vx-pause-icon { display: none; }
.vx-stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
body.vexilla-home .vx-store { display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 65px; padding: 11px 20px; border: 1px solid #b6a486; border-radius: 9px; background: #0a0806; color: #fff; text-decoration: none; font-family: 'DM Sans', sans-serif; line-height: 1.15; box-shadow: 0 8px 24px #0002; }
body.vexilla-home a.vx-store:hover { border-color: #f3d79c; background: #19130d; transform: translateY(-2px); }
.vx-store img { flex: none; width: 30px; height: 34px; object-fit: contain; }
.vx-store small { display: block; font-size: 9px; letter-spacing: .6px; margin-bottom: 4px; text-transform: uppercase; }
.vx-store strong { display: block; font-size: 21px; font-weight: 500; letter-spacing: -.4px; }
body.vexilla-home .vx-store-coming { color: #bcb098; border-color: #5c4d36; background: #17110d; box-shadow: none; }
.vx-store-coming img { opacity: .75; }
body.vexilla-home .vx-download-hero { min-height: 660px; padding-top: 62px; padding-bottom: 64px; }
body.vexilla-home .vx-download-hero h1 { font-size: clamp(48px, 5.5vw, 80px); }
body.vexilla-home .vx-download-hero .vx-eyebrow { margin-bottom: 24px; }
body.vexilla-home .vx-download-hero .vx-copy > p { margin-bottom: 24px; }
.vx-app-benefits { list-style: none; padding: 0; margin: 0 0 29px; color: #ddd0ba; font-size: 13px; display: flex; flex-wrap: wrap; gap: 9px 18px; }
.vx-app-benefits li { display: flex; gap: 7px; align-items: center; }
.vx-app-benefits li::before { content: '✓'; color: #c8a24a; }
body.vexilla-home .vx-app-hero .vx-copy .vx-ios-note { font-size: 12px; line-height: 1.65; color: #b6a486; margin: 16px 0 0; max-width: 390px; }
.vx-returning { max-width: 1380px; margin: 0 auto; padding: 31px 5% 38px; border-top: 1px solid #4d3d2680; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 23px; align-items: center; }
.vx-returning > img { width: 43px; height: 43px; }
body.vexilla-home .vx-returning h2 { font: 500 27px/1.25 'Cormorant Garamond', Georgia, serif; color: #f0d38b; margin: 0 0 6px; }
.vx-returning p { margin: 0; color: #bcad91; font-size: 13px; max-width: 640px; line-height: 1.7; }
.vx-returning a { font-size: 12px; color: #f0d38b; white-space: nowrap; }
.vx-download-footer { padding: 23px 5%; background: #12100a; border-top: 1px solid #4d3d2650; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; font-size: 12px; color: #a8987c; }
.vx-download-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.vx-download-footer a { color: #c4b79f; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
body.vexilla-home .vx-download-header nav > a.vx-back { display: inline-flex; }
@media (min-width: 1700px) { body.vexilla-home .vx-app-hero { padding-inline: max(5%, calc((100vw - 1600px) / 2)); min-height: 730px; } }
@media (max-width: 1050px) {
  body.vexilla-home .vx-app-hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 25px; padding-block: 55px; min-height: 570px; }
  body.vexilla-home .vx-app-hero h1 { font-size: 56px; }
  .vx-phone { padding: 9px 21px; border-radius: 28px; }
  .vx-phone::before { left: 8px; width: 3px; }
  .vx-phone-screen { border-radius: 11px; }
  .vx-carousel-caption p { font-size: 21px; }
}
@media (max-width: 760px) {
  body.vexilla-home .vx-app-hero { grid-template-columns: minmax(0, 1fr); gap: 35px; padding: 42px 7% 38px; }
  body.vexilla-home .vx-app-hero .vx-copy { max-width: 560px; padding: 0; }
  body.vexilla-home .vx-app-hero h1 { font-size: clamp(45px, 8.5vw, 66px); margin-bottom: 20px; }
  body.vexilla-home .vx-app-hero .vx-copy > p { font-size: 14px; max-width: 460px; margin-bottom: 23px; }
  body.vexilla-home .vx-app-hero .vx-city { opacity: .32; }
  body.vexilla-home .vx-app-hero .vx-shade { background: linear-gradient(180deg, #1c140de0, #1c140d80 60%, #0e0b09); }
  .vx-available { margin-bottom: 21px; font-size: 10px; letter-spacing: 1.3px; }
  .vx-app-showcase { max-width: 610px; width: 100%; justify-self: center; padding-top: 0; }
  .vx-carousel-caption { margin-top: 17px; min-height: 53px; }
  .vx-carousel-tools { margin-top: 5px; }
  .vx-returning { grid-template-columns: auto minmax(0,1fr); padding: 27px 7%; gap: 16px; }
  .vx-returning > a { grid-column: 2; }
  body.vexilla-home .vx-returning h2 { font-size: 24px; }
  body.vexilla-home .vx-app-hero .vx-copy .vx-ios-note { font-size: 11px; margin-bottom: 0; }
  .vx-download-footer { padding-inline: 7%; }
}
@media (max-width: 440px) {
  .vx-stores { gap: 9px; }
  body.vexilla-home .vx-store { flex: 1 1 140px; min-height: 61px; padding: 10px 11px; gap: 9px; }
  .vx-store img { width: 23px; height: 29px; }
  .vx-store small { font-size: 8px; letter-spacing: .1px; }
  .vx-store strong { font-size: 18px; }
  .vx-phone { padding: 7px 18px; border-radius: 23px; }
  .vx-phone::before { left: 7px; height: 25px; top: calc(50% - 12px); }
  .vx-phone-screen { border-radius: 8px; }
  .vx-carousel-caption p { font-size: 22px; }
  .vx-carousel-caption small { font-size: 10px; }
  .vx-app-benefits { gap: 8px 14px; font-size: 12px; }
  body.vexilla-home .vx-download-header .vx-brand { letter-spacing: 2px; }
  body.vexilla-home .vx-download-header nav { gap: 8px; }
  body.vexilla-home .vx-download-header nav > a.vx-back { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .vx-app-slide, .vx-carousel-tools button, .vx-carousel-dot::after { transition: none; }
  body.vexilla-home a.vx-store:hover { transform: none; }
}

/* Cinque scene, con controlli accessibili anche sullo schermo più stretto. */
@media (max-width: 440px) {
  .vx-carousel-dots { gap: 0; }
  .vx-carousel-tools .vx-carousel-dot { width: 24px; min-width: 24px; }
  .vx-carousel-dot::after { width: 15px; }
  .vx-carousel-tools { gap: 6px; }
}
@media (max-width: 360px) {
  .vx-carousel-tools { gap: 3px; }
}
