/* ===== Product Pages — Linear-inspired split layout, TKT colors ===== */
/* Pattern: each section = left text col (480px) + right visual col (fill) */

/* ===== Page Hero ===== */
/* Inherits .page-hero from shared/base.css */
/* Hero is full-bleed dark with large display type */

.hero-definition {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    border-left: 2px solid var(--accent-yellow);
    padding-left: 14px;
    margin-bottom: 8px;
    font-style: italic;
}

/* ===== Product Intro (used in servicios.html) ===== */
.product-intro { background: white; padding: 96px 0; }
.intro-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.intro-text .section-label { color: var(--accent-blue); }
.intro-text .section-title { color: #060F1E; margin-bottom: 20px; }
.intro-text p {
    font-size: 15px; line-height: 1.8; color: #4B5563; margin-bottom: 16px;
}

/* ===== Product Problem (used in servicios.html) ===== */
.product-problem { background: white; padding: 96px 0; }
.product-problem .section-label { color: var(--accent-blue); }
.product-problem .section-title { color: #060F1E; }
.product-problem .section-subtitle { color: #4B5563; }
.problem-body {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.problem-symptoms { display: flex; flex-direction: column; gap: 20px; }
.symptom {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 24px; border: 1px solid #E4E7EC;
    border-radius: var(--radius-lg); transition: border-color 0.2s;
}
.symptom:hover { border-color: rgba(4,109,237,0.3); }
.symptom-num {
    font-size: 11px; font-weight: 700; color: var(--accent-blue);
    letter-spacing: 0.08em; flex-shrink: 0; padding-top: 2px;
}
.symptom h3 { font-size: 15px; font-weight: 600; color: #111827; margin-bottom: 6px; line-height: 1.4; }
.symptom p { font-size: 13px; line-height: 1.7; color: #6B7280; }


.badge-strip {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 20px 0;
}
.badges { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; }
.badge-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.5);
}
.badge-item img { opacity: 0.55; }

/* ===== Split Section — core layout ===== */
.split-section {
    display: grid;
    grid-template-columns: 480px 1fr;
    min-height: 640px;
    border-top: 1px solid var(--border-dark);
}
.split-section--light {
    border-top: 1px solid var(--border-light);
}
.split-section--reverse {
    grid-template-columns: 1fr 480px;
}

/* Left: text column */
.split-text {
    padding: 80px 64px 80px 0;
    display: flex; flex-direction: column; justify-content: center;
    border-right: 1px solid var(--border-dark);
}
.split-section--light .split-text {
    border-right-color: var(--border-light);
}
.split-section--reverse .split-text {
    padding: 80px 0 80px 64px;
    border-right: none;
    border-left: 1px solid var(--border-dark);
    order: 2;
}
.split-section--reverse.split-section--light .split-text {
    border-left-color: var(--border-light);
}

/* Section number label */
.split-num {
    font-family: var(--font-body); font-size: 12px; font-weight: 500;
    color: var(--accent-blue); letter-spacing: 0.06em;
    margin-bottom: 20px; display: block;
}
/* On light backgrounds, split-num stays blue — already readable */

/* Heading */
.split-text h2 {
    font-family: var(--font-display);
    font-size: 36px; font-weight: 700; line-height: 1.12;
    letter-spacing: -0.025em; color: var(--text-white);
    margin-bottom: 20px;
}
/* Light section: dark heading */
.split-section--light .split-text h2 { color: #060F1E; }

/* Body paragraphs */
.split-text p {
    font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.65);
    margin-bottom: 16px; max-width: 400px;
}
/* Light section: readable dark grey */
.split-section--light .split-text p { color: #4B5563; }

.split-text p:last-of-type { margin-bottom: 32px; }

/* Link */
.split-link {
    font-size: 14px; font-weight: 500; color: var(--accent-blue);
    display: inline-flex; align-items: center; gap: 6px;
    transition: color 0.2s; margin-top: auto;
}
.split-link:hover { color: #3b82f6; }
/* Light section: same blue link, works on white */
.split-section--light .split-link { color: var(--accent-blue); }
.split-section--light .split-link:hover { color: #1d4ed8; }

/* Right: visual column — fills full height */
.split-visual {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    min-height: 640px;
}
.split-section--reverse .split-visual { order: 1; }

/* Dark visual (on dark sections) */
.split-visual--dark {
    background: var(--bg-dark-2);
}
/* Light visual (on light sections) */
.split-visual--light {
    background: var(--bg-light);
}

/* ===== Asset Placeholder inside split visual ===== */
.split-asset {
    width: 100%; height: 100%; min-height: 640px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px; text-align: center; padding: 48px;
    position: relative;
    border: 1.5px dashed rgba(255,255,255,0.12);
}
.split-asset--light {
    border-color: rgba(8,14,28,0.12);
}
.split-asset::before {
    content: '[ ASSET ]';
    position: absolute; top: 16px; left: 16px;
    font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.2); text-transform: uppercase;
    font-family: var(--font-body);
}
.split-asset--light::before { color: rgba(8,14,28,0.2); }
.split-asset-icon {
    width: 56px; height: 56px; background: rgba(4,109,237,0.1);
    border-radius: var(--radius-md); display: flex; align-items: center;
    justify-content: center; color: var(--accent-blue); margin-bottom: 8px;
}
.split-asset-label {
    font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.4);
}
.split-asset--light .split-asset-label { color: rgba(8,14,28,0.35); }
.split-asset-desc {
    font-size: 12px; color: rgba(255,255,255,0.22); max-width: 240px;
    line-height: 1.5;
}
.split-asset--light .split-asset-desc { color: rgba(8,14,28,0.22); }

/* ===== Coded visual cards inside split visual ===== */
/* These are the data/UI previews — not placeholders */
.split-card {
    background: var(--bg-dark); border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg); padding: 28px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.3);
    width: calc(100% - 80px); max-width: 480px;
}
.split-card--light {
    background: white; border-color: var(--border-light);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.split-card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
}
.split-card-title {
    font-family: var(--font-display); font-size: 13px; font-weight: 600;
    color: var(--text-white);
}
.split-card--light .split-card-title { color: var(--text-dark); }
.split-card-badge {
    font-size: 11px; color: #4ADE80;
    background: rgba(74,222,128,0.1); padding: 3px 10px;
    border-radius: var(--radius-full); border: 1px solid rgba(74,222,128,0.2);
}

/* Metric rows inside split card */
.metric-row {
    display: grid; grid-template-columns: 1fr auto auto;
    align-items: center; gap: 12px; margin-bottom: 14px;
}
.metric-row:last-of-type { margin-bottom: 0; }
.metric-label { font-size: 12px; color: rgba(255,255,255,0.5); }
.split-card--light .metric-label { color: #6B7280; }
.metric-bar-wrap {
    width: 120px; height: 5px; background: rgba(255,255,255,0.07);
    border-radius: var(--radius-full); overflow: hidden;
}
.split-card--light .metric-bar-wrap { background: #E4E7EC; }
.metric-bar { height: 100%; background: var(--accent-blue); border-radius: var(--radius-full); }
.metric-val { font-size: 12px; font-weight: 600; color: var(--text-white); min-width: 32px; text-align: right; }
.split-card--light .metric-val { color: var(--text-dark); }
.metric-footer {
    margin-top: 20px; padding-top: 14px;
    border-top: 1px solid var(--border-dark);
    font-size: 11px; color: rgba(255,255,255,0.3);
}
.split-card--light .metric-footer { border-top-color: var(--border-light); color: #9CA3AF; }

/* Pipeline rows */
.pipeline-stages { display: flex; flex-direction: column; gap: 8px; }
.pipeline-stage {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px; background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm); border: 1px solid var(--border-dark);
}
.stage-label { font-size: 13px; color: rgba(255,255,255,0.55); }
.stage-count { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.3); }
.stage-count--blue { color: var(--accent-blue); }
.stage-count--yellow { color: var(--accent-yellow); }
.stage-count--green { color: #4ADE80; }

/* Agent list */
.agent-list { display: flex; flex-direction: column; gap: 10px; }
.agent-item {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    background: rgba(255,255,255,0.03); border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
}
.agent-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.agent-dot--active { background: #4ADE80; box-shadow: 0 0 6px rgba(74,222,128,0.5); }
.agent-info { display: flex; flex-direction: column; gap: 2px; }
.agent-name { font-size: 13px; font-weight: 600; color: var(--text-white); }
.agent-task { font-size: 11px; color: rgba(255,255,255,0.38); }

/* ===== Stats strip — horizontal, no box ===== */
.product-stats {
    background: var(--bg-dark-2);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 64px 0;
}
.stats-strip {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: var(--border-dark);
    border: 1px solid var(--border-dark);
}
.stat-item { background: var(--bg-dark-2); padding: 40px 32px; text-align: center; }
.stat-num {
    font-family: var(--font-display); font-size: 40px; font-weight: 800;
    color: var(--accent-yellow); margin-bottom: 8px; letter-spacing: -0.04em;
    line-height: 1;
}
.stat-desc { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.45); }

/* ===== Testimonial — white bg, dark text ===== */
.product-testimonial { background: white; padding: 96px 0; }
.testimonial-single { max-width: 800px; margin: 0 auto; text-align: center; }
.testimonial-single blockquote {
    font-family: var(--font-display); font-size: 24px; font-weight: 500;
    line-height: 1.55; color: #111827; letter-spacing: -0.02em;
    margin-bottom: 32px; position: relative; padding: 0 24px;
}
.testimonial-single blockquote::before {
    content: '"'; font-size: 96px; line-height: 0; color: var(--accent-blue);
    opacity: 0.12; position: absolute; top: 24px; left: -8px;
    font-family: Georgia, serif;
}
.testimonial-single cite {
    font-style: normal; font-size: 14px; color: #6B7280;
}
.testimonial-single cite strong { color: #111827; font-weight: 600; }

/* ===== FAQ — light bg, dark text ===== */
.product-faq { background: var(--bg-light); padding: 96px 0; }
.product-faq .section-label { color: var(--accent-blue); }
.product-faq .section-title { color: #060F1E; }
.faq-list { display: flex; flex-direction: column; max-width: 760px; }
.faq-item { border-bottom: 1px solid #D1D5DB; padding: 28px 0; }
.faq-item:first-child { border-top: 1px solid #D1D5DB; }
.faq-q {
    font-family: var(--font-display); font-size: 17px; font-weight: 600;
    color: #111827; margin-bottom: 12px; line-height: 1.4;
}
.faq-a { font-size: 15px; line-height: 1.75; color: #4B5563; }

/* ===== For Whom — dark bg, white text ===== */
.for-whom { background: var(--bg-dark); padding: 96px 0;
    border-top: 1px solid var(--border-dark); }
.for-whom .section-label { display: block; margin-bottom: 12px; }
.for-whom .section-title { color: var(--text-white); padding: 0 0 48px; }
.for-whom-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border-dark);
    border: 1px solid var(--border-dark);
}
.for-whom-card {
    background: var(--bg-dark); padding: 40px 32px;
    transition: background 0.2s;
}
.for-whom-card:hover { background: rgba(255,255,255,0.03); }
.for-whom-role {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--accent-yellow); margin-bottom: 14px;
}
.for-whom-card h3 {
    font-family: var(--font-display); font-size: 18px; font-weight: 700;
    color: var(--text-white); margin-bottom: 12px; line-height: 1.3;
    letter-spacing: -0.015em;
}
.for-whom-card p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.65); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .split-section,
    .split-section--reverse { grid-template-columns: 1fr; }
    .split-text,
    .split-section--reverse .split-text {
        padding: 64px 32px; border-right: none; border-left: none;
        border-bottom: 1px solid var(--border-dark); order: 1;
    }
    .split-section--light .split-text { border-bottom-color: #D1D5DB; }
    .split-visual,
    .split-section--reverse .split-visual { min-height: 320px; order: 2; }
    .split-asset { min-height: 320px; }
    .split-text h2 { font-size: 30px; }
    .split-text p { font-size: 16px; max-width: 100%; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .for-whom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .split-text { padding: 48px 24px; }
    .split-text h2 { font-size: 26px; }
    .stats-strip { grid-template-columns: 1fr; }
    .testimonial-single blockquote { font-size: 20px; }
    .badges { gap: 24px; }
}
