/* ============================================
   BUSINESSPLAN24 — BLOG STYLESHEET
   Stile coerente con la landing page principale
   ============================================ */

/* === VARIABILI (stesse della landing page) === */
:root {
    --primary-blue: #1e3a8a;
    --primary-light: #3b82f6;
    --accent-orange: #f97316;
    --success-green: #10b981;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --gradient-start: #1e40af;
    --gradient-end: #3b82f6;
}

/* === RESET E BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-blue);
}

img {
    max-width: 100%;
    height: auto;
}

/* === LAYOUT === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === HEADER / NAVIGAZIONE === */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.logo:hover {
    opacity: 0.9;
}

/* Menu di navigazione */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-light);
}

.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 1px;
}

.nav-cta {
    background: var(--accent-orange);
    color: white !important;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    white-space: nowrap;
}

.nav-cta:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
    color: white !important;
}

/* Menu mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-gray);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* === HERO BLOG === */
.blog-hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 80px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 500;
    max-width: 650px;
    margin: 0 auto;
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: 16px 0;
    background: var(--light-gray);
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 0.9rem;
    color: var(--medium-gray);
    flex-wrap: wrap;
}

.breadcrumb-list a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-list a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #d1d5db;
    font-weight: 500;
}

.breadcrumb-current {
    color: var(--dark-gray);
    font-weight: 600;
}

/* === LAYOUT BLOG PRINCIPALE (indice) === */
.blog-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    padding: 60px 0;
    align-items: start;
}

/* === GRIGLIA ARTICOLI === */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* === CARD ARTICOLO === */
.article-card {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.12);
}

.article-card-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

img.article-card-image {
    object-fit: cover;
    display: block;
}

/* Colori diversi per le categorie */
.article-card-image.cat-finanziamenti {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.article-card-image.cat-business-plan {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

.article-card-image.cat-gestione {
    background: linear-gradient(135deg, #059669 0%, #34d399 100%);
}

.article-card-image.cat-guide-settore {
    background: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
}

.article-card-image.cat-bandi-fondi {
    background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
}

.article-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-light);
    background: #eff6ff;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    width: fit-content;
}

.article-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-title a {
    color: inherit;
    text-decoration: none;
}

.article-card-title a:hover {
    color: var(--primary-light);
}

.article-card-excerpt {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--light-gray);
}

.article-card-date {
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.article-card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-card-link:hover {
    color: #ea580c;
    transform: translateX(4px);
    display: inline-block;
}

/* === SIDEBAR === */
.blog-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-box {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 28px;
    border: 2px solid #e5e7eb;
}

.sidebar-box-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

.sidebar-box p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Form nella sidebar */
.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-form input[type="text"],
.sidebar-form input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--dark-gray);
    background: var(--white);
    transition: border-color 0.2s ease;
    outline: none;
}

.sidebar-form input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.sidebar-form input::placeholder {
    color: #9ca3af;
}

.btn-form-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-form-submit:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* Box piani nella sidebar */
.sidebar-plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-plan:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-plan-name {
    font-weight: 700;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.sidebar-plan-price {
    font-weight: 900;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.sidebar-plan-btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-blue);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-plan-btn:hover {
    background: var(--gradient-start);
    transform: translateY(-1px);
    color: white;
}

/* Articoli piu letti sidebar */
.sidebar-popular-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-popular-list li {
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-popular-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-popular-list a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.sidebar-popular-list a:hover {
    color: var(--primary-light);
}

/* === LAYOUT ARTICOLO SINGOLO === */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    padding: 48px 0 80px;
    align-items: start;
}

/* === CONTENUTO ARTICOLO === */
.article-main {
    min-width: 0;
}

.article-header {
    margin-bottom: 32px;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--dark-gray);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Immagine di copertina (tag <img>) */
img.article-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    margin-bottom: 40px;
    object-fit: cover;
    display: block;
}

/* Placeholder copertina (div con emoji, per articoli senza immagine) */
div.article-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* === STILI CORPO ARTICOLO === */
.article-body h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-top: 48px;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.article-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 8px;
}

.article-body ul li {
    list-style-type: disc;
}

.article-body ol li {
    list-style-type: decimal;
}

/* Blockquote */
.article-body blockquote {
    border-left: 4px solid var(--accent-orange);
    background: var(--light-gray);
    padding: 24px 28px;
    margin: 28px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-body blockquote p {
    margin-bottom: 0;
}

/* Tabelle */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 28px 0;
}

.article-table,
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.table-responsive .article-table {
    margin: 0;
}

.article-body th {
    background: var(--primary-blue);
    color: white;
    padding: 14px 18px;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
}

.article-body td {
    padding: 12px 18px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
    color: #374151;
}

.article-body tr:nth-child(even) {
    background: var(--light-gray);
}

.article-body tr:hover {
    background: #eff6ff;
}

/* Box informativo */
.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 28px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-box-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.info-box-content {
    flex: 1;
}

.info-box-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.info-box-content strong {
    color: var(--primary-blue);
}

/* === CTA BOXES DENTRO ARTICOLO === */
.cta-box-mid {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
}

.cta-box-mid::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-box-mid h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-box-mid p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 24px;
    color: white;
    position: relative;
    z-index: 1;
}

.cta-box-mid .btn-cta {
    display: inline-block;
    background: var(--accent-orange);
    color: white;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
    position: relative;
    z-index: 1;
}

.cta-box-mid .btn-cta:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.5);
    color: white;
}

/* CTA finale arancione */
.cta-box-final {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ea580c 100%);
    color: white;
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
}

.cta-box-final::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.cta-box-final h3 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-box-final p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 28px;
    color: white;
    position: relative;
    z-index: 1;
}

.cta-box-final .btn-cta {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.cta-box-final .btn-cta:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
}

.cta-guarantee {
    display: block;
    margin-top: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* === ARTICOLI CORRELATI === */
.related-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid var(--light-gray);
}

.related-section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 28px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-card:hover {
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.1);
    transform: translateY(-2px);
}

.related-card-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.related-card-content {
    flex: 1;
    min-width: 0;
}

.related-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-excerpt {
    font-size: 0.85rem;
    color: var(--medium-gray);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === FOOTER === */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* === RESPONSIVE === */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .blog-content-wrapper {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px 24px;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e5e7eb;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-menu a.active::after {
        display: none;
    }

    .nav-menu .nav-cta {
        margin-top: 12px;
        text-align: center;
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

    .blog-hero {
        padding: 60px 0 40px;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-hero-subtitle {
        font-size: 1.05rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .blog-content-wrapper {
        padding: 40px 0;
        gap: 40px;
    }

    .article-layout {
        padding: 32px 0 60px;
        gap: 40px;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .article-body h2 {
        font-size: 1.4rem;
    }

    .article-body h3 {
        font-size: 1.15rem;
    }

    .cta-box-mid,
    .cta-box-final {
        padding: 28px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-card {
        flex-direction: row;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* === STICKY CTA BAR === */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-bar .sticky-cta-text {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.sticky-cta-bar .sticky-cta-text strong {
    color: #fbbf24;
}

.sticky-cta-bar .sticky-cta-btn {
    background: var(--accent-orange);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.sticky-cta-bar .sticky-cta-btn:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.sticky-cta-bar .sticky-cta-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s ease;
}

.sticky-cta-bar .sticky-cta-close:hover {
    color: white;
}

@media (max-width: 768px) {
    .sticky-cta-bar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 16px;
    }

    .sticky-cta-bar .sticky-cta-text {
        font-size: 0.85rem;
        text-align: center;
        flex: 1 1 100%;
    }

    .sticky-cta-bar .sticky-cta-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}