/* =========================================================
   LANDING — Pixel Lab Studio / Invitaciones Digitales
   ========================================================= */

:root {
    --pl-base: #000D29;
    --pl-base-oscuro: #000817;
    --pl-secundario: #132536;
    --pl-azul: #3766B1;
    --pl-cian: #15C1F2;
    --pl-magenta: #EE458F;
    --pl-gris: #DDE1E4;
    --pl-blanco: #FFFFFF;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--pl-base);
    color: var(--pl-gris);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: "Space Grotesk", Arial, sans-serif;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.15;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.pl-contenedor {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}


/* =========================
   ANIMACIÓN DE ENTRADA
   ========================= */

.pl-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.pl-reveal.pl-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pl-flotar {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(4deg); }
}

@keyframes pl-pulso {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes pl-brillo {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* =========================
   BARRA SUPERIOR
   ========================= */

.pl-barra {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(0, 13, 41, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pl-barra__marca {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pl-barra__marca img {
    height: 34px;
    width: 34px;
}

.pl-barra__marca span {
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: #fff;
}

.pl-barra__marca b {
    color: var(--pl-cian);
}

.pl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pl-btn:hover {
    transform: translateY(-2px);
}

.pl-btn--whatsapp {
    background: linear-gradient(90deg, #15C1F2, #3766B1);
    color: #fff;
    box-shadow: 0 10px 24px rgba(21, 193, 242, 0.25);
}

.pl-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.pl-btn--ghost:hover {
    border-color: var(--pl-cian);
}

.pl-btn--chico {
    padding: 8px 16px;
    font-size: 0.78rem;
}


/* =========================
   HERO
   ========================= */

.pl-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 900px 700px at 85% 10%, rgba(55,102,177,0.35), transparent 60%),
        radial-gradient(ellipse 800px 800px at 10% 90%, rgba(238,69,143,0.18), transparent 55%),
        linear-gradient(160deg, #000D29 0%, #0b1a35 55%, #132536 100%);
}

.pl-hero__fondo-foto {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.22;
}

.pl-hero__fondo-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.pl-hero__eyebrow {
    display: inline-block;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pl-cian);
    margin-bottom: 18px;
}

.pl-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 20px;
}

.pl-hero h1 span {
    background: linear-gradient(90deg, var(--pl-cian), var(--pl-magenta), var(--pl-cian));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pl-brillo 6s ease infinite;
}

.pl-hero__texto {
    font-size: 1.08rem;
    color: var(--pl-gris);
    max-width: 480px;
    margin-bottom: 34px;
}

.pl-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 42px;
}

.pl-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pl-chip {
    font-size: 0.78rem;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--pl-gris);
}

.pl-hero__visual {
    position: relative;
}

.pl-hero__tarjeta {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.12);
    aspect-ratio: 4 / 5;
}

.pl-hero__tarjeta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-hero__flotante {
    position: absolute;
    background: rgba(13, 24, 48, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: pl-flotar 5s ease-in-out infinite;
}

.pl-hero__flotante--1 {
    top: -24px;
    left: -30px;
    animation-delay: 0.2s;
}

.pl-hero__flotante--2 {
    bottom: -20px;
    right: -26px;
    animation-delay: 1.4s;
}

.pl-hero__flotante .pl-check {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pl-cian);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #001;
    font-weight: 700;
}

.pl-hero__flotante strong {
    display: block;
    font-size: 0.85rem;
    color: #fff;
}

.pl-hero__flotante small {
    color: var(--pl-gris);
    font-size: 0.72rem;
}

.pl-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--pl-gris);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
}

.pl-scroll-hint span {
    width: 1px;
    height: 34px;
    background: linear-gradient(var(--pl-cian), transparent);
    animation: pl-pulso 2s ease infinite;
}


/* =========================
   SECCIONES GENERALES
   ========================= */

.pl-seccion {
    padding: 100px 0;
    position: relative;
}

.pl-seccion--alterna {
    background: var(--pl-secundario);
}

.pl-encabezado-seccion {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.pl-eyebrow {
    display: inline-block;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pl-magenta);
    margin-bottom: 14px;
}

.pl-encabezado-seccion p {
    color: var(--pl-gris);
    font-size: 1.02rem;
}


/* =========================
   FEATURES
   ========================= */

.pl-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pl-feature {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 26px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.pl-feature:hover {
    transform: translateY(-6px);
    border-color: var(--pl-cian);
}

.pl-feature__icono {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--pl-cian), var(--pl-azul));
}

.pl-feature__icono svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.pl-feature h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.pl-feature p {
    color: var(--pl-gris);
    font-size: 0.92rem;
    margin: 0;
}


/* =========================
   GALERÍA DE MOMENTOS (fotos reales)
   ========================= */

.pl-galeria-fotos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.pl-galeria-fotos figure {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.pl-galeria-fotos figure.pl-alta {
    grid-row: span 2;
}

.pl-galeria-fotos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pl-galeria-fotos figure:hover img {
    transform: scale(1.06);
}

.pl-galeria-fotos figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
}


/* =========================
   PASOS / CÓMO FUNCIONA
   ========================= */

.pl-pasos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    counter-reset: paso;
}

.pl-paso {
    position: relative;
    padding-left: 54px;
}

.pl-paso::before {
    counter-increment: paso;
    content: counter(paso);
    position: absolute;
    left: 0; top: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--pl-magenta);
    color: #fff;
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pl-paso h3 {
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.pl-paso p {
    color: var(--pl-gris);
    font-size: 0.9rem;
    margin: 0;
}


/* =========================
   CTA FINAL
   ========================= */

.pl-cta-final {
    text-align: center;
    padding: 110px 0;
    position: relative;
    background:
        radial-gradient(ellipse 700px 500px at 50% 0%, rgba(238,69,143,0.22), transparent 60%),
        linear-gradient(180deg, #000D29, #000817);
}

.pl-cta-final h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    max-width: 640px;
    margin: 0 auto 18px;
}

.pl-cta-final p {
    color: var(--pl-gris);
    max-width: 480px;
    margin: 0 auto 36px;
}

.pl-cta-final .pl-btn {
    padding: 16px 34px;
    font-size: 1rem;
}


/* =========================
   FOOTER
   ========================= */

.pl-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 0.82rem;
    color: var(--pl-gris);
}

.pl-footer img {
    height: 28px;
    width: 28px;
    margin: 0 auto 10px;
}


/* =========================
   WHATSAPP FLOTANTE
   ========================= */

.pl-flotante-whatsapp {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 60;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #15C1F2, #3766B1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(21,193,242,0.4);
    animation: pl-flotar 4s ease-in-out infinite;
}

.pl-flotante-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 920px) {
    .pl-hero__grid {
        grid-template-columns: 1fr;
    }
    .pl-hero__visual {
        order: -1;
        max-width: 320px;
        margin: 0 auto 20px;
    }
    .pl-features,
    .pl-pasos {
        grid-template-columns: 1fr;
    }
    .pl-galeria-fotos {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
    .pl-galeria-fotos figure.pl-alta {
        grid-row: span 1;
    }
    .pl-hero__flotante {
        display: none;
    }
}

@media (max-width: 560px) {
    .pl-barra__marca span { display: none; }
    .pl-hero { padding-top: 110px; }
    .pl-seccion { padding: 70px 0; }
}
