/* ═══════════════════════════════════════════════════════════════
   La Vistule — front page service chooser (front-page.php)
   Loaded on the front page only, on top of theme.css.
   ═══════════════════════════════════════════════════════════════ */

.lv-chooser-page{background:var(--green-800);color:var(--cream)}

.lv-chooser{
  position:relative;display:flex;
  min-height:100vh;min-height:100svh;
  overflow:hidden;
}

/* ── Logo strip ─────────────────────────────────────────────── */
.lv-chooser__top{
  position:absolute;inset:0 0 auto;z-index:3;
  display:flex;flex-direction:column;align-items:center;
  padding:clamp(1.5rem,3.5vw,2.75rem) 1rem 0;
  text-align:center;pointer-events:none;
}
.lv-chooser__top a{pointer-events:auto}
.lv-chooser__logo{display:block;border-radius:6px}
.lv-chooser__logo img{width:clamp(180px,17vw,250px);height:auto}
.lv-chooser__title{
  margin-top:.9rem;
  font-family:var(--font);font-size:.75rem;font-weight:500;line-height:1.4;
  letter-spacing:.22em;text-transform:uppercase;
  color:rgba(246,243,236,.8);
}
.lv-chooser__call{display:none}

/* ── Halves ─────────────────────────────────────────────────── */
.lv-chooser__half{
  position:relative;isolation:isolate;overflow:hidden;
  flex:1 1 0;min-width:0;
  display:flex;align-items:center;justify-content:center;
  padding:10rem clamp(1.5rem,5vw,4.5rem) 7rem;
  transition:flex-grow .7s var(--ease);
}
.lv-chooser__half--transfers{
  background:radial-gradient(120% 90% at 25% 15%,#0A6A4B 0%,#00573D 50%,#004A34 100%);
}
.lv-chooser__half--courier{
  background:radial-gradient(120% 90% at 75% 15%,#00573D 0%,#00452F 55%,#003526 100%);
}
/* Gold hairline between the halves. */
.lv-chooser__half--courier::before{
  content:"";position:absolute;z-index:1;left:0;top:14%;bottom:14%;width:1px;
  background:linear-gradient(transparent,var(--gold-500) 30%,var(--gold-500) 70%,transparent);
  opacity:.55;
}

.lv-chooser__art{
  position:absolute;inset:0;z-index:-1;
  transition:transform 1.4s var(--ease),opacity .6s var(--ease);
}
.lv-chooser__art svg{width:100%;height:100%;display:block}
.lv-chooser__art--route{display:flex;align-items:center;justify-content:center;opacity:.28}
.lv-chooser__art--route svg{width:125%;max-width:none;height:auto;flex:none;transform:translateY(6%)}

.lv-route-ab__letter{font-family:var(--font-serif);font-weight:600;font-size:22px;fill:#F6F3EC}

.lv-chooser__body{max-width:36rem;text-align:center} /* not positioned: the CTA overlay must reach the half */
.lv-chooser__heading{
  font-family:var(--font-serif);font-weight:600;
  font-size:clamp(2.75rem,5.2vw,4.75rem);line-height:1;letter-spacing:0;
  color:#fff;
}
.lv-chooser__rule{
  display:block;width:64px;height:2px;margin:1.35rem auto 0;
  background:var(--gold-gradient);border-radius:2px;
  transition:width .6s var(--ease);
}
.lv-chooser__text{
  margin:1.1rem auto 1.9rem;max-width:30ch;
  font-size:var(--step-1);line-height:1.5;color:rgba(246,243,236,.88);
}

/* The button's ::after covers the whole half, making the panel one link.
   It must never gain a transform, or the overlay would shrink to the button. */
.lv-chooser__cta{position:static}
.lv-chooser__cta::after{content:"";position:absolute;inset:0;z-index:1}
.lv-chooser__cta:hover,.lv-chooser__cta:active{transform:none}
.lv-chooser__cta .lv-icon{transition:transform .3s var(--ease)}
.lv-chooser__cta:focus-visible{outline:3px solid #fff;outline-offset:4px;border-radius:var(--r-pill)}

/* ── Contact strip ──────────────────────────────────────────── */
.lv-chooser__bar{
  position:absolute;inset:auto 0 0;z-index:3;
  display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 2rem;
  padding:1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  pointer-events:none;
}
.lv-chooser__bar a{
  pointer-events:auto;display:inline-flex;align-items:center;gap:.5rem;
  padding:.4rem .2rem;font-size:.9375rem;font-weight:500;color:var(--cream);
  text-decoration:underline;text-decoration-color:rgba(205,176,112,.5);text-underline-offset:4px;
}
.lv-chooser__bar a:hover{text-decoration-color:var(--gold-400)}
.lv-chooser__bar .lv-icon{color:var(--gold-400)}
.lv-chooser :focus-visible{outline-color:#fff}

/* ── Hover: the chosen half widens, its artwork drifts closer ─ */
@media (hover:hover) and (min-width:900px){
  .lv-chooser__half:hover,.lv-chooser__half:focus-within{flex-grow:1.2}
  .lv-chooser__half:hover .lv-chooser__art,
  .lv-chooser__half:focus-within .lv-chooser__art{transform:scale(1.05)}
  .lv-chooser__half:hover .lv-chooser__art--route,
  .lv-chooser__half:focus-within .lv-chooser__art--route{opacity:.4}
  .lv-chooser__half:hover .lv-chooser__rule{width:110px}
  .lv-chooser__half:hover .lv-chooser__cta{background:var(--gold-400)}
  .lv-chooser__half:hover .lv-chooser__cta .lv-icon{transform:translateX(4px)}
}

/* ── Mobile: stacked, about half the screen each ────────────── */
@media (max-width:899px){
  .lv-chooser{flex-direction:column}
  .lv-chooser__top{flex-direction:row;justify-content:space-between;align-items:center;padding:1rem 1rem 0 1.25rem;text-align:left}
  .lv-chooser__logo img{width:150px}
  .lv-chooser__title{
    position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0;
  }
  .lv-chooser__call{
    display:inline-flex;align-items:center;justify-content:center;
    width:44px;height:44px;border-radius:50%;
    background:rgba(246,243,236,.1);color:var(--gold-400);
    border:1px solid rgba(205,176,112,.45);
  }
  .lv-chooser__half{
    flex:none;min-height:50vh;min-height:50svh;
    padding:4.5rem 1.5rem 2.25rem;
  }
  .lv-chooser__half--courier{padding-top:2.25rem;padding-bottom:5.5rem}
  .lv-chooser__half--courier::before{
    left:12%;right:12%;top:0;bottom:auto;width:auto;height:1px;
    background:linear-gradient(90deg,transparent,var(--gold-500) 30%,var(--gold-500) 70%,transparent);
  }
  .lv-chooser__heading{font-size:clamp(2.4rem,11vw,3.25rem)}
  .lv-chooser__rule{margin-top:1rem}
  .lv-chooser__text{margin:.8rem auto 1.25rem;font-size:var(--step-0)}
  .lv-chooser__art--route{opacity:.24}
  .lv-chooser__art--route svg{width:140%}
  .lv-chooser__bar{gap:.25rem 1.25rem;padding-bottom:calc(.9rem + env(safe-area-inset-bottom))}
  .lv-chooser__bar a{font-size:.875rem}
}

@media (prefers-reduced-motion:reduce){
  .lv-chooser__half,.lv-chooser__art,.lv-chooser__rule,.lv-chooser__cta .lv-icon{transition:none}
}
