/* inicio.css — página principal pública de PSK Racing.
   Estética oscura y premium, con carácter de taller. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, sans-serif;
    background: #141414;
    color: #e8e8e8;
    line-height: 1.5;
}
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Botones ---------- */
.lp-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 24px; border-radius: 9px; font-size: 15px; font-weight: 700;
    color: #fff; background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: 2px solid transparent; cursor: pointer; transition: filter .15s ease;
}
.lp-btn:hover { filter: brightness(1.1); color: #fff; }
.lp-btn-line { background: transparent; border-color: #ff6b35; color: #ff8c42; }
.lp-btn-line:hover { background: rgba(255,107,53,.12); color: #ff8c42; }
.lp-btn-sm { padding: 8px 15px; font-size: 13px; }

/* ---------- Navegación ---------- */
.lp-nav {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 28px; background: rgba(20,20,20,.96);
    border-bottom: 2px solid #ff6b35;
}
.lp-nav-logo img { height: 44px; }
.lp-nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.lp-nav-links a { color: #ccc; font-size: 14px; font-weight: 600; }
.lp-nav-links a:hover { color: #ff8c42; }
.lp-nav-links a.lp-btn { color: #fff; }

/* ---------- Hero ---------- */
.lp-hero {
    position: relative; text-align: center; padding: 90px 20px 100px;
    background: linear-gradient(rgba(15,15,15,.78), rgba(15,15,15,.93)),
                url('../img/fotos/login.jpeg') center/cover no-repeat, #141414;
}
.lp-hero-inner { max-width: 680px; margin: 0 auto; }
.lp-hero-logo { height: 110px; margin: 0 auto 18px; }
.lp-hero h1 {
    font-size: 52px; font-weight: 800; color: #fff;
    letter-spacing: 1px; text-transform: uppercase;
}
.lp-lema {
    color: #ff8c42; font-size: 17px; font-weight: 700; margin-top: 6px;
    text-transform: uppercase; letter-spacing: 2px;
}
.lp-hero-txt { color: #bbb; font-size: 16px; margin: 16px auto 26px; max-width: 520px; }
.lp-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Secciones ---------- */
.lp-sec { padding: 64px 20px; }
.lp-sec-alt { background: #1a1a1a; }
.lp-wrap { max-width: 1100px; margin: 0 auto; }
.lp-sec-titulo { font-size: 30px; color: #fff; font-weight: 800; text-align: center; }
.lp-sec-titulo::after {
    content: ""; display: block; width: 54px; height: 3px;
    background: #ff6b35; margin: 12px auto 0; border-radius: 2px;
}
.lp-sec-sub { text-align: center; color: #999; font-size: 15px; margin: 10px 0 32px; }
.lp-sec-cta { text-align: center; margin-top: 30px; }
.lp-vacio { text-align: center; color: #888; padding: 24px; }

/* ---------- Grilla de tarjetas ---------- */
.lp-grid {
    display: grid; gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.lp-card {
    background: #1f1f1f; border: 1px solid #2e2e2e; border-radius: 14px;
    overflow: hidden; transition: transform .15s ease, border-color .15s ease;
}
.lp-card:hover { transform: translateY(-4px); border-color: #ff6b35; }
.lp-card-foto { height: 180px; background: #161616; }
.lp-card-foto img { width: 100%; height: 100%; object-fit: cover; }
.lp-card-noimg {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #3a3a3a; font-size: 52px;
}
.lp-card-body { padding: 14px 16px 18px; }
.lp-card-cat {
    font-size: 11px; color: #ff8c42; font-weight: 700;
    text-transform: uppercase; letter-spacing: .6px;
}
.lp-card-nom { font-size: 16px; color: #fff; font-weight: 700; margin: 4px 0 8px; }
.lp-card-precio { font-size: 18px; color: #ff8c42; font-weight: 800; }

/* ---------- Galería ---------- */
.lp-galeria {
    display: grid; gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.lp-gal-item { position: relative; border-radius: 10px; overflow: hidden; }
.lp-gal-item img { width: 100%; height: 200px; object-fit: cover; }
.lp-gal-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    color: #fff; font-size: 13px; padding: 22px 12px 10px;
}

/* ---------- Contacto ---------- */
.lp-contacto-grid {
    display: grid; gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.lp-contacto-item {
    background: #1f1f1f; border: 1px solid #2e2e2e; border-radius: 12px;
    padding: 22px 18px; text-align: center; color: #e8e8e8;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
a.lp-contacto-item:hover { border-color: #ff6b35; }
.lp-contacto-item i { font-size: 30px; color: #ff8c42; margin-bottom: 4px; }
.lp-ci-tit { font-weight: 700; color: #fff; }
.lp-ci-dato { color: #aaa; font-size: 14px; }

/* ---------- Footer ---------- */
.lp-foot {
    background: #0e0e0e; border-top: 1px solid #2a2a2a;
    padding: 30px 20px; text-align: center; color: #888; font-size: 14px;
}
.lp-foot strong { color: #fff; }
.lp-foot-links { margin: 10px 0; }
.lp-foot-links a { color: #ff8c42; }
.lp-foot-copy { color: #555; font-size: 12px; margin-top: 6px; }

/* ---------- Buscador de la tienda ---------- */
.lp-buscador { position: relative; max-width: 640px; margin: 0 auto 8px; }
.lp-buscador-ico {
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    color: #ff8c42; font-size: 18px; pointer-events: none;
}
.lp-buscador input {
    width: 100%; padding: 18px 52px; font-family: inherit; font-size: 17px;
    color: #fff; background: #1f1f1f; border: 2px solid #333; border-radius: 12px;
    outline: none; transition: border-color .15s ease, background .15s ease;
}
.lp-buscador input::placeholder { color: #777; }
.lp-buscador input:focus { border-color: #ff6b35; background: #242424; }
#lpBuscarClear {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border: none; border-radius: 50%;
    background: #333; color: #ccc; font-size: 20px; line-height: 1;
    cursor: pointer; transition: background .15s ease, color .15s ease;
}
#lpBuscarClear:hover { background: #ff6b35; color: #fff; }
.lp-buscar-estado {
    text-align: center; color: #aaa; font-size: 14px;
    min-height: 20px; margin: 10px 0 22px;
}
.lp-bloque-tit { color: #fff; font-size: 18px; font-weight: 700; margin: 6px 0 16px; }
.lp-bloque-tit i { color: #ff8c42; margin-right: 6px; }

/* ---------- Card de producto: botón de WhatsApp ---------- */
.lp-card-prod .lp-card-body { display: flex; flex-direction: column; }
.lp-card-prod .lp-card-precio { margin-top: 2px; }
.lp-card-wa {
    margin-top: 11px; display: inline-flex; align-items: center; justify-content: center;
    gap: 7px; padding: 9px 12px; border-radius: 8px; font-size: 13px; font-weight: 700;
    color: #fff; background: #25d366; transition: filter .15s ease;
}
.lp-card-wa:hover { filter: brightness(1.12); color: #fff; }

/* ---------- Banners / servicios ---------- */
.lp-banners { display: flex; flex-direction: column; gap: 20px; }
.lp-banner {
    display: flex; background: #1f1f1f; border: 1px solid #2e2e2e;
    border-radius: 14px; overflow: hidden; transition: border-color .15s ease;
}
.lp-banner:hover { border-color: #ff6b35; }
.lp-banner-foto { flex: 0 0 38%; background: #161616; }
.lp-banner-foto img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; }
.lp-banner-info {
    flex: 1; padding: 26px 30px; display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center; gap: 11px;
}
.lp-banner-info h3 { color: #fff; font-size: 22px; font-weight: 800; }
.lp-banner-info p { color: #bbb; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .lp-nav { padding: 10px 16px; }
    .lp-nav-links { gap: 12px; }
    .lp-hero { padding: 60px 16px 70px; }
    .lp-hero h1 { font-size: 36px; }
    .lp-sec { padding: 48px 16px; }
    .lp-sec-titulo { font-size: 24px; }
    .lp-buscador input { font-size: 15px; padding: 15px 48px; }
    .lp-banner { flex-direction: column; }
    .lp-banner-foto { flex-basis: auto; }
    .lp-banner-foto img { min-height: 180px; max-height: 230px; }
    .lp-banner-info { padding: 22px; }
    .lp-banner-info h3 { font-size: 19px; }
}
