/* Growroom · primer bloque. Cargar después de studio.css y chatbot.css. */
.gr-spaces { background: #0D0D0D; color: #F4F1E8; border-bottom: 1px solid #303030; padding: clamp(38px, 5vw, 72px) 0; }
.gr-spaces *, .gr-spaces *::before, .gr-spaces *::after { box-sizing: border-box; }
.gr-spaces__container { max-width: 1280px; padding: 0 var(--gutter, 24px); margin: 0 auto; }
.gr-spaces__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.gr-spaces__eyebrow { margin: 0 0 14px; color: #B8B8B8; font-family: var(--f-mono, monospace); font-size: 10px; letter-spacing: .13em; }
.gr-spaces h2 { margin: 0; font-family: var(--f-display, Impact, sans-serif); font-size: clamp(38px, 4vw, 64px); font-weight: 400; line-height: 1; text-transform: uppercase; }
.gr-spaces__intro { max-width: 33ch; margin: 0; color: #B8B8B8; font-size: 15px; line-height: 1.6; }
.gr-spaces__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #393939; }
.gr-space { min-width: 0; display: flex; flex-direction: column; padding: clamp(22px, 2.5vw, 32px); }
.gr-space + .gr-space { border-left: 1px solid #393939; }
.gr-space__number { color: #F0F20A; font-family: var(--f-mono, monospace); font-size: 11px; letter-spacing: .12em; }
.gr-spaces .gr-space h3 { font-family: var(--f-display, Impact, sans-serif); font-size: clamp(38px, 3.8vw, 54px); font-weight: 400; line-height: 1; text-transform: uppercase; margin: 20px 0 12px; }
.gr-space__desc { margin: 0 0 18px; min-height: 3.2em; font-size: 15px; line-height: 1.6; }
.gr-space__detail { color: #B8B8B8; font-size: 12px; line-height: 1.7; margin: 0 0 26px; min-height: 3.4em; }
.gr-spaces a { text-decoration: none; }
.gr-spaces .gr-space__cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding: 13px 0; min-height: 48px; border-top: 1px solid #393939; color: #F0F20A; font-size: 14px; font-weight: 700; line-height: 1.5; }
.gr-space__categories { display: flex; flex-wrap: wrap; gap: 4px 16px; min-height: 44px; margin-top: 6px; }
.gr-spaces .gr-space__categories a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: 12px; color: #B8B8B8; }
.gr-spaces a:hover { color: #FFFFFF; }
.gr-spaces a:focus-visible { outline: 2px solid #F0F20A; outline-offset: 4px; }
.gr-spaces__help { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; color: #B8B8B8; font-size: 14px; line-height: 1.6; }
.gr-spaces__help a { color: #F4F1E8; text-decoration: underline; text-underline-offset: 4px; }
#como-cultivas { scroll-margin-top: 120px; }
@media (min-width: 768px) {
    #grc-root #grc-launcher { width: 88px; height: 88px; min-height: 88px; padding: 10px; gap: 0; justify-content: center; border-radius: 50%; }
    #grc-root #grc-launcher .grc-launcher-label { display: none; }
    #grc-root #grc-launcher .grc-launcher-avatar { width: 64px; height: 64px; }
    #grc-root #grc-launcher .grc-launcher-icon { padding: 0; }
    #grc-root .grc-panel { bottom: calc(var(--grc-offset-y) + 104px + env(safe-area-inset-bottom, 0px)); height: min(680px, calc(100dvh - 140px)); }
}
@media (max-width: 767px) {
    .gr-spaces__head { display: block; }
    .gr-spaces__intro { margin-top: 16px; max-width: 38ch; }
    .gr-spaces__grid { grid-template-columns: 1fr; }
    .gr-space + .gr-space { border-left: 0; border-top: 1px solid #393939; }
    .gr-space { padding: 24px; }
    .gr-spaces .gr-space h3 { margin-top: 12px; }
    .gr-space__desc, .gr-space__detail { min-height: 0; }
    .gr-space__desc { margin-bottom: 12px; }
    .gr-space__detail { margin-bottom: 18px; }
    /* Mantiene el mismo botón, aria-label y comportamiento del plugin. */
    #grc-root #grc-launcher { width: 56px; height: 56px; min-height: 56px; padding: 8px; gap: 0; justify-content: center; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.24); }
    #grc-root #grc-launcher .grc-launcher-label { display: none; }
    #grc-root #grc-launcher .grc-launcher-avatar { width: 36px; height: 36px; }
    #grc-root #grc-launcher .grc-launcher-icon { padding: 0; }
}
@media (max-width: 520px) {
    #grc-root .grc-panel { max-height: 100dvh; }
}
