/* ==========================================================================
   PROYECTO "VOCES DEL AGUA Y DEL MONTE" — página propia + logo reutilizable
   Paleta Auros (DESIGN.md): Liquid Abyss #012624 · Liquid Kelp #003734 · Silver Mist #bbc7c6
   ========================================================================== */

/* ---------- Logo del proyecto (inicio y página propia) ---------- */
.vlogo { display: block; max-width: 100%; height: auto; }
.vlogo--img { width: 100%; object-fit: contain; user-select: none; }

/* Emblema provisional: gota + nombre del proyecto, hasta que exista el logo oficial */
.vlogo--placeholder {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    color: #cbfffc;
    font-family: 'Matter', 'Inter', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.vlogo__drop { width: 40px; height: 50px; }
.vlogo__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #edfffe;
}

/* ---------- Página del proyecto ---------- */
body.voces-page { background-color: #012624; color: #bbc7c6; }

.voces {
    font-family: 'Matter', 'Inter', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 120px;
}

.voces-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 0 80px;
}
.voces-hero__mark { width: min(220px, 60vw); margin-bottom: 40px; display: flex; justify-content: center; }
.voces-hero__title {
    margin: 0 0 20px;
    max-width: 16ch;
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #ffffff;
}
.voces-hero__sub {
    margin: 0;
    max-width: 36ch;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #bbc7c6;
}

.voces-section { max-width: 760px; margin: 0 auto 68px; }
.voces-section__title {
    margin: 0 0 24px;
    font-size: clamp(1.75rem, 3.4vw, 2.25rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #ffffff;
}
/* Superficie recesada (Liquid Deep) para los espacios que aún esperan contenido */
.voces-empty {
    padding: 48px 36px;
    border-radius: 16px;
    background: #011d1c;
    font-size: 1rem;
    line-height: 1.5;
    color: #bbc7c6;
}
.voces-empty p { margin: 0; }
.voces-empty strong { font-weight: 500; color: #edfffe; }

.voces-back { max-width: 760px; margin: 0 auto; }
.voces-back__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #bbc7c6;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.voces-back__link:hover { color: #ffffff; transform: translateX(-3px); }
.voces-back__link:focus-visible { outline: 2px solid #cbfffc; outline-offset: 4px; border-radius: 4px; }

/* ---------- Selector de lengua ---------- */
.voces-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.voces-lang {
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #bbc7c6;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.voces-lang:hover { color: #ffffff; border-color: rgba(203, 255, 252, 0.35); }
.voces-lang:active { transform: scale(0.97); }
.voces-lang:focus-visible { outline: 2px solid #cbfffc; outline-offset: 3px; }
.voces-lang.is-active { background: #003734; color: #ffffff; border-color: rgba(203, 255, 252, 0.45); }

/* ---------- Texto de la descripción ---------- */
.voces-text {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #bbc7c6;
    white-space: pre-line; /* respeta los saltos de línea que escribe el administrador */
    overflow-wrap: anywhere;
}
.voces-panel.is-active { animation: voces-panel-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes voces-panel-in {
    from { opacity: 0; transform: translateY(10px); filter: blur(4px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
    .voces-panel.is-active { animation: none; }
    .voces-lang { transition: none; }
}
@media (max-width: 600px) {
    .voces-hero { padding: 64px 0 56px; }
    .voces-empty { padding: 36px 24px; }
}

/* ==========================================================================
   Anuncio del proyecto en la página de Proyectos ("¿Conoces nuestro nuevo proyecto?")
   Superficie Liquid Kelp + CTA con el gradiente de aurora (único uso permitido: botón principal)
   ========================================================================== */
.voces-promo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 32px 0 8px;
    padding: 36px 48px;
    box-sizing: border-box;
    background: #003734;
    border-radius: 16px;
    text-decoration: none;
    font-family: 'Matter', 'Inter', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}
/* Resplandor bioluminiscente que respira detrás del logo (no es una sombra: es luz) */
.voces-promo::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -80px;
    top: 50%;
    width: 420px;
    height: 420px;
    margin-top: -210px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(203, 255, 252, 0.2), rgba(0, 130, 124, 0.12) 55%, rgba(0, 130, 124, 0));
    animation: voces-promo-glow 5.5s ease-in-out infinite;
}
@keyframes voces-promo-glow {
    0%, 100% { opacity: 0.55; transform: scale(0.94); }
    50%      { opacity: 1;    transform: scale(1.06); }
}
.voces-promo:hover { transform: translateY(-4px); background: #00423e; }
.voces-promo:active { transform: translateY(-2px) scale(0.995); }
.voces-promo:focus-visible { outline: 2px solid #cbfffc; outline-offset: 4px; }

.voces-promo__logo {
    flex: 0 0 auto;
    width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.voces-promo__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.voces-promo__question {
    font-size: clamp(1.75rem, 3.6vw, 2.5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #ffffff;
}
.voces-promo__name {
    max-width: 46ch;
    font-size: 1rem;
    line-height: 1.4;
    color: #bbc7c6;
}
/* Botón principal: gradiente de aurora, 6px de radio, texto oscuro en mayúsculas */
.voces-promo__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgb(203, 255, 252) 0%, rgb(237, 255, 254) 26.25%, rgb(255, 253, 250) 47.57%, rgb(250, 209, 255) 88.96%);
    background-size: 140% 100%;
    background-position: 0% 50%;
    color: #222222;
    font-family: Arial, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-position 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.voces-promo:hover .voces-promo__cta { background-position: 100% 50%; }
.voces-promo__cta span { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.voces-promo:hover .voces-promo__cta span { transform: translateX(4px); }

@media (max-width: 900px) {
    .voces-promo { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 24px; }
    .voces-promo__logo { width: 160px; align-self: center; }
    .voces-promo__cta { align-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .voces-promo::before { animation: none; opacity: 0.8; }
    .voces-promo, .voces-promo__cta, .voces-promo__cta span { transition: none; }
}

/* ---------- Selector de lengua como menú desplegable ---------- */
.voces-langs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.voces-select__label { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #bbc7c6; }
.voces-select { position: relative; display: inline-block; min-width: 230px; }
.voces-select__campo {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 12px 46px 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(203, 255, 252, 0.3);
    background-color: #003734;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.voces-select__campo:hover { border-color: rgba(203, 255, 252, 0.6); background-color: #004a46; }
.voces-select__campo:focus-visible { outline: none; border-color: #cbfffc; box-shadow: 0 0 0 3px rgba(203, 255, 252, 0.22); }
.voces-select__campo option { background: #012624; color: #ffffff; }
/* Flechita hacia abajo */
.voces-select::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #cbfffc;
    border-bottom: 2px solid #cbfffc;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.25s ease;
}
.voces-select:focus-within::after { transform: translateY(-30%) rotate(-135deg); }
@media (max-width: 600px) { .voces-select { width: 100%; } }
