/* ==================== */
/* Landing: stands a medida para La Rural */
/* Reutiliza general_style.css (header, hero, footer), cta.css y lead-form.css */
/* ==================== */

/* Header: logo (vuelve al sitio principal), menú de secciones y botón de cotizar */
.lp-header .logo {
    display: block;
    line-height: 0;
}

.lp-header .lp-mobile-cta {
    padding: 10px 16px;
    font-size: 14px;
}


/* Portada */
.lp-hero .hero-h1-lead {
    font-size: clamp(34px, 3.6vw, 54px);
}


/* Secciones */
.lp-section {
    min-height: auto;
    padding: 80px 0;
    scroll-margin-top: 72px;
}

section.quote {
    scroll-margin-top: 72px;
}

.lp-section h2 {
    max-width: 720px;
    margin: 10px 0 14px;
    font-size: clamp(24px, 2.4vw, 36px);
    line-height: 1.25;
    color: var(--color1);
    text-wrap: balance;
}

.lp-section .lp-lead {
    max-width: 640px;
    margin: 0;
    font-weight: 300;
    line-height: 1.55;
}

.lp-section .cta-band {
    margin-top: 56px;
}


/* Stands que hicimos en La Rural */
.lp-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.lp-projects .project-card {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.lp-projects .pc-img {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.lp-projects .pc-img img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    transition: transform .4s;
}

.lp-projects .pc-img::after {
    content: "Ver fotos";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 30, 66, .5);
    color: white;
    font-family: var(--font2);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity .3s;
}

.lp-projects .project-card:hover .pc-img img,
.lp-projects .project-card:focus-visible .pc-img img {
    transform: scale(1.04);
}

.lp-projects .project-card:hover .pc-img::after,
.lp-projects .project-card:focus-visible .pc-img::after {
    opacity: 1;
}

.lp-projects .pc-title {
    margin: 14px 0 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.lp-projects .pc-meta {
    margin: 0;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.35;
}


/* Cómo trabajamos */
.lp-include {
    background: #f5f5f5;
}

.lp-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.lp-path {
    padding: 32px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 40px rgba(4, 30, 66, .06);
}

.lp-path .lp-tag {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef2f8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.lp-path h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
    color: var(--color1);
}

.lp-path p:last-child {
    margin: 0;
    font-weight: 300;
    line-height: 1.55;
}

.lp-services {
    margin-top: 36px;
}

.lp-services .lp-services-title {
    margin: 0 0 14px;
    font-weight: 700;
}

.lp-service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-service-list li {
    padding: 9px 16px;
    border: 1px solid #c9cfd8;
    border-radius: 999px;
    background: white;
    font-size: 15px;
    line-height: 1.2;
}

.lp-include .lp-note {
    max-width: 720px;
    margin: 22px 0 0;
    font-weight: 300;
    line-height: 1.55;
}

.lp-include .btn.cta {
    margin-top: 30px;
}


/* Testimonios y clientes */
.lp-testimonials .lp-quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.lp-testimonials .lp-quote {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 32px;
    border-radius: 25px;
    background: #002B5C;
    color: white;
}

.lp-testimonials .lp-quote p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: white;
}

.lp-testimonials .lp-quote .lp-author {
    font-weight: 700;
}

.lp-clients {
    margin-top: 56px;
}

.lp-clients .lp-clients-title {
    margin: 0 0 22px;
    font-size: 20px;
}

/* Los archivos de logos son de 220x183 con margen interno: se muestran a todo el ancho de su celda */
.lp-logo-row {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: center;
    gap: 4px 16px;
    padding: 12px 24px;
    border-radius: 14px;
    background: #f5f5f5;
}

.lp-logo-row img {
    display: block;
    width: 100%;
    height: auto;
}


@media (max-width: 1099px) {
    .lp-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .lp-section {
        padding: 56px 0;
    }

    .lp-section .cta-band {
        margin-top: 40px;
    }

    /* Proyectos: se deslizan de costado */
    .lp-grid {
        display: flex;
        gap: 14px;
        margin: 28px -20px 0;
        padding: 0 20px 6px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .lp-grid::-webkit-scrollbar {
        display: none;
    }

    .lp-projects .project-card {
        flex: 0 0 68%;
        scroll-snap-align: start;
    }

    .lp-projects .pc-img::after {
        content: "";
    }

    .lp-paths,
    .lp-testimonials .lp-quotes {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lp-path,
    .lp-testimonials .lp-quote {
        padding: 24px 22px;
    }

    .lp-clients {
        margin-top: 40px;
    }

    .lp-logo-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0 8px;
        padding: 10px 12px;
    }
}
