/* Solinco Online MX - Custom CSS layer (encima de Tailwind CDN) */

:root {
    --ink: #0A0A0A;
    --paper: #F5F2ED;
    --paper-dim: rgba(245,242,237,0.65);
    --paper-faint: rgba(245,242,237,0.35);
    --surface: #141414;
    --border-dim: rgba(255,255,255,0.12);
    --red: #E30613;
    --red-dark: #B8050F;
    --neon: #D4FF00;
    --neon-dim: #A8CC00;
    --font-display: 'Big Shoulders Display', 'Arial Black', sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--ink); color: var(--paper); -webkit-font-smoothing: antialiased; }

/* Display headings */
.font-display { font-family: var(--font-display); letter-spacing: -0.01em; line-height: 0.95; text-transform: uppercase; }
.font-mono { font-family: var(--font-mono); }

.h-display-xl { font-size: clamp(48px, 7vw, 96px); font-weight: 900; }
.h-display-lg { font-size: clamp(36px, 5vw, 64px); font-weight: 800; }
.h-display-md { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.h-display-sm { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; }

/* Eyebrow tags */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--neon); }
.eyebrow::before { content: ""; display: inline-block; width: 24px; height: 2px; background: var(--neon); }
.eyebrow-dim { color: var(--paper-faint); }
.eyebrow-dim::before { background: var(--paper-faint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 4px; border: 2px solid transparent; transition: all 0.2s; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-primary:focus-visible { outline: 3px solid var(--neon); outline-offset: 2px; }
.btn-secondary { background: transparent; color: var(--neon); border-color: var(--neon); }
.btn-secondary:hover { background: var(--neon); color: var(--ink); }
.btn-secondary:focus-visible { outline: 3px solid var(--neon); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--border-dim); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--paper-dim); }
.btn-large { padding: 18px 40px; font-size: 16px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border-dim); border-radius: 10px; padding: 24px; }
.card-paper { background: var(--paper); color: var(--ink); border: 1px solid #E5E2DC; }
.card-neon { border-left: 3px solid var(--neon); }
.card-red { border-left: 3px solid var(--red); }

/* KPI block */
.kpi { border-left: 2px solid var(--neon); padding-left: 16px; }
.kpi-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4vw, 52px); line-height: 1; }
.kpi-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--paper-faint); margin-top: 6px; }

/* Section spacing */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .section-lg { padding: 72px 0; }
}

/* Light section (paper) */
.section-paper { background: var(--paper); color: var(--ink); }
.section-paper .eyebrow { color: var(--red); }
.section-paper .eyebrow::before { background: var(--red); }
.section-paper .kpi { border-left-color: var(--red); }
.section-paper .kpi-label { color: rgba(10,10,10,0.55); }

/* Header sticky */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-dim); }
.site-header a { color: var(--paper); text-decoration: none; }
.site-header a:hover { color: var(--neon); }

/* Product card */
.product-card { background: var(--paper); color: var(--ink); border-radius: 8px; overflow: hidden; transition: transform 0.2s; display: block; text-decoration: none; }
.product-card:hover { transform: translateY(-2px); }
.product-card .product-img { aspect-ratio: 1; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #FFFFFF; }
.product-card .product-info { padding: 16px; }

/* Floating WhatsApp */
.fab-whatsapp { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.3); z-index: 40; transition: transform 0.2s; }
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 30px; height: 30px; fill: #fff; }

/* Skip to content (a11y) */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--neon); color: var(--ink); padding: 12px 20px; font-weight: 700; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Focus styles a11y */
*:focus-visible { outline: 3px solid var(--neon); outline-offset: 2px; border-radius: 2px; }

/* Pendiente badge (visible para Fernando, esconde fácil después) */
.pendiente { background: #FFE066; color: #5C4A00; padding: 2px 8px; border-radius: 3px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; }

/* Accordion */
.accordion-item { border-bottom: 1px solid var(--border-dim); }
.section-paper .accordion-item { border-bottom-color: #DDD8D0; }
.accordion-trigger { width: 100%; text-align: left; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 17px; background: transparent; border: 0; color: inherit; cursor: pointer; }
.accordion-trigger:hover { color: var(--neon); }
.section-paper .accordion-trigger:hover { color: var(--red); }
.accordion-content { display: none; padding: 0 0 24px 0; color: var(--paper-dim); line-height: 1.65; }
.section-paper .accordion-content { color: rgba(10,10,10,0.7); }
.accordion-item.open .accordion-content { display: block; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-icon { transition: transform 0.2s; font-size: 22px; }

/* Lists with neon bullets */
ul.bullets { list-style: none; padding: 0; }
ul.bullets li { padding-left: 24px; position: relative; line-height: 1.65; margin-bottom: 10px; }
ul.bullets li::before { content: "/"; position: absolute; left: 0; color: var(--neon); font-family: var(--font-mono); font-weight: 700; }
.section-paper ul.bullets li::before { color: var(--red); }
ul.bullets li strong { color: var(--paper); }
.section-paper ul.bullets li strong { color: var(--ink); }

/* Table */
table.tbl { width: 100%; border-collapse: collapse; }
table.tbl th, table.tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-dim); }
.section-paper table.tbl th, .section-paper table.tbl td { border-bottom-color: #DDD8D0; }
table.tbl th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--paper-faint); font-weight: 500; }
.section-paper table.tbl th { color: rgba(10,10,10,0.55); }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl .check { color: var(--neon); font-weight: 700; }
table.tbl .cross { color: var(--red); font-weight: 700; }
.section-paper table.tbl .check { color: #0A8540; }

/* Mobile nav drawer */
#mobile-nav { display: none; }
#mobile-nav.open { display: block; }

/* Hide scrollbar for horizontal logos band */
.scroll-x { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.scroll-x::-webkit-scrollbar { display: none; }

/* Lazy img placeholder */
img[loading="lazy"] { background: rgba(255,255,255,0.04); }

/* Overlay gradient for hero */
.hero-overlay { background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.6) 60%, rgba(10,10,10,0.3) 100%); }
.hero-overlay-bottom { background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0) 32%, rgba(10,10,10,0.35) 58%, rgba(10,10,10,0.82) 100%); }

/* CTA strip */
.cta-strip { background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%); padding: 18px 24px; text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; }
.cta-strip a { color: #fff; text-decoration: underline; }

/* Marca "SOLINCO MÁS" — italic + uppercase + color para diferenciarlo en cualquier seccion */
.solinco-mas { font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; color: var(--neon); }
.section-paper .solinco-mas { color: var(--red); }
.cta-strip .solinco-mas { color: var(--neon); font-style: italic; font-size: 1.05em; }
