/* Páginas públicas (landing, registro y acceso): rosa suave y ciruela.
   Siempre en claro; redefine los colores de estilo.css. */
body.publico {
    color-scheme: light;
    --color-primario: #97295C;
    --color-primario-oscuro: #6E1B43;
    --color-acento: #97295C;
    --color-fondo: #FFF8F9;
    --color-superficie: #FFFFFF;
    --color-superficie-variante: #FCEBF1;
    --color-texto: #3A2033;
    --color-texto-tenue: #6B4A61;
    --color-borde: #F1D5DF;
    --color-error: #B3261E;
    margin: 0;
    background: #FFF8F9;
    color: #3A2033;
    font-family: 'Nunito Sans', -apple-system, "Segoe UI", sans-serif;
    line-height: 1.6;
}

.publico h1, .publico h2, .publico .p-marca, .p-arco-titulo {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
}

.publico a { color: #97295C; }
.publico a:hover { color: #6E1B43; }

.p-ancho { max-width: 1100px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.p-cabecera {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 22px;
}
.p-cabecera nav { display: flex; align-items: center; gap: 20px; }
.p-marca { font-size: 26px; color: #97295C; }
.p-marca--centro { text-align: center; margin: 12px 0 20px; }
.p-marca--centro a { text-decoration: none; }
.p-enlace { text-decoration: none; font-weight: 600; }

.publico a.p-boton {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    padding: 13px 28px;
    border-radius: 999px;
    border: 1.5px solid #97295C;
    background: #97295C;
    color: #FFFFFF;
}
.publico a.p-boton:hover { background: #6E1B43; border-color: #6E1B43; color: #FFFFFF; }
.publico a.p-boton--borde, .publico a.p-boton--texto { background: transparent; color: #97295C; }
.publico a.p-boton--texto { border-color: transparent; padding-left: 12px; padding-right: 12px; }
.publico a.p-boton--borde:hover, .publico a.p-boton--texto:hover { background: #FCEBF1; color: #6E1B43; }
.publico a.p-boton--claro, .publico a.p-boton--claro:hover { background: #FFFFFF; border-color: #FFFFFF; color: #97295C; }

.p-heroe { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 40px; padding-bottom: 72px; }
.p-heroe-texto { flex: 1 1 440px; min-width: 0; }
.p-heroe h1 { margin: 0 0 22px; font-size: clamp(34px, 6vw, 50px); line-height: 1.15; }
.p-heroe h1 em { color: #97295C; }
.p-heroe p { margin: 0 0 22px; font-size: 19px; color: #6B4A61; max-width: 46ch; }
.p-acciones { display: flex; flex-wrap: wrap; gap: 14px; }

.p-arco {
    flex: 1 1 280px;
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
    background: #F9DFE8;
    border-radius: 200px 200px 28px 28px;
    padding: 72px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.p-arco-titulo { font-size: 24px; text-align: center; line-height: 1.3; }
.p-ficha { background: #FFFFFF; border-radius: 18px; padding: 16px 20px; display: flex; flex-direction: column; }
.p-ficha span { color: #6B4A61; }

.p-empresas { background: #FFFFFF; padding: 44px 24px; text-align: center; }
.p-empresas h2 { margin: 0 0 22px; font-size: 30px; }
.p-empresas div { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.p-empresas a {
    text-decoration: none;
    min-width: 160px;
    padding: 18px 24px;
    border-radius: 20px;
    background: #FCEBF1;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 23px;
}
.p-empresas a:hover { background: #F9DFE8; }

.p-pasos { padding-top: 72px; padding-bottom: 72px; text-align: center; }
.p-pasos h2 { margin: 0 0 32px; font-size: 34px; }
.p-pasos ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 22px; text-align: left; }
.p-pasos li { flex: 1 1 260px; border-radius: 24px; padding: 30px; background: #F1E6F7; }
.p-pasos li:nth-child(2) { background: #F9DFE8; }
.p-pasos li:nth-child(3) { background: #FCEBDD; }
.p-pasos li span { font-family: 'Playfair Display', Georgia, serif; font-size: 38px; color: #97295C; }
.p-pasos h3 { margin: 0 0 6px; font-size: 20px; }
.p-pasos li p { margin: 0; color: #5E3F55; }

.p-cierre {
    max-width: 1052px;
    margin: 0 auto 48px;
    box-sizing: border-box;
    background: #97295C;
    color: #FFFFFF;
    border-radius: 28px;
    padding: 52px 24px;
    text-align: center;
}
.p-cierre h2 { margin: 0 0 20px; font-size: 34px; line-height: 1.25; }
.p-pie { padding: 0 24px 36px; text-align: center; font-size: 13px; color: #6B4A61; }

/* Formularios de acceso y registro */
.publico .form-login { max-width: 440px; margin: 0 auto 32px; border-radius: 28px; padding: 34px 30px; gap: 16px; }
.publico .form-login h1 { text-align: center; font-size: 30px; color: #3A2033; }
.publico .form-login label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.publico .form-login input, .publico .form-login select {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid #8F6A80;
    border-radius: 14px;
    background: #FFFFFF;
    color: #3A2033;
}
.publico .campo-clave input { padding-right: 2.8rem; }
.publico .form-login button[type="submit"] { height: 52px; border-radius: 999px; font-size: 17px; font-weight: 700; }
.publico .form-login input.p-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; }
