/* Solutions pages. Uses the colour variables from style.css.
   Kept in its own file so the main stylesheet is not touched. */

.sol-noscroll{ overflow:hidden; }

/* ---------- shared buttons / tags ---------- */
.sol-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 20px; border-radius:8px; font-size:14px; font-weight:700;
  border:1.5px solid transparent; cursor:pointer; white-space:nowrap;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.sol-btn:hover{ transform:translateY(-1px); }
.sol-btn[disabled]{ opacity:.6; cursor:default; transform:none; }
.sol-btn svg{ width:18px; height:18px; flex-shrink:0; }
.sol-btn-primary{ background:var(--amber); color:#fff; }
.sol-btn-primary:hover{ background:var(--amber-ink); box-shadow:0 8px 18px rgba(255,122,26,.28); }
.sol-btn-ghost{ background:#fff; color:var(--navy); border-color:var(--line); }
.sol-btn-ghost:hover{ border-color:var(--navy); }
.sol-btn-wa{ background:#25D366; color:#fff; }
.sol-btn-wa:hover{ background:#1fb859; box-shadow:0 8px 18px rgba(37,211,102,.3); }

.sol-card-tags{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.sol-tag{
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.6px; text-transform:uppercase;
  background:#EEF2F9; color:var(--navy-2); padding:4px 9px; border-radius:20px;
}
.sol-tag-ver{ background:#FFF1E4; color:var(--amber-ink); }
.sol-tag-soon{ background:#E8F7F0; color:#0F7A52; }

/* ---------- listing ---------- */
.sol-hero{ padding:8px 0 26px; max-width:780px; }
.sol-eyebrow{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:2px; text-transform:uppercase; color:var(--amber-ink); margin-bottom:10px; }
.sol-hero h1{ font-family:'Space Grotesk',sans-serif; font-size:clamp(26px,3.6vw,38px); line-height:1.18; color:var(--navy); margin-bottom:12px; }
.sol-hero p{ font-size:15.5px; color:var(--steel); line-height:1.65; }

.sol-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.sol-chip{
  background:#fff; border:1px solid var(--line); color:var(--ink); border-radius:22px;
  padding:8px 16px; font-size:13px; font-weight:600;
}
.sol-chip:hover{ border-color:var(--navy); }
.sol-chip.active{ background:var(--navy); color:#fff; border-color:var(--navy); }

.sol-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:22px; }
.sol-card{
  background:var(--panel); border:1px solid var(--line); border-radius:14px; overflow:hidden;
  display:flex; flex-direction:column; transition:box-shadow .15s ease, transform .15s ease;
}
.sol-card[hidden]{ display:none; }
.sol-card:hover{ box-shadow:0 14px 34px rgba(27,42,74,.12); transform:translateY(-2px); }
.sol-card-media{ display:block; aspect-ratio:16/10; overflow:hidden; background:#EEF2F9; border-bottom:1px solid var(--line); }
.sol-card-media img{ width:100%; height:100%; object-fit:cover; object-position:top left; }
.sol-card-ph{ height:100%; display:flex; align-items:center; justify-content:center; font-family:'Space Grotesk',sans-serif; font-size:22px; font-weight:700; color:var(--navy-2); }
.sol-card-body{ padding:20px; display:flex; flex-direction:column; flex:1; }
.sol-card-title{ font-family:'Space Grotesk',sans-serif; font-size:22px; color:var(--navy); margin-bottom:4px; }
.sol-card-tagline{ font-weight:600; color:var(--ink); font-size:14.5px; margin-bottom:8px; }
.sol-card-sum{ font-size:13.5px; color:var(--steel); line-height:1.6; margin-bottom:16px; flex:1; }
.sol-card-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.sol-empty{ color:var(--steel); padding:30px 0; }

/* ---------- call-to-action band ---------- */
.sol-cta{
  margin-top:40px; background:linear-gradient(120deg,var(--navy),var(--navy-2) 70%,#2E4470);
  color:#fff; border-radius:14px; padding:30px 34px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.sol-cta h2{ font-family:'Space Grotesk',sans-serif; font-size:22px; margin-bottom:6px; }
.sol-cta p{ color:rgba(255,255,255,.82); font-size:14px; max-width:560px; line-height:1.6; }
.sol-cta-actions{ display:flex; flex-wrap:wrap; gap:10px; }

/* ---------- detail ---------- */
.sol-detail-hero{
  display:grid; grid-template-columns:1.05fr 1fr; gap:34px; align-items:center;
  background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:34px;
}
.sol-title-row{ display:flex; align-items:center; gap:14px; margin-bottom:8px; }
.sol-logo{ height:56px; width:auto; }
.sol-detail-copy h1{ font-family:'Space Grotesk',sans-serif; font-size:clamp(28px,4vw,42px); color:var(--navy); line-height:1.1; }
.sol-lead{ font-size:18px; font-weight:600; color:var(--ink); margin-bottom:8px; line-height:1.4; }
.sol-sum{ font-size:14.5px; color:var(--steel); line-height:1.65; margin-bottom:20px; }
.sol-hero-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.sol-platforms{ list-style:none; display:flex; flex-wrap:wrap; gap:8px; }
.sol-platforms li{ font-size:12px; color:var(--navy-2); background:#EEF2F9; padding:5px 11px; border-radius:6px; font-weight:600; }
.sol-detail-media .sol-shot-btn{
  width:100%; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff; padding:0;
  box-shadow:0 18px 40px rgba(27,42,74,.14); cursor:zoom-in; display:block;
}
.sol-detail-media img{ width:100%; height:auto; display:block; }

.sol-section{ margin-top:44px; }
.sol-section h2{ font-family:'Space Grotesk',sans-serif; font-size:24px; color:var(--navy); margin-bottom:18px; }

.sol-overview{ display:grid; grid-template-columns:1.6fr 1fr; gap:30px; align-items:start; }
.sol-overview-text p{ font-size:15px; line-height:1.75; color:var(--ink); margin-bottom:12px; }
.sol-for{ background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:20px 22px; }
.sol-for h3{ font-family:'Space Grotesk',sans-serif; font-size:16px; color:var(--navy); margin-bottom:10px; }
.sol-for ul{ list-style:none; }
.sol-for li{ position:relative; padding-left:20px; font-size:14px; line-height:1.55; margin-bottom:8px; color:var(--ink); }
.sol-for li::before{ content:''; position:absolute; left:0; top:7px; width:8px; height:8px; border-radius:50%; background:var(--amber); }

.sol-features{ display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:16px; }
.sol-feature{ background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:20px; }
.sol-feature-ic{
  display:inline-flex; width:30px; height:30px; align-items:center; justify-content:center;
  background:#E8F7F0; color:var(--green); border-radius:8px; margin-bottom:12px;
}
.sol-feature-ic svg{ width:16px; height:16px; }
.sol-feature h3{ font-family:'Space Grotesk',sans-serif; font-size:16.5px; color:var(--navy); margin-bottom:6px; }
.sol-feature p{ font-size:13.5px; color:var(--steel); line-height:1.6; }

.sol-shots{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:18px; }
.sol-shot{ margin:0; }
.sol-shot .sol-shot-btn{
  display:block; width:100%; aspect-ratio:16/10; overflow:hidden; padding:0; cursor:zoom-in;
  border:1px solid var(--line); border-radius:10px; background:#EEF2F9; transition:box-shadow .15s ease;
}
.sol-shot .sol-shot-btn:hover{ box-shadow:0 10px 26px rgba(27,42,74,.16); }
.sol-shot img{ width:100%; height:100%; object-fit:cover; object-position:top left; }
.sol-shot figcaption{ font-size:12.5px; color:var(--steel); margin-top:8px; line-height:1.45; }
.sol-note{ font-size:12px; color:var(--steel); margin-top:14px; }

.sol-table-wrap{ overflow-x:auto; background:var(--panel); border:1px solid var(--line); border-radius:12px; }
.sol-table{ width:100%; border-collapse:collapse; font-size:14px; min-width:560px; }
.sol-table th, .sol-table td{ text-align:left; padding:13px 18px; border-bottom:1px solid var(--line); vertical-align:top; }
.sol-table thead th{ background:#EEF2F9; color:var(--navy); font-size:12px; letter-spacing:.6px; text-transform:uppercase; }
.sol-table tbody th{ font-weight:700; color:var(--navy); white-space:nowrap; }
.sol-table tbody tr:last-child th, .sol-table tbody tr:last-child td{ border-bottom:none; }

.sol-modules{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:16px; }
.sol-module{ background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:18px 20px; }
.sol-module h3{ font-family:'Space Grotesk',sans-serif; font-size:16px; color:var(--navy); margin-bottom:10px; padding-bottom:8px; border-bottom:2px solid var(--amber); display:inline-block; }
.sol-module ul{ list-style:none; }
.sol-module li{ position:relative; padding-left:16px; font-size:13.5px; color:var(--ink); margin-bottom:6px; line-height:1.5; }
.sol-module li::before{ content:''; position:absolute; left:0; top:8px; width:6px; height:6px; border-radius:50%; background:var(--steel); }

.sol-others{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; }
.sol-other{ display:flex; gap:14px; align-items:center; background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:12px; transition:box-shadow .15s ease; }
.sol-other:hover{ box-shadow:0 10px 26px rgba(27,42,74,.12); }
.sol-other img{ width:110px; aspect-ratio:16/10; object-fit:cover; object-position:top left; border-radius:8px; border:1px solid var(--line); flex-shrink:0; }
.sol-other strong{ display:block; color:var(--navy); font-family:'Space Grotesk',sans-serif; font-size:16px; margin-bottom:3px; }
.sol-other span{ font-size:12.5px; color:var(--steel); line-height:1.45; }

/* ---------- lightbox ---------- */
.sol-lightbox{
  position:fixed; inset:0; z-index:1000; background:rgba(10,16,30,.92);
  display:flex; align-items:center; justify-content:center; padding:24px 70px;
}
.sol-lightbox[hidden]{ display:none; }
.sol-lb-fig{ margin:0; max-width:100%; max-height:100%; display:flex; flex-direction:column; align-items:center; gap:12px; }
.sol-lb-fig img{ max-width:100%; max-height:calc(100vh - 120px); object-fit:contain; border-radius:6px; background:#fff; }
.sol-lb-fig figcaption{ color:#E4E8EF; font-size:14px; text-align:center; }
.sol-lb-close, .sol-lb-nav{
  position:absolute; background:rgba(255,255,255,.14); color:#fff; border:none; border-radius:50%;
  width:44px; height:44px; font-size:28px; line-height:1; display:flex; align-items:center; justify-content:center;
}
.sol-lb-close:hover, .sol-lb-nav:hover{ background:rgba(255,255,255,.26); }
.sol-lb-close{ top:16px; right:16px; }
.sol-lb-prev{ left:14px; top:50%; transform:translateY(-50%); }
.sol-lb-next{ right:14px; top:50%; transform:translateY(-50%); }

/* ---------- quote modal ---------- */
.sol-modal{
  position:fixed; inset:0; z-index:1100; background:rgba(10,16,30,.6);
  display:flex; align-items:center; justify-content:center; padding:18px; overflow-y:auto;
}
.sol-modal[hidden]{ display:none; }
.sol-modal-box{ position:relative; background:#fff; border-radius:14px; width:100%; max-width:440px; padding:28px; }
.sol-modal-close{ position:absolute; top:10px; right:14px; background:none; border:none; font-size:28px; color:var(--steel); line-height:1; }
.sol-modal-box h3{ font-family:'Space Grotesk',sans-serif; font-size:22px; color:var(--navy); }
.sol-modal-sub{ font-size:13px; color:var(--amber-ink); font-weight:600; margin:4px 0 16px; }
.sol-modal-box label{ display:block; font-size:12.5px; font-weight:600; color:var(--ink); margin-bottom:12px; }
.sol-modal-box input, .sol-modal-box textarea{
  display:block; width:100%; margin-top:5px; padding:10px 12px; font-size:14px;
  border:1px solid var(--line); border-radius:8px; background:var(--paper);
}
.sol-modal-box input:focus, .sol-modal-box textarea:focus{ outline:2px solid var(--amber); outline-offset:0; background:#fff; }
.sol-modal-box .sol-btn{ width:100%; margin-top:4px; }
.sol-form-status{ font-size:13px; margin-top:12px; min-height:18px; color:var(--steel); }
.sol-form-status.success{ color:var(--green); font-weight:600; }
.sol-form-status.error{ color:var(--red); font-weight:600; }

/* ---------- responsive ---------- */
@media (max-width:900px){
  .sol-detail-hero{ grid-template-columns:1fr; padding:22px; }
  .sol-overview{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .sol-grid{ grid-template-columns:1fr; }
  .sol-cta{ padding:24px 20px; }
  .sol-cta-actions, .sol-hero-actions{ width:100%; }
  .sol-cta-actions .sol-btn, .sol-hero-actions .sol-btn{ flex:1 1 100%; }
  .sol-lightbox{ padding:60px 12px 20px; }
  .sol-lb-prev{ left:6px; } .sol-lb-next{ right:6px; }
  .sol-section{ margin-top:34px; }
  .sol-logo{ height:44px; }
}
