/* ============================================
   Prolrey Biotech — Solutions Page v2 (Alternative Layout)
   Tabbed, lower-density layout. Reuses tokens from style.css
   ============================================ */

/* ---------- Hero (airier) ---------- */
.sv-hero {
    margin-top: var(--nav-h);
    padding: 110px 0 96px;
    background: var(--bg-light);
    background-image: url('ASSETS/SLIDE/lab-microscope.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}
.sv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(247,248,250,0.96) 0%, rgba(247,248,250,0.85) 55%, rgba(247,248,250,0.62) 100%);
}
.sv-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.sv-hero-tag {
    display: inline-block;
    font-family: var(--font-num);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-light);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}
.sv-hero-inner h1 {
    font-size: 46px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 24px;
}
.sv-hero-sub {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.85;
    max-width: 620px;
    margin: 0 auto;
}
/* ---------- Sticky tab bar ---------- */
.sv-tabs-wrap {
    position: sticky;
    top: var(--nav-h);
    z-index: 20;
    background: rgba(255,255,255,0.9);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 14px 0;
}
.sv-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 8px;
}
.sv-tabs::-webkit-scrollbar { display: none; }
.sv-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray);
    background: transparent;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}
.sv-tab:hover { color: var(--red); border-color: rgba(229,57,53,0.4); }
.sv-tab-num {
    font-family: var(--font-num);
    font-size: 13px;
    font-weight: 700;
    color: var(--gray);
    background: rgba(0,0,0,0.05);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.sv-tab.active {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 6px 18px rgba(229,57,53,0.28);
}
.sv-tab.active .sv-tab-num {
    color: var(--red);
    background: #fff;
}

/* ---------- Panels ---------- */
.sv-panels {
    padding: 88px 0 64px;
}
.sv-panel { display: none; }
.sv-panel.active { display: block; animation: svFade .4s ease; }
@keyframes svFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sv-panel-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}
.sv-panel-head h2 {
    font-size: 34px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.sv-panel-head p {
    font-size: 18px;
    color: var(--gray);
}

.sv-panel-body {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 48px;
}
.sv-desc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-white);
    border: 1px solid #ededed;
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
}
.sv-desc-tag {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-num);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}
.sv-desc p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 18px;
}
.sv-desc p:last-child { margin-bottom: 0; }

.sv-reco {
    background: var(--bg-light);
    border: 1px solid rgba(229,57,53,0.14);
    border-radius: var(--radius);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sv-reco-tag {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-num);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-light);
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.sv-reco h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    line-height: 1.35;
}
.sv-reco p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Key Applications — two-column list on wide screens */
.sv-apps {
    max-width: 760px;
    margin: 0 auto;
}
.sv-apps h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 28px;
}
.sv-app-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
    list-style: none;
}
.sv-app-list li {
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    color: var(--dark);
    line-height: 1.6;
}
.sv-app-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 6px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--red-light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E53935' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

/* Extra sub-content (03 & 04) */
.sv-extra {
    max-width: 760px;
    margin: 48px auto 0;
    padding-top: 32px;
    border-top: 1px dashed rgba(0,0,0,0.12);
    text-align: center;
}
.sv-extra h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.sv-extra h4:not(:first-child) { margin-top: 28px; }
.sv-extra p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.85;
    max-width: 620px;
    margin: 0 auto;
}
.sv-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    list-style: none;
}
.sv-pills li {
    font-size: 14px;
    color: var(--dark);
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 9px 18px;
    border-radius: 50px;
}

/* ---------- Why Choose (more breathing room) ---------- */
.sv-why {
    padding: 96px 0;
    background: var(--bg-light);
}
.sv-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.sv-why-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition);
}
.sv-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}
.sv-why-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--red-light);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.sv-why-icon svg { width: 28px; height: 28px; }
.sv-why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}
.sv-why-card p {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.8;
}

/* ---------- Final CTA ---------- */
.sv-cta {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}
.sv-cta-inner {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}
.sv-cta-text h2 {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.sv-cta-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.92);
    margin-bottom: 16px;
}
.sv-cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto 32px;
}
.sv-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.btn-white {
    background: #fff;
    color: var(--red);
    border-color: #fff;
}
.btn-white:hover {
    background: var(--red-light);
    border-color: var(--red-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .sv-panel-body { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
    .sv-hero { padding: 72px 0 60px; }
    .sv-hero-inner h1 { font-size: 32px; }
    .sv-hero-sub { font-size: 16px; }
    .sv-panels { padding: 56px 0 40px; }
    .sv-panel-head h2 { font-size: 27px; }
    .sv-panel-head p { font-size: 16px; }
    .sv-why { padding: 60px 0; }
    .sv-cta { padding: 60px 0; }
    .sv-cta-text h2 { font-size: 26px; }
}
@media (max-width: 640px) {
    .sv-hero-inner h1 { font-size: 26px; }
    .sv-tabs { justify-content: flex-start; padding: 0 16px 0 8px; }
    .sv-tab { font-size: 13px; padding: 8px 14px; gap: 8px; }
    .sv-tab-num { width: 20px; height: 20px; font-size: 11px; }
    .sv-app-list { grid-template-columns: 1fr; gap: 14px; }
    .sv-app-list li { font-size: 15px; }
}
