/* ALMA MEEO V10.39 — živi samoučni model hibridne inteligence; nadgradnja V10.34 */
.am1034-home-hybrid,
.am1034-hybrid-community {
    --am1034-ink: #17384a;
    --am1034-deep: #235f87;
    --am1034-soft: #eef8ff;
    --am1034-sky: #edf8ff;
    --am1034-gold: #c9943f;
    --am1034-line: rgba(22, 50, 58, .14);
    color: var(--am1034-ink);
}
.am1034-home-hybrid {
    width: min(1220px, calc(100% - 2rem));
    margin: 2rem auto;
    border: 1px solid var(--am1034-line);
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(237,248,255,.95), rgba(242,252,247,.96) 58%, rgba(255,248,233,.95));
    box-shadow: 0 22px 70px rgba(16, 76, 82, .10);
}
.am1034-home-hybrid-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: stretch;
}
.am1034-home-hybrid-visuals {
    min-height: 520px;
    position: relative;
    overflow: hidden;
    background: #e8f3fb;
}
.am1034-home-hybrid-visuals figure { margin: 0; position: absolute; overflow: hidden; border-radius: 22px; box-shadow: 0 18px 48px rgba(12,79,87,.17); }
.am1034-home-hybrid-visuals figure:first-child { inset: 0 18% 15% 0; border-radius: 0 0 26px 0; box-shadow: none; }
.am1034-home-hybrid-visuals figure:last-child { width: 54%; height: 42%; right: 4%; bottom: 4%; border: 6px solid rgba(255,255,255,.94); }
.am1034-home-hybrid-visuals img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am1034-home-hybrid-copy { padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.am1034-kicker { margin: 0 0 .8rem; font-size: .78rem; letter-spacing: .14em; font-weight: 900; color: var(--am1034-deep); }
.am1034-home-hybrid h2,
.am1034-hybrid-community h1,
.am1034-hybrid-community h2 { margin: 0; color: var(--am1034-ink); letter-spacing: -.035em; text-wrap: balance; }
.am1034-home-hybrid h2 { font-size: clamp(2rem, 4vw, 4.3rem); line-height: .98; }
.am1034-home-hybrid-lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.55; margin: 1.4rem 0; }
.am1034-home-hybrid-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: .5rem 0 1.2rem; }
.am1034-home-hybrid-chips span { padding: .62rem .78rem; border: 1px solid rgba(12,79,87,.16); border-radius: 999px; background: rgba(255,255,255,.7); font-weight: 800; font-size: .78rem; }
.am1034-home-love-note { padding: 1rem 1.1rem; border-left: 4px solid var(--am1034-gold); background: rgba(255,255,255,.64); border-radius: 0 14px 14px 0; line-height: 1.55; margin: .2rem 0 1.4rem; }
.am1034-home-hybrid .am1005-btn { align-self: flex-start; }

.am1034-hybrid-community { width: min(1240px, calc(100% - 2rem)); margin: 0 auto 4rem; }
.am1034-hc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 720px; border: 1px solid var(--am1034-line); border-radius: 34px; overflow: hidden; background: linear-gradient(145deg,#eef8ff,#f7fbff 58%,#fff9ec); box-shadow: 0 28px 90px rgba(16,76,82,.12); }
.am1034-hc-visuals { position: relative; min-height: 100%; background: #e8f3fb; overflow: hidden; }
.am1034-hc-visual { position: absolute; margin: 0; overflow: hidden; }
.am1034-hc-visual.is-community { inset: 0 12% 18% 0; }
.am1034-hc-visual.is-ai { width: 62%; height: 42%; right: 4%; bottom: 4%; border: 7px solid #fff; border-radius: 22px; box-shadow: 0 24px 55px rgba(12,79,87,.22); }
.am1034-hc-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am1034-hc-hero-copy { padding: clamp(2rem, 4vw, 4.4rem); display: flex; flex-direction: column; justify-content: center; }
.am1034-hc-hero h1 { font-size: clamp(2.5rem, 4.9vw, 5.4rem); line-height: .92; max-width: 11ch; }
.am1034-hc-lead { font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.55; margin: 1.5rem 0 1rem; max-width: 46rem; }
.am1034-hc-note { font-size: .98rem; line-height: 1.6; color: rgba(22,50,58,.82); max-width: 48rem; }
.am1034-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.am1034-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.05rem; border-radius: 999px; border: 1px solid rgba(12,79,87,.2); text-decoration: none; font-weight: 900; font-size: .84rem; letter-spacing: .02em; color: var(--am1034-deep); background: rgba(255,255,255,.8); }
.am1034-btn.is-primary { color: #fff; background: var(--am1034-deep); border-color: var(--am1034-deep); }
.am1034-btn.is-gold { color: #30270f; background: #f5d89f; border-color: rgba(201,148,63,.45); }

.am1034-hc-source-band,
.am1034-hc-loop,
.am1034-hc-love,
.am1034-hc-global,
.am1034-hc-value,
.am1034-hc-boundary,
.am1039-self-organization,
.am1039-collaboration,
.am1034-hc-final { margin-top: 1.2rem; border: 1px solid var(--am1034-line); border-radius: 28px; padding: clamp(1.5rem, 3.2vw, 3.2rem); background: #fff; }
.am1034-hybrid-community h2 { font-size: clamp(2rem, 3.5vw, 3.8rem); line-height: 1; max-width: 22ch; }
.am1034-source-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .85rem; margin-top: 1.6rem; }
.am1034-source-grid article,
.am1034-global-grid article,
.am1034-value-grid article,
.am1034-boundary-grid article { border: 1px solid var(--am1034-line); border-radius: 20px; padding: 1.25rem; background: linear-gradient(180deg, rgba(237,248,255,.55), rgba(255,255,255,.94)); }
.am1034-source-grid span,
.am1034-value-grid span { font-size: .72rem; font-weight: 950; letter-spacing: .13em; color: var(--am1034-deep); }
.am1034-source-grid h3,
.am1034-value-grid h3 { margin: .45rem 0 .55rem; font-size: 1.05rem; line-height: 1.2; }
.am1034-source-grid p,
.am1034-global-grid p,
.am1034-value-grid p,
.am1034-boundary-grid p { margin: 0; line-height: 1.55; }
.am1034-hc-loop { background: linear-gradient(135deg,#edf8ff,#f7fbff 58%,#fff8ea); color: var(--am1034-ink); border: 1px solid var(--am1034-line); }
.am1034-hc-loop .am1034-kicker { color: var(--am1034-deep); }
.am1034-hc-loop h2 { color: var(--am1034-ink); }
.am1034-hc-loop-copy p:last-child { max-width: 70rem; font-size: 1.08rem; line-height: 1.65; }
.am1034-loop-flow { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1.6rem; }
.am1034-loop-flow span,
.am1034-loop-flow strong { padding: .75rem .86rem; border-radius: 999px; background: rgba(255,255,255,.82); border: 1px solid rgba(12,79,87,.14); font-size: .77rem; font-weight: 900; }
.am1034-loop-flow strong { background: #f6dda9; color: #3b3117; border-color: transparent; }
.am1034-loop-flow b { opacity: .65; }
.am1034-hc-love { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 1.5rem; background: linear-gradient(135deg,#fff9ea,#f7fbff); }
.am1034-hc-love p { line-height: 1.65; max-width: 65rem; }
.am1034-love-principles { display: grid; gap: .65rem; align-content: center; }
.am1034-love-principles span { padding: .9rem 1rem; border-radius: 16px; background: rgba(255,255,255,.82); border: 1px solid rgba(201,148,63,.24); font-weight: 900; }
.am1034-hc-global { background: linear-gradient(135deg,#eef8ff,#f7fbff); }
.am1034-hc-global-copy p:last-child { max-width: 72rem; line-height: 1.65; font-size: 1.05rem; }
.am1034-global-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; margin-top: 1.5rem; }
.am1034-global-grid strong { color: var(--am1034-deep); letter-spacing: .09em; }
.am1034-value-grid,
.am1034-boundary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; margin-top: 1.5rem; }
.am1034-hc-boundary { background: #f8fbfb; }
.am1034-boundary-grid strong { display: block; margin-bottom: .45rem; color: var(--am1034-deep); }
.am1034-hc-final { text-align: center; background: linear-gradient(135deg,#eef8ff,#fff7e6); padding-block: clamp(2.2rem,5vw,5rem); }
.am1034-hc-final h2 { max-width: 24ch; margin-inline: auto; }
.am1034-hc-final > p:not(.am1034-kicker) { max-width: 70rem; margin: 1.2rem auto 0; font-size: 1.12rem; line-height: 1.65; }
.am1034-hc-final .am1034-actions { justify-content: center; }

/* V10.39 — povezava tehničnega jedra z živim samoučnim modelom */
.am1039-system-bridge {
    background: linear-gradient(135deg, #eef8ff, #ffffff 58%, #fff8e8);
    border: 1px solid var(--am1034-line, rgba(22,50,58,.14));
    border-radius: 24px;
}
.am1039-system-formula,
.am1039-society-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin: 1.25rem 0;
}
.am1039-system-formula span,
.am1039-society-flow span,
.am1039-society-flow strong {
    padding: .72rem .82rem;
    border-radius: 999px;
    border: 1px solid rgba(35,95,135,.16);
    background: rgba(255,255,255,.88);
    color: #17384a;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .03em;
}
.am1039-system-formula b,
.am1039-society-flow b { color: #c9943f; }
.am1039-system-bridge-note,
.am1039-loop-note,
.am1039-collaboration-lead { line-height: 1.65; }
.am1039-system-bridge .am878-btn { margin-top: .4rem; }

.am1039-self-organization {
    background: linear-gradient(135deg, #edf8ff, #f8fcff 60%, #fff8e8);
}
.am1039-self-organization-copy > p:last-child { max-width: 74rem; line-height: 1.65; font-size: 1.05rem; }
.am1039-society-flow strong { background: #f6dda9; color: #3b3117; border-color: transparent; }
.am1039-self-organization-promise {
    margin: 1rem 0 0;
    padding: 1rem 1.1rem;
    border-left: 4px solid #c9943f;
    border-radius: 0 14px 14px 0;
    background: rgba(255,255,255,.75);
    line-height: 1.55;
}
.am1039-collaboration { background: #fff; }
.am1039-collaboration-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: .85rem;
    margin-top: 1.5rem;
}
.am1039-collaboration-grid article {
    border: 1px solid var(--am1034-line);
    border-radius: 20px;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(237,248,255,.55), rgba(255,255,255,.96));
}
.am1039-collaboration-grid span { font-size: .72rem; font-weight: 950; letter-spacing: .13em; color: var(--am1034-deep); }
.am1039-collaboration-grid h3 { margin: .45rem 0 .55rem; font-size: 1.05rem; line-height: 1.2; }
.am1039-collaboration-grid p { margin: 0; line-height: 1.55; }
.am1039-network-statement {
    margin: 1rem 0 0;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff8e8, #f2fbff);
    line-height: 1.55;
}

.am1034-community-intelligence { margin-top: 1.1rem; padding: clamp(1.5rem,3vw,3rem); border-radius: 26px; background: linear-gradient(135deg,#eef8ff,#f7fbff 62%,#fff9ec); border: 1px solid var(--am1034-line); }
.am1034-community-intelligence h2 { margin: 0; font-size: clamp(2rem,3.2vw,3.5rem); line-height: 1; letter-spacing: -.035em; color: var(--am1034-ink); max-width: 23ch; }
.am1034-community-intelligence p { max-width: 76rem; line-height: 1.65; }
.am1034-community-intelligence-flow { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin: 1.2rem 0; }
.am1034-community-intelligence-flow span { padding: .65rem .78rem; border-radius: 999px; border: 1px solid rgba(12,79,87,.17); background: rgba(255,255,255,.82); font-size: .78rem; font-weight: 900; }
.am1034-community-intelligence-flow b { color: var(--am1034-gold); }

@media (max-width: 900px) {
    .am1034-home-hybrid-grid,
    .am1034-hc-hero,
    .am1034-hc-love { grid-template-columns: 1fr; }
    .am1034-home-hybrid-visuals { min-height: 390px; }
    .am1034-hc-visuals { min-height: 430px; }
    .am1034-hc-hero h1 { max-width: 15ch; }
    .am1034-source-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
    .am1034-home-hybrid,
    .am1034-hybrid-community { width: min(100% - 1rem, 1240px); }
    .am1034-home-hybrid { border-radius: 22px; }
    .am1034-home-hybrid-visuals { min-height: 310px; }
    .am1034-home-hybrid-visuals figure:first-child { inset: 0 11% 17% 0; }
    .am1034-home-hybrid-visuals figure:last-child { width: 58%; height: 42%; right: 3%; bottom: 3%; border-width: 4px; }
    .am1034-home-hybrid-copy { padding: 1.35rem; }
    .am1034-hc-hero { min-height: 0; border-radius: 22px; }
    .am1034-hc-visuals { min-height: 330px; }
    .am1034-hc-visual.is-community { inset: 0 10% 18% 0; }
    .am1034-hc-visual.is-ai { width: 62%; height: 41%; right: 3%; bottom: 3%; border-width: 4px; }
    .am1034-hc-hero-copy,
    .am1034-hc-source-band,
    .am1034-hc-loop,
    .am1034-hc-love,
    .am1034-hc-global,
    .am1034-hc-value,
    .am1034-hc-boundary,
    .am1039-self-organization,
    .am1039-collaboration,
    .am1034-hc-final { padding: 1.25rem; border-radius: 20px; }
    .am1034-hc-hero h1 { font-size: clamp(2.2rem, 12vw, 3.6rem); max-width: none; }
    .am1034-source-grid,
    .am1034-global-grid,
    .am1034-value-grid,
    .am1034-boundary-grid,
    .am1039-collaboration-grid { grid-template-columns: 1fr; }
    .am1034-loop-flow,
    .am1039-system-formula,
    .am1039-society-flow { align-items: stretch; }
    .am1034-loop-flow b,
    .am1039-system-formula b,
    .am1039-society-flow b { display: none; }
    .am1034-loop-flow span,
    .am1034-loop-flow strong,
    .am1039-system-formula span,
    .am1039-society-flow span,
    .am1039-society-flow strong { width: 100%; border-radius: 13px; text-align: center; }
    .am1034-actions { flex-direction: column; }
    .am1034-btn { width: 100%; }
}
