/* SolarBanko Solutions — bento redesign (2026-10-18). Previous version backed up in private page 872. */

body.page-id-58 { background: #eef1ea; }
body.page-id-58 .entry-header, body.page-id-58 .entry-hero, body.page-id-58 .page-title { display: none !important; }
.sb-solutions-main { width: 100%; max-width: none; margin: 0; padding: 0; }
.sb-solutions, .sb-solutions *, .sb-solutions *::before, .sb-solutions *::after { box-sizing: border-box; }
.sb-solutions { background: transparent; }

.sbs { --g: #1e5b07; --g-dark: #14331f; --lime: #a6d86b; --muted: #53574c; --soft: #f4f6f0;
  max-width: 1440px; margin: 0 auto; padding: 16px 1.5rem 56px; display: flex; flex-direction: column; gap: 14px; color: #141414; }
.sbs h1, .sbs h2, .sbs h3 { margin: 0; color: #141414; font-weight: 600; letter-spacing: -.01em; }
.sbs h2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem) !important; line-height: 1.15; }
.sbs h3 { font-size: 1.15rem !important; line-height: 1.3; }
.sbs p { margin: 0; color: var(--muted); line-height: 1.6; }
.sbs a { text-decoration: none !important; }
.sbs img { display: block; max-width: 100%; }

.sbs-chip { display: inline-block; align-self: flex-start; padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.sbs-chip--green { background: #eef5e6; color: var(--g); border: 0; }
.sbs-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.sbs-pill { display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 999px; background: #fff; color: #141414 !important; font-weight: 600; box-shadow: 0 8px 22px rgba(0,0,0,.16); transition: transform .2s ease, box-shadow .2s ease; }
.sbs-pill:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.22); }
.sbs-pill--ghost { background: rgba(255,255,255,.12); color: #fff !important; border: 1px solid rgba(255,255,255,.45); box-shadow: none; }
.sbs-glass { position: absolute; left: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 16px; color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: .88rem; }
.sbs-glass strong { font-size: 1.02rem; }

/* hero */
.sbs-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; min-height: 600px; }
.sbs-hero__copy { border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0;
  background: radial-gradient(120% 90% at 90% 0%, #a6d86b 0%, rgba(166,216,107,0) 55%), linear-gradient(160deg, #14331f 0%, #1e5b07 55%, #3d8a17 100%); }
.sbs-hero h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 4.1rem) !important; line-height: 1.05; margin: 20px 0 18px; max-width: 15ch; }
.sbs-hero h1 em { font-style: normal; color: var(--lime) !important; }
.sbs-hero__copy p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 34rem; margin-bottom: 30px; }
.sbs-hero__photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; min-height: 380px; }
.sbs-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* section head */
.sbs-head { display: flex; flex-direction: column; gap: 12px; padding: 40px 8px 10px; max-width: 780px; }

/* use-case cards — big images */
.sbs-cases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); grid-auto-rows: 440px; gap: 14px; }
.sbs-case--wide { grid-column: 1 / 3; }
.sbs-case--tall { grid-column: 3; grid-row: 1 / 3; }
.sbs-case { position: relative; display: block; border-radius: 28px; overflow: hidden; color: #fff !important; isolation: isolate; background: #14331f; }
.sbs-case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.sbs-case img.sbs-tech { object-position: 50% 40%; }
.sbs-case::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,24,14,0) 35%, rgba(10,24,14,.55) 65%, rgba(10,24,14,.88) 100%); transition: opacity .3s ease; }
.sbs-case:hover img { transform: scale(1.05); }
.sbs-case__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sbs-case__tag { padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sbs-case__title { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.15; }
.sbs-case__text { color: rgba(255,255,255,.85); font-size: .98rem; line-height: 1.55; max-width: 34rem; }
.sbs-case__cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; background: #fff; color: #141414; font-weight: 600; font-size: .92rem; transition: background .2s, color .2s; }
.sbs-case__cta::after { content: "→"; }
.sbs-case:hover .sbs-case__cta { background: var(--lime); }

/* generic white card */
.sbs-card { background: #fff; border-radius: 28px; padding: clamp(26px, 4vw, 52px); }
.sbs-card__head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 28px; }
.sbs-card__head a, .sbs-fit a { color: var(--g) !important; font-weight: 600; }

/* steps */
.sbs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.sbs-steps li { margin: 0; padding: 28px; border-radius: 22px; background: var(--soft); display: flex; flex-direction: column; gap: 10px; transition: transform .2s ease, background .2s ease; }
.sbs-steps li:hover { transform: translateY(-3px); background: #eef5e6; }
.sbs-steps li > span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--g); color: #fff; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }

/* fit */
.sbs-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sbs-fit__col { border-radius: 28px; padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.sbs-fit__col--yes { background: #fff; }
.sbs-fit__col--no { background: radial-gradient(100% 120% at 100% 0%, rgba(166,216,107,.3) 0%, rgba(166,216,107,0) 55%), #14331f; }
.sbs-fit__col--no h2 { color: #fff; }
.sbs-fit__col ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sbs-fit__col li { position: relative; margin: 0; padding: 14px 16px 14px 48px; border-radius: 16px; background: var(--soft); color: #33362f; font-size: .97rem; line-height: 1.5; }
.sbs-fit__col li::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; background: var(--g); color: #fff; }
.sbs-fit__col--no li { background: rgba(255,255,255,.08); color: rgba(255,255,255,.88); }
.sbs-fit__col--no li::before { content: "–"; background: rgba(255,255,255,.2); }
.sbs-fit__col--no a { color: var(--lime) !important; }

/* reference packages */
.sbs-refs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.sbs-ref { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 22px; background: var(--soft); color: #141414 !important; transition: transform .2s ease, box-shadow .2s ease; }
.sbs-ref:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(20,51,31,.1); }
.sbs-ref__use { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g); }
.sbs-ref__stack { margin-top: auto; padding-top: 14px; border-top: 1px solid #e3e8dc; font-size: .88rem; font-weight: 500; color: #33362f; }
.sbs-ref__stack::after { content: " →"; color: var(--g); }

/* featured stack */
.sbs-stack { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 14px; }
.sbs-stack__copy { background: #fff; border-radius: 28px; padding: clamp(26px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.sbs-stack__logo { width: 100%; max-width: 300px; height: auto; }
.sbs-link { color: var(--g) !important; font-weight: 600; }
.sbs-link::after { content: " →"; }
.sbs-prod { display: flex; flex-direction: column; gap: 4px; border-radius: 28px; background: #fff; padding: 18px 18px 24px; color: #141414 !important; transition: transform .25s ease, box-shadow .25s ease; }
.sbs-prod:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(20,51,31,.12); }
.sbs-prod__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 20px; margin-bottom: 14px; padding: 18px; background: radial-gradient(90% 80% at 50% 35%, #fff 0%, #eef2e8 80%); }
.sbs-prod__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.sbs-prod:hover .sbs-prod__img img { transform: scale(1.06); }
.sbs-prod strong { font-size: 1.08rem; font-weight: 600; padding: 0 6px; }
.sbs-prod > span:last-child { color: var(--muted); font-size: .9rem; padding: 0 6px; }

/* banner */
.sbs-banner { border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: radial-gradient(100% 140% at 100% 0%, rgba(166,216,107,.4) 0%, rgba(166,216,107,0) 55%), linear-gradient(160deg, #14331f 0%, #1e5b07 100%); }
.sbs-banner h2 { color: #fff; max-width: 20ch; margin-bottom: 10px; }
.sbs-banner p { color: rgba(255,255,255,.82); max-width: 36rem; }

/* responsive */
@media (max-width: 1100px) {
  .sbs-stack { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .sbs-stack__copy { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .sbs-hero { grid-template-columns: 1fr; min-height: 0; }
  .sbs-hero__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .sbs-cases { grid-template-columns: 1fr 1fr; grid-auto-rows: 400px; }
  .sbs-case--wide { grid-column: 1 / -1; }
  .sbs-case--tall { grid-column: auto; grid-row: auto; }
  .sbs-steps, .sbs-refs { grid-template-columns: 1fr; }
  .sbs-fit { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sbs { padding: 10px 10px 36px; gap: 10px; }
  .sbs-hero__copy { padding: 32px 24px; border-radius: 24px; }
  .sbs-hero__photo, .sbs-case, .sbs-card, .sbs-fit__col, .sbs-banner, .sbs-stack__copy, .sbs-prod { border-radius: 24px; }
  .sbs-head { padding: 28px 6px 4px; }
  .sbs-cases { grid-template-columns: 1fr; grid-auto-rows: 440px; gap: 10px; }
  .sbs-stack { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sbs-prod:last-child { grid-column: 1 / -1; }
  .sbs-prod:last-child .sbs-prod__img { aspect-ratio: 16 / 9; }
  .sbs-banner .sbs-ctas, .sbs-hero .sbs-ctas { width: 100%; }
}

/* fixes */
.sbs-hero__photo img { object-position: center 78%; }
.sbs-case img.sbs-tech { object-position: 50% 22%; }
@media (max-width: 760px) {
  .sbs-cases { grid-template-columns: 1fr; grid-auto-rows: 460px; gap: 10px; }
  .sbs-case--wide { grid-column: auto; }
  .sbs-hero__photo { aspect-ratio: 16 / 11; }
}
.sbs .sbs-stack__logo { width: 100% !important; max-width: 280px !important; height: auto !important; }
@media (max-width: 760px) {
  .sbs-stack { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sbs-prod:last-child { grid-column: 1 / -1; }
  .sbs-prod:last-child .sbs-prod__img { aspect-ratio: 16 / 9; }
}
.sbs .sbs-prod__img { position: relative; overflow: hidden; }
.sbs .sbs-prod__img img { position: absolute; top: 18px; left: 18px; width: calc(100% - 36px) !important; height: calc(100% - 36px) !important; object-fit: contain; }
