/* CrewYa · páginas públicas internas: Nosotros, Contacto, Términos y Privacidad. Usa las variables y la cabecera de landing.css. */

.cy-info-hero-inner { max-width: 1280px; margin: 0 auto; padding: 36px 16px 44px; }
@media (min-width: 600px) { .cy-info-hero-inner { padding-left: 32px; padding-right: 32px; } }
.cy-info-hero .cy-h1 { font-size: 2rem; max-width: 760px; text-wrap: balance; }
.cy-info-hero .cy-lead { margin-bottom: 14px; }
.cy-info-meta { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; font-size: .85rem; font-weight: 700;
    color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.cy-info-meta .mud-icon-root { color: #FDBA74; }

/* Cierre con invitación a probar */
.cy-info-cta { margin: 36px 0 8px; padding: 24px 20px; border-radius: 16px; background: #fff; border: 1.5px solid var(--cy-ink); box-shadow: 6px 6px 0 var(--cy-orange);
    display: flex; flex-direction: column; gap: 16px; }
.cy-info-cta p { margin: 0; color: #5B5670; line-height: 1.55; }
.cy-info-cta-btn.mud-button-root { background: var(--cy-ink); color: #fff; align-self: stretch; }
.cy-info-cta-btn.mud-button-root:hover { background: #2A2550; }

/* ---------- Nosotros ---------- */
.cy-about-story { display: grid; gap: 22px; padding: 32px 0 8px; align-items: start; }
.cy-about-text p { margin: 0 0 14px; line-height: 1.7; color: #3F3A55; font-size: 1.02rem; max-width: 66ch; }
.cy-about-text .cy-about-punch { color: var(--cy-ink); font-weight: 700; padding-left: 14px; border-left: 4px solid var(--cy-orange); }
.cy-about-facts { position: relative; overflow: hidden; padding: 22px; border-radius: 16px; color: #fff; background-color: var(--cy-ink);
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 24px 24px; box-shadow: 6px 6px 0 var(--cy-orange); }
.cy-about-facts h3 { margin: 0 0 12px; font-family: var(--cy-display); font-weight: 800; font-size: 1.05rem; }
.cy-about-facts dl { margin: 0; position: relative; z-index: 1; }
.cy-about-facts dl > div { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.cy-about-facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #FDBA74; }
.cy-about-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 1.02rem; }
.cy-about-facts .cy-about-facts-check { position: absolute; right: -14px; bottom: -18px; opacity: .16; }
.cy-about-facts .cy-about-facts-check path { stroke: #FFB347; stroke-width: 3.4; }

.cy-values { display: grid; gap: 14px; margin-top: 14px; }
.cy-value, .cy-contact-card { padding: 20px; border-radius: 14px; background: #fff; border: 1.5px solid var(--cy-ink); box-shadow: var(--cy-hard); }
/* La tarjeta es blanca en los dos modos: sus botones con el índigo del modo claro (en oscuro tomaban el índigo claro de la paleta oscura y
   "Mensaje" daba 2.98:1 sobre blanco; QA ronda 48, R48-PUBLIC H4, E7). */
.cy-contact-card .mud-button-filled-primary { background-color: #4F46E5; color: #FFFFFF; }
.cy-contact-card .mud-button-outlined-primary, .cy-contact-card .mud-button-text-primary { color: #4F46E5; border-color: #4F46E5; }
.cy-value h3 { font-family: var(--cy-display); font-weight: 800; font-size: 1.08rem; margin: 12px 0 4px; letter-spacing: -.01em; }
.cy-value p { margin: 0; color: #5B5670; line-height: 1.55; font-size: .95rem; }
.cy-value-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--cy-tone);
    border: 1.5px solid var(--cy-ink); }

/* ---------- Contacto ---------- */
.cy-contact { display: grid; gap: 16px; padding-top: 28px; }
.cy-contact-card { display: flex; flex-direction: column; gap: 6px; }
.cy-contact-card h2 { font-family: var(--cy-display); font-weight: 800; font-size: 1.12rem; margin: 10px 0 0; letter-spacing: -.01em; }
.cy-contact-card p { margin: 0; color: #5B5670; line-height: 1.55; font-size: .95rem; flex: 1; }
.cy-contact-big { margin: 10px 0 12px; font-family: var(--cy-display); font-weight: 800; font-size: 1.12rem; color: var(--cy-ink); text-decoration: none;
    overflow-wrap: anywhere; }
.cy-contact-big:hover { color: var(--cy-indigo); text-decoration: underline; }
.cy-contact-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cy-contact-extra { display: grid; gap: 14px; padding-top: 18px; }
.cy-contact-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1.5px dashed #BDB4A6;
    color: var(--cy-ink); text-decoration: none; }
.cy-contact-note > .mud-icon-root { color: var(--cy-orange); margin-top: 2px; }
.cy-contact-note h3 { margin: 0 0 2px; font-weight: 800; font-size: 1rem; }
.cy-contact-note p { margin: 0; color: #5B5670; line-height: 1.5; font-size: .93rem; }
.cy-contact-note.link:hover { border-color: var(--cy-ink); border-style: solid; background: #fff; }
.cy-contact-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 800; color: var(--cy-indigo); }

/* ---------- Legales ---------- */
.cy-legal { display: grid; gap: 16px; padding-top: 24px; }
.cy-legal-toc { display: none; }
.cy-legal-toc-mobile { border-radius: 14px; background: #fff; border: 1.5px solid var(--cy-ink); color: var(--cy-ink, #14112B); } /* caja blanca: texto de tinta (heredaba el claro de la página, 1.1:1) */
.cy-legal-toc-mobile > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 800; }
.cy-legal-toc-mobile > summary::-webkit-details-marker { display: none; }
.cy-legal-toc-mobile[open] > summary .mud-icon-root { transform: rotate(180deg); }
.cy-legal-toc-mobile ol, .cy-legal-toc ol { margin: 0; padding: 0 8px 10px; list-style: none; }
.cy-legal-toc-mobile a, .cy-legal-toc a { display: block; padding: 7px 8px; border-radius: 8px; color: #3F3A55; text-decoration: none; font-weight: 600; font-size: .9rem; }
.cy-legal-toc a { padding: 4px 8px; font-size: .84rem; line-height: 1.35; }
.cy-legal-toc-mobile a:hover, .cy-legal-toc a:hover { background: #F3EEE6; color: var(--cy-ink); }
.cy-legal-doc { min-width: 0; padding: 22px 18px; border-radius: 16px; background: #fff; border: 1.5px solid var(--cy-ink); box-shadow: var(--cy-hard); }
.cy-legal-doc section { scroll-margin-top: 84px; padding-top: 6px; }
.cy-legal-doc h2 { font-family: var(--cy-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.015em; margin: 22px 0 8px; color: var(--cy-ink); }
.cy-legal-doc p, .cy-legal-doc li { line-height: 1.7; color: #3F3A55; font-size: .98rem; }
.cy-legal-doc p { margin: 0 0 12px; max-width: 72ch; }
.cy-legal-doc ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; max-width: 72ch; }
.cy-legal-doc li { display: flex; gap: 10px; align-items: flex-start; }
.cy-legal-doc li .cy-check { flex: 0 0 auto; margin-top: 6px; }
.cy-legal-doc a { color: var(--cy-indigo); font-weight: 700; overflow-wrap: anywhere; }
.cy-legal-doc strong { color: var(--cy-ink); }
.cy-legal-doc .cy-legal-intro { padding: 14px 16px; border-radius: 12px; background: #FFF4EA; border-left: 4px solid var(--cy-orange); color: var(--cy-ink); }

@media (min-width: 640px) {
    .cy-values { grid-template-columns: 1fr 1fr; }
    .cy-contact-extra { grid-template-columns: 1fr 1fr; }
    .cy-info-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; }
    .cy-info-cta-btn.mud-button-root { align-self: center; flex: 0 0 auto; }
    .cy-legal-doc { padding: 30px 34px; }
}
@media (min-width: 900px) {
    .cy-info-hero-inner { padding-top: 52px; padding-bottom: 60px; }
    .cy-info-hero .cy-h1 { font-size: 2.8rem; }
    .cy-about-story { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 40px; padding-top: 44px; }
    .cy-contact { grid-template-columns: repeat(3, 1fr); padding-top: 40px; }
}
@media (min-width: 1100px) {
    .cy-values { grid-template-columns: repeat(4, 1fr); }
    .cy-legal { grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 36px; }
    .cy-legal-toc-mobile { display: none; }
    .cy-legal-toc { display: block; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; padding: 14px 6px 8px;
        border-radius: 14px; background: #fff; border: 1.5px solid var(--cy-ink); }
    .cy-legal-toc h2 { margin: 0 10px 6px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #C2410C; }
    .cy-legal-doc { padding: 36px 44px; }
}

/* ---------- Sitio oscuro (fondo B6 en todo el sitio público: inicio, cuenta, Nosotros, Contacto, legales) ---------- */
.cy-public.cy-site-dark { background: #1F1B3D !important; min-height: 100vh; display: flex; flex-direction: column; }
.cy-site-dark .cy-public-main { flex: 1 0 auto; }
.cy-site-dark .cy-footer2 { margin-top: 0; }
.cy-site-dark .cy-public-main > .cy-page { padding-bottom: 36px; }
/* Tarjetas blancas con sombra naranja, como en el inicio */
.cy-site-dark .cy-auth-card.mud-paper { border-color: #0B0A18; box-shadow: 6px 6px 0 var(--cy-orange); }
.cy-site-dark .cy-value, .cy-site-dark .cy-contact-card, .cy-site-dark .cy-legal-doc { border-color: #0B0A18; box-shadow: 4px 4px 0 var(--cy-orange); }
.cy-site-dark .cy-legal-toc, .cy-site-dark .cy-legal-toc-mobile { border-color: #0B0A18; }
.cy-site-dark .cy-info-cta { border-color: #0B0A18; }
.cy-site-dark .cy-h2 { color: #fff; }
.cy-site-dark .cy-info-cta .cy-h2 { color: var(--cy-ink); }
.cy-site-dark .cy-about-text p { color: rgba(255, 255, 255, .74); }
.cy-site-dark .cy-about-text .cy-about-punch { color: #fff; }
.cy-site-dark .cy-about-facts { background-color: #14112B; border: 1.5px solid rgba(255, 255, 255, .14); }
.cy-site-dark .cy-contact-note { border-color: rgba(255, 255, 255, .22); color: #fff; }
.cy-site-dark .cy-contact-note p { color: rgba(255, 255, 255, .7); }
.cy-site-dark .cy-contact-note.link:hover { background: rgba(255, 255, 255, .06); border-color: #FDBA74; }
.cy-site-dark .cy-contact-more { color: #FDBA74; }
/* Con sesión, Acerca de y Contacto se ven dentro de la app, sobre el mismo fondo índigo: los mismos colores que el sitio oscuro (QA ronda 9, H9:
   el texto oscuro del sitio claro quedaba casi invisible). */
.cy-main .cy-about-story .cy-h2, .cy-main .cy-about-story ~ .cy-section > .cy-h2, .cy-main .cy-contact .cy-h2 { color: #fff; }
.cy-main .cy-about-text p { color: rgba(255, 255, 255, .74); }
.cy-main .cy-about-text .cy-about-punch { color: #fff; }
.cy-main .cy-contact-note { border-color: rgba(255, 255, 255, .22); color: #fff; }
.cy-main .cy-contact-note p { color: rgba(255, 255, 255, .7); }
.cy-main .cy-contact-more { color: #FDBA74; }
/* La cabecera de las páginas internas se separa del fondo con una línea sutil */
.cy-site-dark .cy-info-hero { border-bottom: 1px solid rgba(255, 255, 255, .08); }

/* Logo de CrewYa a la derecha de la cabecera, centrado en el espacio libre (no pegado al borde). */
@media (min-width: 1100px) {
    .cy-info-hero-inner { display: grid; grid-template-columns: minmax(0, 780px) 1fr; align-items: center; }
    .cy-info-hero .cy-hl { position: static; justify-self: center; margin: 0; }
}

/* Las tarjetas blancas de las páginas de información llevan su texto de tinta: con sesión, la app pone texto claro para el fondo índigo
   y aquí quedaba claro sobre blanco (1.1:1; QA ronda 9, h9 A1). */
.cy-value, .cy-contact-card, .cy-info-cta, .cy-legal-doc, .cy-contact-note { color: var(--cy-ink, #14112B); }
