/* ============================================================
   EDAGO Legal Intelligence — Design System
   Palette: Wine Red (#BD1714) + Charcoal + White
   Font: Inter (Google Fonts)
   ============================================================ */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
    --brand: #BD1714;
    --brand-dark: #8B100E;
    --brand-deeper: #6B0C0A;
    --brand-light: #fef2f2;
    --brand-glow: rgba(189, 23, 20, 0.15);
    --gold: #D4A843;
    --gold-light: #FEF9E7;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #8b8ba8;
    --bg-page: #fafbfd;
    --bg-card: #ffffff;
    --border-subtle: rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-brand: 0 8px 30px rgba(189, 23, 20, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-med: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section { padding: 48px 0; }
    .container { padding: 0 16px; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 0;
    transition: var(--transition-fast);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--brand);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
}

.navbar-logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.navbar-logo-text span {
    color: var(--brand);
}

.navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
}

.navbar-cta:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-brand);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at 50% 0%, rgba(189, 23, 20, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-light);
    color: var(--brand);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(189, 23, 20, 0.1);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    margin-bottom: 20px;
    position: relative;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    border: 2px solid var(--brand);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
    color: white;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    border: 2px solid var(--border-subtle);
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-med);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    opacity: 0;
    transition: var(--transition-med);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--brand-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* ============================================================
   PLAN CARDS
   ============================================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-med);
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(189, 23, 20, 0.15);
}

.plan-card.featured {
    border: 2px solid var(--brand);
    box-shadow: var(--shadow-brand);
}

.plan-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.plan-card h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.plan-branches {
    font-size: 0.88rem;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-check {
    color: var(--brand);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-card .btn-primary,
.plan-card .btn-outline {
    padding: 12px 24px;
    font-size: 0.92rem;
}

/* ============================================================
   FORM STYLES
   ============================================================ */
.form-container {
    max-width: 640px;
    margin: 0 auto;
}

.form-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
    .form-box {
        padding: 32px 20px;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 36px;
}

.form-header h2 {
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
    background: white;
    outline: none;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
    color: #ef4444;
    font-size: 0.82rem;
    margin-top: 6px;
    display: none;
}

.form-error.visible {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 520px) {
    .form-row { grid-template-columns: 1fr; }
}

/* --- Checkbox Grid for Branch Selection --- */
.branch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}

@media (max-width: 520px) {
    .branch-grid { grid-template-columns: 1fr; }
}

.branch-option {
    position: relative;
}

.branch-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.branch-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    user-select: none;
}

.branch-option label:hover {
    border-color: var(--brand);
    background: var(--brand-light);
}

.branch-option input:checked + label {
    border-color: var(--brand);
    background: var(--brand-light);
    color: var(--brand-dark);
    font-weight: 600;
}

.branch-option input:checked + label::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--brand);
    color: white;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.branch-option input:not(:checked) + label::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    flex-shrink: 0;
}

.branch-counter {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 12px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.branch-counter.ok {
    background: #f0fdf4;
    color: #16a34a;
}

.branch-counter.warn {
    background: #fefce8;
    color: #ca8a04;
}

.branch-counter.error {
    background: #fef2f2;
    color: #dc2626;
}

/* --- Plan Summary Bar --- */
.plan-summary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.plan-summary-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.plan-summary-info h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.plan-summary-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* --- Back Link --- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

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

/* ============================================================
   SUCCESS / WELCOME PAGE
   ============================================================ */
.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: linear-gradient(180deg, var(--bg-page) 0%, var(--brand-light) 100%);
}

.success-box {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    text-align: center;
    max-width: 560px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

@media (max-width: 520px) {
    .success-box { padding: 40px 24px; }
}

.success-check {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    animation: success-pop 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55) both;
}

@keyframes success-pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-check svg {
    width: 48px;
    height: 48px;
    stroke: white;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-check 0.5s 0.4s ease forwards;
}

@keyframes draw-check {
    to { stroke-dashoffset: 0; }
}

.success-box h2 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.success-box p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.success-features {
    text-align: left;
    background: var(--brand-light);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 28px 0;
    border: 1px solid rgba(189, 23, 20, 0.08);
}

.success-features h4 {
    font-size: 0.9rem;
    color: var(--brand);
    margin-bottom: 12px;
}

.success-features li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.success-features .check-icon {
    color: var(--brand);
    font-weight: 700;
}

/* --- Confetti animation --- */
.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    top: -10px;
    animation: confetti-fall linear forwards;
    pointer-events: none;
    z-index: 9999;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================================
   ALERT MESSAGES
   ============================================================ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 40px 24px;
    font-size: 0.85rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   NAVBAR LINKS (secundarios)
   ============================================================ */
.navbar-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1.5px solid var(--border-subtle);
    background: #fff;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}
.navbar-link:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .navbar-link { display: none; }
}

/* ============================================================
   FAQ — ACORDEÓN
   ============================================================ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border-radius: var(--radius-md);
    background: var(--bg-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.faq-item.open {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
    transition: var(--transition-fast);
}

.faq-question:hover { filter: brightness(1.08); }

/* Chevron dibujado con bordes (sin el "+") */
.faq-icon {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid rgba(255, 255, 255, 0.9);
    border-bottom: 2.5px solid rgba(255, 255, 255, 0.9);
    transform: rotate(45deg);
    transition: transform var(--transition-med);
    margin-right: 4px;
    margin-bottom: 3px;
}

.faq-item.open .faq-icon {
    transform: rotate(-135deg);
    margin-bottom: -3px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-med);
}

.faq-item.open .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding: 20px 26px 22px;
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: justify;
}

/* ============================================================
   CHANGELOG / NOVEDADES — TIMELINE
   ============================================================ */
.changelog {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.changelog-item {
    position: relative;
}

/* Encabezado de versión: número grande */
.changelog-vhead {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.changelog-vnum {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
}
.changelog-vnum .v-pre { font-size: 1.1rem; font-weight: 700; opacity: 0.6; }
.changelog-vnum .v-num { font-size: 2.6rem; letter-spacing: -1px; }

.changelog-item.featured .changelog-vnum .v-num {
    background: linear-gradient(135deg, var(--brand), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.changelog-vmeta { display: flex; flex-direction: column; gap: 4px; }

.changelog-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.changelog-badge-current {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #16A34A;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 2px 10px;
    border-radius: 50px;
}

.changelog-divider {
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.changelog-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 4px;
}

.changelog-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.changelog-tag {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-top: 2px;
    min-width: 90px;
    text-align: center;
}

.changelog-text {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 560px) {
    .changelog { gap: 44px; }
    .changelog-vnum .v-num { font-size: 2rem; }
    .changelog-list li { gap: 12px; }
    .changelog-tag { min-width: 80px; }
}

/* ============================================================
   NOVEDADES — TARJETA COMPACTA (en planes.php)
   ============================================================ */
.novedades-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.novedades-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 5px; height: 100%;
    background: linear-gradient(180deg, var(--brand), var(--gold));
}
.novedades-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.novedades-card-vnum {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
}
.novedades-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.novedades-card-tag {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    color: #16A34A;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 3px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}
.novedades-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.novedades-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-brand { color: var(--brand); }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
