/* ═══════════════════════════════════════════════════
   PIXART — aipc-specs.css  (Intel style)
   Gris claro · Tablas limpias · Sin efectos
═══════════════════════════════════════════════════ */

:root {
    --acc:   #e6321f;
    --black: #1a1a1a;
    --fh:    'Titillium Web', sans-serif;
    --fb:    'Inter', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f4f4f4;
    color: var(--black);
    margin: 0; padding: 0;
    overflow-x: hidden;
}
h1,h2,h3 { font-family: 'Titillium Web', sans-serif; margin: 0; }
a { text-decoration: none; color: inherit; }

/* ── CONTAINER ── */
.sp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ══ PAGE HEADER ════════════════════════════════════ */
.sp-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 56px 0 48px;
}

.sp-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    padding-top: 60px
}

.sp-header__label {
    font-size: .62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    font-family: var(--fb);
    margin-bottom: 12px;
    display: block;
}

.sp-header__h1 {
    font-family: var(--fh);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.5px;
    color: var(--black);
    line-height: 1.1;
    margin-bottom: 12px;
}

.sp-header__sub {
    font-size: .9rem;
    color: #666;
    line-height: 1.65;
    max-width: 560px;
}

/* Bloque producto: imagen + leyenda */
.sp-header__product {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 280px;
}

.sp-header__img-wrap:hover .sp-header__img {
    transform: scale(1.06);
    filter: drop-shadow(0 14px 28px rgba(0,0,0,.18));
}

.sp-header__img-wrap {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 6px 6px 0 0;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    padding: 16px;
}

.sp-header__img {
    max-width: 100%;
    max-height: 148px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.12));
    transition: opacity .3s;
}

/* Leyenda de specs bajo la imagen */
.sp-header__specs-strip {
    width: 100%;
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 6px 6px;
    background: #fff;
    overflow: hidden;
}

.sp-header__spec-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px;
    gap: 3px;
}

.sp-header__spec-sep {
    width: 1px;
    background: #ebebeb;
    align-self: stretch;
    flex-shrink: 0;
}

.sp-header__spec-k {
    font-size: .52rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #aaa;
    font-weight: 600;
    font-family: var(--fb);
    white-space: nowrap;
}

.sp-header__spec-v {
    font-size: .78rem;
    color: var(--black);
    font-weight: 600;
    font-family: var(--fh);
    white-space: nowrap;
}

/* ══ TABS BAR ════════════════════════════════════════ */
.sp-tabs-bar {
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}

.sp-tabs {
    display: flex;
    gap: 0;
}

.sp-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 16px 32px;
    font-family: var(--fb);
    font-size: .82rem;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    transition: color .15s, border-color .15s;
    margin-bottom: -1px;
    letter-spacing: .2px;
}
.sp-tab:hover { color: var(--black); }
.sp-tab--active {
    color: var(--black);
    border-bottom-color: var(--acc);
    font-weight: 600;
}

/* ══ PANELS ═════════════════════════════════════════ */
.sp-panel { padding: 40px 0 80px; }
.sp-panel--hidden { display: none; }

/* ══ SECTION ════════════════════════════════════════ */
.sp-section {
    margin-bottom: 8px;
}

.sp-section__title {
    font-family: var(--fh);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--black);
    background: #e8e8e8;
    padding: 10px 16px;
    margin: 0;
    border-left: 3px solid var(--acc);
}

/* ══ TABLA ══════════════════════════════════════════ */
.sp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.sp-table tbody tr {
    border-bottom: 1px solid #ebebeb;
}
.sp-table tbody tr:last-child {
    border-bottom: none;
}

/* Filas alternas */
.sp-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.sp-table tbody tr:hover {
    background: #f0f0f0;
}

/* Fila destacada (diferencias del modelo avanzado) */
.sp-table__row--hi {
    background: rgba(230,50,31,.04) !important;
}
.sp-table__row--hi:hover {
    background: rgba(230,50,31,.08) !important;
}
.sp-table__row--hi .sp-table__k {
    color: var(--acc);
}
.sp-table__row--hi .sp-table__v {
    color: var(--black);
}

.sp-table__k {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .5px;
    color: #555;
    padding: 13px 20px 13px 16px;
    vertical-align: top;
    width: 35%;
    border-right: 1px solid #ebebeb;
}

.sp-table__v {
    font-size: .88rem;
    color: #333;
    padding: 13px 16px;
    vertical-align: top;
    line-height: 1.5;
}
.sp-table__v strong {
    color: var(--black);
    font-weight: 600;
}

/* ══ CTA ════════════════════════════════════════════ */
.sp-cta {
    background: var(--black);
    padding: 72px 0;
}

.sp-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.sp-cta__label {
    font-size: .6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    font-family: var(--fb);
    margin-bottom: 10px;
    display: block;
}

.sp-cta__h2 {
    font-family: var(--fh);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: 10px;
}

.sp-cta__sub {
    font-size: .85rem;
    color: rgba(255,255,255,.4);
    line-height: 1.65;
    max-width: 420px;
}

.sp-cta__btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.sp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--acc);
    color: #fff;
    padding: 13px 28px;
    border-radius: 4px;
    font-size: .82rem;
    font-weight: 600;
    transition: background .15s;
    border: none;
    white-space: nowrap;
}
.sp-btn-primary:hover { background: #c42d1a; }

.sp-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: rgba(255,255,255,.6);
    padding: 12px 28px;
    border-radius: 4px;
    font-size: .82rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,.2);
    transition: border-color .15s, color .15s;
    white-space: nowrap;
}
.sp-btn-outline:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* ══ RESPONSIVE ════════════════════════════════════ */
@media (max-width: 768px) {
    .sp-container { padding: 0 20px; }
    .sp-header__inner { grid-template-columns: 1fr; }
    .sp-header__product { display: none; }
    .sp-table__k { width: 42%; font-size: .68rem; }
    .sp-cta__inner { flex-direction: column; align-items: flex-start; gap: 32px; }
    .sp-cta__btns { flex-direction: row; flex-wrap: wrap; }
    .sp-tab { padding: 14px 16px; font-size: .75rem; }
}

@media (max-width: 480px) {
    .sp-table__k { width: 48%; padding: 10px 12px 10px 12px; }
    .sp-table__v { padding: 10px 12px; font-size: .82rem; }
    .sp-tabs { overflow-x: auto; }
}
