/* ==========================================================================
   Landing Prop360 para Agencias  —  /prop360  y  /prop360/{agencia}
   Hoja autocontenida: la landing no carga Bootstrap, Font Awesome ni los
   estilos globales del sitio, asi que aqui va tambien el reset minimo.
   ========================================================================== */

:root {
    --teal: #1E9C93;
    --teal-dark: #146860;
    --teal-soft: #E4F4F2;
    --coral: #E2664A;
    --coral-soft: #FCEAE5;
    --mauve: #BD5A93;
    --mauve-dark: #9C4779;
    --navy: #1B2530;
    --navy-soft: #26323F;
    --navy-text: #AEB7C2;
    --ink: #262A31;
    --muted: #6B7280;
    --muted-soft: #9AA1AB;
    --bg-soft: #F4F6F8;
    --white: #FFFFFF;
    --border: #E6E9ED;
    --error: #B40101;
    --ok: #009900;

    /* Ancho maximo del contenido. Los fondos de seccion siguen ocupando todo el
       ancho de la pantalla; solo el contenido se limita y se centra. */
    --contenido-max: 1280px;
    --gutter-base: 96px;
    --gutter: max(var(--gutter-base), calc((100vw - var(--contenido-max)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }

body.lp360 {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.lp360 h1, .lp360 h2, .lp360 h3 {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    margin: 0;
}

.lp360 p { margin: 0; }
.lp360 img { max-width: 100%; }

.lp360 a { color: var(--teal); text-decoration: none; }
.lp360 a:hover, .lp360 a:focus { color: var(--teal-dark); text-decoration: none; }

/* Botones y lineas de contacto tambien se usan como <a>, y ".lp360 a" (0,1,1) le gana
   a una clase suelta (0,1,0): aqui se reafirma el color con la especificidad necesaria. */
.lp360 a.lp-btn-primary { color: var(--white); }
.lp360 a.lp-btn-ghost { color: var(--teal-dark); }
.lp360 a.lp-contacto-linea,
.lp360 a.lp-nav__fono { color: var(--muted); }
.lp360 a.lp-contacto-linea:hover,
.lp360 a.lp-nav__fono:hover { color: var(--ink); }

.lp-section { padding: 96px var(--gutter); }

/* --- Piezas reutilizadas ------------------------------------------------- */

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--coral);
}

.lp-eyebrow--pill {
    background: var(--coral-soft);
    padding: 7px 14px;
    border-radius: 999px;
    width: fit-content;
}

.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--mauve);
    color: var(--white);
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 32px;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 24px -8px rgba(189, 90, 147, .55);
    cursor: pointer;
    transition: background .18s ease, box-shadow .18s ease;
}

.lp-btn-primary:hover, .lp-btn-primary:focus { background: var(--mauve-dark); color: var(--white); }
.lp-btn-primary { text-align: center; }
.lp-btn-primary[disabled] { background: var(--muted-soft); box-shadow: none; cursor: default; }

.lp-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--teal);
    color: var(--teal-dark);
    font-weight: 700;
    font-size: 14px;
    padding: 11px 22px;
    border-radius: 999px;
}

.lp-btn-ghost:hover, .lp-btn-ghost:focus { background: var(--teal-soft); color: var(--teal-dark); }

.lp-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 20px 40px -24px rgba(20, 30, 45, .25);
}

.lp-contacto-linea {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

/* --- Nav ----------------------------------------------------------------- */

.lp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gutter);
    height: 96px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    position: relative;
    z-index: 5;
}

.lp-nav__logo { width: 200px; height: auto; display: block; }
.lp-nav__acciones { display: flex; align-items: center; gap: 28px; }

.lp-nav__fono {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

/* --- Hero ---------------------------------------------------------------- */

.lp-hero {
    position: relative;
    padding: 64px var(--gutter) 80px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 56px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FA 100%);
    overflow: hidden;
}

.lp-hero__blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.lp-hero__blob--azul {
    right: -120px;
    top: -80px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle at 30% 30%, rgba(78, 143, 219, .18), rgba(78, 143, 219, 0) 70%);
}

.lp-hero__blob--verde {
    left: 60%;
    bottom: -140px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 60% 40%, rgba(30, 156, 147, .16), rgba(30, 156, 147, 0) 70%);
}

.lp-hero__texto {
    position: relative;
    flex: 1;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 12px;
}

.lp-hero__titulo { font-size: 44px; line-height: 1.14; font-weight: 700; }
.lp-hero__titulo .lp-destaca-coral { color: var(--coral); }
.lp-hero__titulo .lp-destaca-teal { color: var(--teal); }

.lp-hero__bajada { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 620px; }

/* A quien le sirve Prop360 y aclaracion de que los portales se contratan aparte */
.lp-hero__publico {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 620px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--teal-soft);
    border: 1px solid #CBE9E5;
}

.lp-hero__publico-titulo { display: flex; align-items: flex-start; gap: 10px; }
.lp-hero__publico-titulo svg { flex-shrink: 0; margin-top: 1px; }
.lp-hero__publico-titulo span { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--teal-dark); }
.lp-hero__publico p { font-size: 12.5px; line-height: 1.5; color: var(--muted); padding-left: 28px; }

.lp-hero__prueba { display: flex; align-items: center; gap: 10px; }
.lp-hero__prueba span { font-size: 14px; font-weight: 700; color: var(--ink); }

.lp-hero__datos { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

/* --- Formulario ---------------------------------------------------------- */

.lp-form {
    position: relative;
    flex: 1;
    max-width: 440px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-form__cuerpo,
.lp-form__cuerpo form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-form__titulo { font-size: 21px; font-weight: 700; line-height: 1.3; }

.lp-campo { display: flex; flex-direction: column; gap: 6px; }
.lp-campo--fila { display: flex; flex-direction: row; gap: 16px; }
.lp-campo--fila > .lp-campo { flex: 1; min-width: 0; }

.lp-campo label { font-size: 13px; font-weight: 700; color: var(--muted); }

.lp-campo input,
.lp-campo select {
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1.5px solid var(--border);
    border-radius: 0;
    padding: 8px 0;
    width: 100%;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .18s ease;
}

.lp-campo select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239AA1AB' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    padding-right: 22px;
    cursor: pointer;
}

.lp-campo input::placeholder { color: var(--muted-soft); }
.lp-campo input:focus, .lp-campo select:focus { border-bottom-color: var(--teal); }
.lp-campo.is-error input, .lp-campo.is-error select { border-bottom-color: var(--error); }

.lp-campo__error { display: none; font-size: 12px; font-weight: 600; color: var(--error); }
.lp-campo.is-error .lp-campo__error { display: block; }

/* Grupo de checkboxes (portales). Van dentro de .lp-campo, asi que hay que deshacer
   lo que ".lp-campo input" y ".lp-campo label" les aplican a los campos de texto. */
.lp-campo--grupo { gap: 10px; }
.lp-campo__rotulo { font-size: 13px; font-weight: 700; color: var(--muted); }

.lp-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

.lp-campo label.lp-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.lp-campo .lp-check input {
    appearance: auto;
    -webkit-appearance: auto;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    flex-shrink: 0;
    accent-color: var(--teal);
    cursor: pointer;
}

.lp-campo label.lp-check--ninguno {
    grid-column: 1 / -1;
    margin-top: 2px;
    padding: 8px 10px;
    border: 1px dashed var(--border);
    border-radius: 10px;
}

.lp-campo--grupo.is-error .lp-check--ninguno { border-color: var(--error); }
.lp-campo__ayuda { font-size: 11px; color: var(--muted-soft); }

.lp-form__nota { font-size: 11px; color: var(--muted-soft); text-align: center; }

.lp-form__aviso {
    display: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    border-radius: 12px;
    padding: 12px 14px;
}

.lp-form__aviso.is-error { display: block; background: #FDECEC; color: var(--error); }

/* Estado de exito: reemplaza el formulario dentro de la misma tarjeta */
.lp-form__exito {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 24px 8px;
}

.lp-form__exito h2 { font-size: 21px; font-weight: 700; }
.lp-form__exito p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.lp-form.is-enviado .lp-form__cuerpo { display: none; }
.lp-form.is-enviado .lp-form__exito { display: flex; }

/* Honeypot: invisible para personas, tentador para bots */
.lp-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Franja de portales -------------------------------------------------- */

.lp-portales {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 36px var(--gutter);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lp-portales__texto { display: flex; flex-direction: column; gap: 6px; max-width: 380px; }
.lp-portales__texto p:first-child { font-size: 17px; font-weight: 700; color: var(--ink); }
.lp-portales__texto p:last-child { font-size: 13px; color: var(--muted); }
.lp-portales__texto strong { color: var(--teal-dark); font-weight: 700; }

.lp-portales__marcas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.lp-portales__marcas li {
    list-style: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 18px;
}

.lp-portales__marcas { margin: 0; padding: 0; }
.lp-portales__marcas li:last-child { color: var(--muted-soft); border-style: dashed; }

/* --- Sobre Convecta ------------------------------------------------------ */

.lp-somos { display: flex; gap: 72px; background: var(--bg-soft); align-items: flex-start; }
.lp-somos__texto { flex: 1; max-width: 480px; display: flex; flex-direction: column; gap: 20px; }
.lp-somos__texto h2 { font-size: 34px; font-weight: 700; line-height: 1.2; }
.lp-somos__texto p { font-size: 16px; line-height: 1.75; color: var(--muted); }

.lp-somos__stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.lp-stat { padding: 26px; }
.lp-stat__cifra { font-family: 'Poppins', sans-serif; font-size: 32px; font-weight: 700; display: block; }
.lp-stat__cifra--teal { color: var(--teal-dark); }
.lp-stat__cifra--coral { color: var(--coral); }
.lp-stat__cifra--mauve { color: var(--mauve); }
.lp-stat p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.lp-stat--icono { display: flex; flex-direction: column; gap: 10px; }
.lp-stat--icono p { margin-top: 0; }

/* --- Features ------------------------------------------------------------ */

.lp-features__intro {
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lp-features__intro h2 { font-size: 34px; font-weight: 700; }
.lp-features__intro p { font-size: 16px; line-height: 1.7; color: var(--muted); }

.lp-features__grid {
    max-width: 980px;
    margin: 56px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.lp-feature {
    display: flex;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.lp-feature__icono {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--teal-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-feature__texto { display: flex; flex-direction: column; gap: 6px; }

.lp-feature__texto h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
}

.lp-feature__texto p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* --- FAQ ----------------------------------------------------------------- */

.lp-faq { background: var(--bg-soft); }

.lp-faq__intro {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lp-faq__intro h2 { font-size: 34px; font-weight: 700; }
.lp-faq__intro p { font-size: 16px; line-height: 1.7; color: var(--muted); }

.lp-faq__lista { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }

.lp-faq__item { border: 1px solid var(--border); border-radius: 16px; background: var(--white); }

.lp-faq__item summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
    list-style: none;
    border-radius: 16px;
}

.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Flecha del acordeon */
.lp-faq__item summary::after {
    content: '';
    width: 9px;
    height: 9px;
    margin: 0 4px 4px 0;
    border-right: 2px solid var(--muted-soft);
    border-bottom: 2px solid var(--muted-soft);
    transform: rotate(45deg);
    transition: transform .18s ease;
    flex-shrink: 0;
}

.lp-faq__item[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }

.lp-faq__num {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--teal-soft);
    color: var(--teal-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp360 .lp-faq__pregunta { flex: 1; font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--ink); }

.lp-faq__respuesta {
    padding: 0 24px 24px 70px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
}

.lp-faq__respuesta strong { color: var(--ink); }
.lp-faq__respuesta b { color: var(--teal-dark); }

.lp-faq__opciones { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.lp-faq__opciones li { padding: 10px 14px; border-radius: 10px; background: var(--bg-soft); }

/* --- CTA ----------------------------------------------------------------- */

.lp-cta {
    padding: 72px var(--gutter);
    background: var(--navy);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.lp-cta h2 { font-size: 32px; font-weight: 700; color: var(--white); max-width: 640px; }
.lp-cta p { font-size: 16px; color: var(--navy-text); max-width: 520px; line-height: 1.6; }
.lp-cta .lp-btn-primary { margin-top: 10px; }

/* --- Footer -------------------------------------------------------------- */

.lp-footer { background: var(--navy); }

.lp-footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 44px var(--gutter);
}

.lp-footer__logo {
    background: var(--white);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
}

.lp-footer__logo img { width: 150px; height: auto; display: block; }

.lp-footer__menu ul { margin: 0; padding: 0; list-style: none; }

.lp-footer__titulo {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #8892A0;
    margin-bottom: 12px;
}

.lp-footer__menu li { font-size: 14px; font-weight: 600; line-height: 2; }
.lp360 .lp-footer__menu a { color: var(--navy-text); }
.lp360 .lp-footer__menu a:hover { color: var(--white); }

.lp-footer__datos {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    color: var(--navy-text);
    font-size: 14px;
    font-weight: 600;
}

.lp-footer__datos a { color: var(--navy-text); }
.lp-footer__datos a:hover { color: var(--white); }

.lp-footer__legal {
    border-top: 1px solid var(--navy-soft);
    padding: 20px var(--gutter);
    text-align: center;
    font-size: 12px;
    color: #8892A0;
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1100px) {
    :root { --gutter-base: 48px; }
    .lp-somos { gap: 40px; }
    .lp-hero { gap: 32px; }
}

@media (max-width: 900px) {
    :root { --gutter-base: 20px; }

    .lp-section { padding: 56px var(--gutter); }

    .lp-nav { height: 76px; }
    .lp-nav__logo { width: 150px; }
    .lp-nav__fono span { display: none; }
    .lp-nav__acciones { gap: 16px; }
    .lp-nav .lp-btn-ghost { display: none; }

    .lp-hero {
        flex-direction: column;
        padding: 36px var(--gutter) 40px;
        gap: 18px;
    }

    .lp-hero__texto, .lp-form { max-width: none; width: 100%; padding-top: 0; }
    .lp-hero__titulo { font-size: 28px; line-height: 1.22; }
    .lp-hero__bajada { font-size: 14px; line-height: 1.6; max-width: none; }
    .lp-hero__blob { display: none; }
    .lp-hero__datos { display: none; }

    .lp-form { padding: 22px; }
    .lp-form__titulo { font-size: 18px; }
    .lp-campo--fila { flex-direction: column; gap: 16px; }

    .lp-portales { padding: 28px var(--gutter); }
    .lp-portales__texto { max-width: none; }

    .lp-somos { flex-direction: column; }
    .lp-somos__texto { max-width: none; }
    .lp-somos__texto h2, .lp-features__intro h2 { font-size: 26px; }
    .lp-somos__stats { width: 100%; }

    .lp-features__grid { grid-template-columns: minmax(0, 1fr); margin-top: 32px; gap: 16px; }

    .lp-hero__publico { max-width: none; }

    .lp-faq__intro { margin-bottom: 32px; }
    .lp-faq__intro h2 { font-size: 26px; }
    .lp-faq__intro p { font-size: 14px; }
    .lp-faq__item summary { padding: 18px; gap: 12px; }
    .lp360 .lp-faq__pregunta { font-size: 15px; }
    .lp-faq__respuesta { padding: 0 18px 18px; font-size: 14px; }

    .lp-cta { padding: 56px var(--gutter); }
    .lp-cta h2 { font-size: 24px; }

    .lp-footer__top { padding: 32px var(--gutter); flex-direction: column; align-items: flex-start; gap: 20px; }
    .lp-footer__datos { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 13px; }
    .lp-footer__legal { padding: 20px var(--gutter); }
}

@media (max-width: 420px) {
    .lp-somos__stats { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Pagina de gracias (/gracias-formulario-prop360)
   Solo aporta el encuadre: la tarjeta reusa .lp-card + .lp-form.is-enviado
   ========================================================================== */

.lp-gracias {
    position: relative;
    padding: 80px var(--gutter) 96px;
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FA 100%);
    overflow: hidden;
}

.lp-gracias .lp-form { flex: 0 1 520px; max-width: 520px; }
.lp-gracias .lp-form__exito h1 { font-size: 24px; font-weight: 700; }
.lp-gracias .lp-btn-primary { margin-top: 8px; }

@media (max-width: 820px) {
    .lp-gracias { padding: 48px var(--gutter) 64px; }
    .lp-gracias .lp-form { flex: 1 1 auto; max-width: none; width: 100%; }
}
