/* ===========================================================================
   app/pages/public/landing-scrolly.css — landing-ONLY styles.

   Requires landing-kit.css to be linked FIRST (see landing.html head_extra):
   the shared marketing language — eyebrow, buttons, phone + mock screens,
   capability strip, story board, CTA band — all lives in the kit and is
   shared with /tour and /planes. What's left here is the hero and its laptop.

   The old pinned "Funciones" coverflow (.land-features / .feat-* / .fp-*) was
   removed when Funciones and Cómo funciona merged into one section; the four
   features now live in the kit's .land-caps strip.
   =========================================================================== */

/* ——— Hero ——— */
.land-hero {
  position: relative;
  min-height: calc(100svh - var(--land-header-h));
  display: grid;
  align-items: center;
  background: linear-gradient(120deg, #0b1220 0%, #1e293b 50%, #172554 100%);
  color: #fff;
  overflow: hidden;
  padding: 3rem 0 4rem;
}
.land-hero .land-eyebrow { color: var(--color-accent); }
.land-hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.land-hero__title {
  font-size: clamp(1.65rem, 4.5vw, 2.65rem);
  max-width: 16ch;
  color: #fff;
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.land-hero__lead {
  margin: 0.85rem 0 0;
  color: #94a3b8;
  max-width: 42ch;
  font-size: 1.05rem;
}
.land-hero__meta {
  margin: 0.75rem 0 0;
  color: #94a3b8;
  font-size: 0.85rem;
  max-width: 42ch;
}
.land-hero__ghost {
  color: #fff !important;
  border-color: #ffffff55 !important;
  background: transparent !important;
}
.land-hero__ghost:hover { background: #ffffff1a !important; }

.land-hero__stage {
  perspective: 1200px;
  justify-self: center;
  width: min(100%, 520px);
}
.land-hero__frame {
  transform-origin: center center;
  will-change: transform;
  transform-style: preserve-3d;
}

/* ——— Laptop device ——— */
.land-device--laptop { width: 100%; }
.land-device__bezel {
  background: #111827;
  border-radius: 14px 14px 0 0;
  padding: 12px 12px 10px;
  border: 1px solid #374151;
  border-bottom: none;
  box-shadow: 0 28px 50px -18px rgba(0, 0, 0, 0.55);
}
.land-device__camera {
  width: 6px; height: 6px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: #1f2937;
  box-shadow: inset 0 0 0 1px #4b5563;
}
.land-device__screen {
  border-radius: 4px;
  overflow: hidden;
  background: #0b1220;
  aspect-ratio: 16 / 10;
}
.land-device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.land-device__chin {
  height: 14px;
  background: linear-gradient(180deg, #1f2937, #111827);
  border-left: 1px solid #374151;
  border-right: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: center;
}
.land-device__chin::after {
  content: "";
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: #374151;
}
.land-device__base {
  height: 12px;
  margin: 0 auto;
  width: 68%;
  background: linear-gradient(180deg, #4b5563, #1f2937);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 900px) {
  .land-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .land-hero__stage { justify-self: end; width: min(100%, 560px); }
}

/* ——— Mobile polish (< 768px) ——— */
@media (max-width: 767px) {
  .land-hero {
    min-height: 0;
    padding: 2rem 0 2.5rem;
  }
  .land-hero__inner { gap: 1.75rem; }
  .land-hero__title { max-width: none; font-size: clamp(1.55rem, 7vw, 2rem); }
  .land-hero__lead { font-size: 0.98rem; max-width: none; }
  .land-hero__stage { width: min(100%, 340px); }
}
