/* ========================================
   article.css - Estilos para notas editoriales
   Grúas Carve
   ======================================== */

:root {
    --primary: #FFB800;
    --primary-hover: #E5A600;
    --dark-bg: #121212;
    --darker-bg: #0A0A0A;
    --card-bg: #1E1E1E;
    --text-main: #F5F5F5;
    --text-muted: #A0A0A0;
    --border-color: #333333;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.7;
}

.text-center { text-align: center; }

/* ---- Header ---- */
.article-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: rgba(10,10,10,0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.article-nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.back-link:hover { color: var(--primary); }

.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-main);
    text-decoration: none;
}

.brand-name span { color: var(--primary); }

/* ---- Hero ---- */
.article-hero {
    height: 75vh;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.2) 100%);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.article-tag {
    display: inline-block;
    background-color: var(--primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.article-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    color: #fff;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---- Main Content ---- */
.article-main {
    padding: 70px 0 60px;
}

.article-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #e0e0e0;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.article-container p {
    margin-bottom: 22px;
    color: #ccc;
    font-size: 1.05rem;
}

.article-container h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 44px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* ---- Feature List ---- */
.article-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.article-features li {
    display: flex;
    gap: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 22px;
    transition: var(--transition);
}

.article-features li:hover {
    border-color: var(--primary);
}

.feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: rgba(255,184,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 800;
}

.article-features li div strong {
    display: block;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 8px;
}

.article-features li div p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---- Callout ---- */
.article-callout {
    background-color: rgba(255,184,0,0.07);
    border: 1px solid rgba(255,184,0,0.3);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 28px;
    margin: 36px 0;
}

.article-callout h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.article-callout p { margin-bottom: 0; color: #ccc; }

/* ---- Simple List ---- */
.simple-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.simple-list li {
    padding-left: 24px;
    position: relative;
    color: #ccc;
    font-size: 1.02rem;
}

.simple-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ---- Numbered Steps ---- */
.numbered-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 30px 0;
}

.step {
    display: flex;
    gap: 24px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 26px;
    transition: var(--transition);
}

.step:hover { border-color: var(--primary); }

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.4;
    line-height: 1;
    flex-shrink: 0;
    width: 56px;
    text-align: center;
}

.step-content h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 10px;
}

.step-content p { margin: 0; color: var(--text-muted); font-size: 0.97rem; }

/* ---- Check List ---- */
.check-items {
    list-style: none;
    padding: 0;
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.check-items li {
    padding-left: 22px;
    position: relative;
    color: #ccc;
    font-size: 0.95rem;
}

.check-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ---- CTA Box ---- */
.article-cta-box {
    background: linear-gradient(135deg, #1a1a00 0%, var(--card-bg) 100%);
    border: 1px solid rgba(255,184,0,0.4);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
}

.article-cta-box h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.article-cta-box p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 28px;
}

.article-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.cta-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.cta-whatsapp:hover {
    background-color: #1eb558;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.cta-phone {
    background-color: var(--primary);
    color: #000;
}

.cta-phone:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,184,0,0.3);
}

/* ---- Footer ---- */
.article-footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    margin-top: 60px;
    background-color: var(--darker-bg);
}

.article-footer p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; }

.back-home-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.back-home-link:hover { opacity: 0.8; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .article-hero { height: 60vh; min-height: 380px; padding-bottom: 40px; }
    .article-features li { flex-direction: column; gap: 12px; }
    .step { flex-direction: column; gap: 10px; }
    .step-number { width: auto; font-size: 1.8rem; text-align: left; }
    .check-items { grid-template-columns: 1fr; }
    .article-cta-buttons { flex-direction: column; }
    .cta-btn { justify-content: center; }
    .article-callout { padding: 20px; }
    .article-cta-box { padding: 28px 20px; }
}
