/* ===== Protocol Page Hero ===== */
.proto-hero {
    background-color: var(--brand-black);
    padding: 160px 5% 90px;
    border-bottom: 4px solid var(--brand-yellow);
    position: relative;
    overflow: hidden;
}
.proto-hero::before {
    content: 'PROTOCOLS';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display); font-size: 14vw; font-weight: 900;
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.03);
    pointer-events: none; white-space: nowrap;
    letter-spacing: 0.1em;
}
.proto-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.proto-hero-label {
    display: block; font-family: var(--font-display); font-size: 11px;
    color: var(--brand-yellow); text-transform: uppercase; letter-spacing: 5px;
    margin-bottom: 24px;
}
.proto-hero-title {
    font-family: var(--font-display); font-weight: 100;
    font-size: clamp(52px, 8vw, 110px); color: var(--brand-white);
    text-transform: uppercase; letter-spacing: 2px; line-height: 1;
    margin-bottom: 24px;
}
.proto-hero-title span { font-weight: 900; color: var(--brand-yellow); }
.proto-hero-desc {
    font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.8;
    max-width: 640px; margin-bottom: 36px;
}
.proto-hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.proto-hero-badge {
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.15); padding: 6px 14px;
}
.proto-hero-badge.featured {
    background-color: var(--brand-yellow); color: var(--brand-black);
    border-color: var(--brand-yellow);
}

/* ===== Protocol Quick Nav ===== */
.proto-tab-nav {
    position: sticky; top: var(--site-header-height);
    background-color: var(--bg-warm);
    z-index: 100; border-bottom: 2px solid rgba(0,0,0,0.06);
}
.proto-tabs-wrap {
    max-width: 1400px; margin: 0 auto; padding: 0 5%;
    display: flex; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
}
.proto-tabs-wrap::-webkit-scrollbar { display: none; }
.proto-tab-btn {
    display: flex; align-items: center; gap: 6px; flex-shrink: 0;
    padding: 18px 20px; font-family: var(--font-display); font-weight: 700;
    font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
    border: none; background: none; cursor: pointer; color: var(--text-gray);
    border-bottom: 3px solid transparent; transition: all 0.25s;
    text-decoration: none;
}
.proto-tab-btn:hover { color: var(--brand-black); }
.proto-tab-btn.active { color: var(--brand-black); border-bottom-color: var(--brand-yellow); }

/* ===== Protocol Intro Section ===== */
.proto-intro-section {
    background-color: var(--brand-yellow);
    padding: 100px 5%;
}
.proto-intro-grid {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.proto-intro-big-title {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(40px, 5vw, 72px); text-transform: uppercase;
    line-height: 1; color: var(--brand-black);
}
.proto-intro-big-title span { display: block; font-weight: 200; }
.proto-intro-body-text {
    font-size: 15px; line-height: 1.9; color: var(--text-dark); margin-top: 24px;
}
.proto-intro-points { display: flex; flex-direction: column; gap: 16px; }
.proto-intro-point {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px; background-color: rgba(0,0,0,0.06);
}
.proto-intro-point-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background-color: var(--brand-black); color: var(--brand-yellow);
    display: flex; align-items: center; justify-content: center;
}
.proto-intro-point-text h4 {
    font-size: 13px; font-weight: 900; text-transform: uppercase;
    margin-bottom: 6px; letter-spacing: 0.5px;
}
.proto-intro-point-text p { font-size: 13px; line-height: 1.6; color: var(--text-dark); }

/* ===== Individual Protocol Section ===== */
.proto-section {
    padding: 100px 5%;
}
.proto-section:nth-of-type(odd) { background-color: var(--bg-light); }
.proto-section:nth-of-type(even) { background-color: var(--bg-warm); }

.proto-section-inner {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.15fr;
    gap: 80px; align-items: start;
}
.proto-section-inner.reverse {
    grid-template-columns: 1.15fr 1fr;
}
.proto-section-inner.reverse .proto-features-panel {
    order: -1;
}

/* Left column: protocol info */
.proto-num {
    font-family: var(--font-display); font-size: 100px; font-weight: 900;
    color: transparent; -webkit-text-stroke: 2px rgba(0,0,0,0.08);
    line-height: 0.85; margin-bottom: 20px; letter-spacing: -2px;
    display: block;
}
.proto-tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.proto-tag {
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    padding: 4px 10px; border: 1px solid rgba(0,0,0,0.15); color: var(--text-gray);
}
.proto-tag.featured { background-color: var(--brand-yellow); color: var(--brand-black); border-color: var(--brand-yellow); }
.proto-tag.dark { background-color: var(--brand-black); color: var(--brand-white); border-color: var(--brand-black); }

.proto-name {
    font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 900; text-transform: uppercase; line-height: 1.1;
    margin-bottom: 24px; color: var(--brand-black);
}
.proto-name span { color: var(--brand-yellow); }

.proto-desc {
    font-size: 14px; line-height: 1.95; color: var(--text-gray);
    margin-bottom: 30px;
}

.proto-best-for {
    background-color: var(--brand-black); padding: 22px 26px;
    border-left: 4px solid var(--brand-yellow); margin-top: 24px;
}
.proto-best-for-label {
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2.5px; color: var(--brand-yellow); margin-bottom: 10px; display: block;
}
.proto-best-for p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.65; }

/* Right column: features panel */
.proto-features-panel {
    background-color: var(--brand-white);
    border: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    position: relative;
}
.proto-features-panel::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background-color: var(--brand-yellow);
}
.proto-features-header {
    padding: 28px 36px 0;
}
.proto-features-label {
    font-family: var(--font-display); font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 3px; color: var(--text-light);
    margin-bottom: 20px; display: block;
}
.proto-feature-list {
    padding: 0 36px; margin-bottom: 0;
}
.proto-feature-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.proto-feature-item:last-child { border-bottom: none; }
.proto-feature-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px;
    background-color: var(--brand-yellow);
}
.proto-feature-text h5 {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 4px; color: var(--brand-black);
}
.proto-feature-text p { font-size: 12px; color: var(--text-gray); line-height: 1.55; }

/* Spec grid inside features panel */
.proto-spec-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1px; background-color: rgba(0,0,0,0.06);
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 0;
}
.proto-spec-item {
    background-color: var(--brand-white);
    padding: 14px 20px;
}
.proto-spec-label {
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--text-light); margin-bottom: 5px; display: block;
}
.proto-spec-val {
    font-size: 12px; font-weight: 700; color: var(--brand-black); line-height: 1.4;
}

/* ===== Comparison Table Section ===== */
.proto-comparison-section {
    background-color: var(--brand-black);
    padding: 100px 5%;
}
.proto-comparison-section .editorial-title { color: var(--brand-white); }
.proto-comparison-section .editorial-title span { color: var(--brand-yellow); }
.proto-comparison-section .editorial-desc { color: rgba(255,255,255,0.45); max-width: 700px; }

.comparison-table-wrap {
    overflow-x: auto; margin-top: 60px; max-width: 1400px; margin-left: auto; margin-right: auto;
    scrollbar-width: thin; scrollbar-color: var(--brand-yellow) rgba(255,255,255,0.05);
}
.comparison-table-wrap::-webkit-scrollbar { height: 4px; }
.comparison-table-wrap::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.comparison-table-wrap::-webkit-scrollbar-thumb { background: var(--brand-yellow); }

.comparison-table {
    width: 100%; min-width: 900px; border-collapse: collapse;
}
.comparison-table thead tr {
    border-bottom: 2px solid rgba(255,255,255,0.08);
}
.comparison-table th {
    padding: 14px 18px; text-align: left;
    font-family: var(--font-display); font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--brand-yellow); white-space: nowrap;
}
.comparison-table th:first-child { min-width: 180px; }

.comparison-table td {
    padding: 15px 18px; font-size: 13px; color: rgba(255,255,255,0.55);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle; white-space: nowrap;
}
.comparison-table td:first-child {
    font-family: var(--font-display); font-weight: 700; font-size: 14px;
    color: var(--brand-white); text-transform: uppercase; letter-spacing: 0.5px;
    white-space: normal;
}
.comparison-table tbody tr:hover td { background-color: rgba(255,200,0,0.04); }

.cmp-high  { display: inline-block; padding: 3px 9px; font-size: 10px; font-weight: 700; text-transform: uppercase; background-color: rgba(255,200,0,0.15); color: var(--brand-yellow); }
.cmp-med   { display: inline-block; padding: 3px 9px; font-size: 10px; font-weight: 700; text-transform: uppercase; background-color: rgba(255,255,255,0.07); color: rgba(255,255,255,0.5); }
.cmp-low   { display: inline-block; padding: 3px 9px; font-size: 10px; font-weight: 700; text-transform: uppercase; background-color: rgba(255,80,80,0.1); color: rgba(255,120,120,0.75); }
.cmp-yes   { color: var(--brand-yellow); font-size: 16px; font-weight: 700; }
.cmp-no    { color: rgba(255,80,80,0.65); font-size: 16px; }
.cmp-part  { color: rgba(255,200,0,0.55); font-size: 16px; }

/* ===== How to Choose Section ===== */
.proto-choose-section {
    padding: 100px 5%;
    background-color: var(--bg-light);
}
.proto-choose-section .container {
    max-width: 1400px; margin: 0 auto; padding: 0;
}
.choose-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 28px; margin-top: 60px;
}
.choose-card {
    background-color: var(--brand-white);
    border: 1px solid rgba(0,0,0,0.07);
    padding: 40px; position: relative; overflow: hidden;
    transition: all 0.3s ease;
}
.choose-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 0; height: 4px; background-color: var(--brand-yellow);
    transition: width 0.35s ease;
}
.choose-card:hover::before { width: 100%; }
.choose-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.1); transform: translateY(-4px); }

.choose-scenario {
    display: inline-block; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 3px;
    color: var(--brand-yellow); margin-bottom: 16px;
}
.choose-title {
    font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 900; text-transform: uppercase; margin-bottom: 14px; line-height: 1.2;
    color: var(--brand-black);
}
.choose-desc {
    font-size: 14px; color: var(--text-gray); line-height: 1.75; margin-bottom: 26px;
}
.choose-recommend { display: flex; flex-direction: column; gap: 8px; }
.choose-rec-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px; background-color: var(--bg-warm);
}
.choose-rec-proto {
    font-family: var(--font-display); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; color: var(--brand-black);
}
.choose-rec-reason { font-size: 11px; color: var(--text-gray); text-align: right; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .proto-intro-grid { grid-template-columns: 1fr; gap: 50px; }
    .proto-section-inner,
    .proto-section-inner.reverse { grid-template-columns: 1fr; gap: 40px; }
    .proto-section-inner.reverse .proto-features-panel { order: 0; }
    .choose-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .proto-hero { padding: 130px 5% 70px; }
    .proto-num { font-size: 70px; }
    .proto-features-header { padding: 22px 24px 0; }
    .proto-feature-list { padding: 0 24px; }
    .proto-spec-grid { grid-template-columns: repeat(2, 1fr); }
    .proto-comparison-section { padding: 80px 5%; }
    .choose-card { padding: 28px; }
    .proto-intro-section { padding: 80px 5%; }
    .proto-section { padding: 80px 5%; }
}

@media (max-width: 480px) {
    .proto-hero-badges { gap: 8px; }
    .proto-hero-badge { font-size: 10px; padding: 5px 10px; }
    .proto-spec-grid { grid-template-columns: 1fr 1fr; }
    .choose-rec-item { flex-direction: column; align-items: flex-start; gap: 4px; }
    .choose-rec-reason { text-align: left; }
}
