:root {
    --naranja: #FA4318;
    --naranja-dark: #d93610;
    --blanco: #ffffff;
    --gris-clar: #f9f9f9;
    --texto: #333333;
    --texto-suave: #666666;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.13);
    --radius: 14px;
    --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --main-color: #FA4318;
    --main-color-dark: #d93610;
    --heading-color: #080C24;
    --paragraph-color: #565969;
    --body-font: "Public Sans", sans-serif;
    --heading-font: "Yantramanav", sans-serif;
    --body-font-size: 16px;
    --line-height30: 1.7;
    --bg-soft: #f7f8fb;
    --border-color: #e8eaf0
}

.whatsapp-icon {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    filter: drop-shadow(0 4px 16px rgba(37, 211, 102, 0.35));
    transition: var(--transition)
}

.whatsapp-icon:hover {
    transform: scale(1.08) rotate(-4deg)
}

.whatsapp-icon img {
    width: 56px;
    height: 56px;
    display: block
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--naranja);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(250, 67, 24, 0.5);
    width: 0%
}

.cta-banner {
    background: var(--naranja);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px
}

.cta-deco {
    position: absolute;
    font-family: var(--font-display);
    font-size: 160px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.04em
}

.cta-banner .container {
    position: relative;
    z-index: 2
}

.cta-banner h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15
}

.cta-banner p {
    font-family: var(--font-body);
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 34px;
    color: #fff;
    font-weight: 300;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6
}

.btn-blanco {
    background: #fff;
    color: var(--naranja);
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.01em
}

.btn-blanco svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0
}

.btn-blanco:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    color: var(--naranja)
}

.single-footer-top {
    margin-bottom: 36px
}

.single-footer-top .icon {
    width: 48px;
    height: 48px;
    background: rgba(250, 67, 24, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px
}

.single-footer-top .icon img {
    width: 24px;
    height: 24px
}

.single-footer-top h6 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--texto-suave);
    margin-bottom: 12px
}

.single-footer-top p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--texto-suave);
    margin: 0
}

.single-footer-top a {
    color: var(--naranja);
    text-decoration: none
}

.single-footer-top.after-none {
    text-align: center
}

.footer-area {
    background: #080c24;
    color: var(--blanco)
}

.footer-top {
    padding: 60px 0 40px;
    background-image: url('../img/footer/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative
}

.footer-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 36, 0.78)
}

.footer-top .row {
    position: relative;
    z-index: 1
}

.footer-bottom-area {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08)
}

.footer-bottom-area p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 46px;
    height: 46px;
    background: var(--naranja);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(250, 67, 24, 0.35)
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.back-to-top .back-top i {
    font-size: 20px;
    transition: var(--transition)
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(250, 67, 24, 0.45)
}

.post-header {
    position: relative;
    color: #fff;
    padding: 200px 0 130px;
    background: linear-gradient(to bottom right, rgba(8, 12, 36, 0.88) 0%, rgba(8, 12, 36, 0.55) 100%), #080C24;
    overflow: hidden
}

.post-header.banner-1,
.post-header.banner-2,
.post-header.banner-3,
.post-header.banner-4,
.post-header.banner-5 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.post-header.banner-1 {
    background-image: linear-gradient(to bottom right, rgba(8, 12, 36, 0.88) 0%, rgba(8, 12, 36, 0.55) 100%), url('../img/blog/banner-blog1.webp')
}

.post-header.banner-2 {
    background-image: linear-gradient(to bottom right, rgba(8, 12, 36, 0.88) 0%, rgba(8, 12, 36, 0.55) 100%), url('../img/blog/banner-blog2.webp')
}

.post-header.banner-3 {
    background-image: linear-gradient(to bottom right, rgba(8, 12, 36, 0.88) 0%, rgba(8, 12, 36, 0.55) 100%), url('../img/blog/banner-blog3.webp')
}

.post-header.banner-4 {
    background-image: linear-gradient(to bottom right, rgba(8, 12, 36, 0.88) 0%, rgba(8, 12, 36, 0.55) 100%), url('../img/blog/banner-blog4.webp')
}

.post-header.banner-5 {
    background-image: linear-gradient(to bottom right, rgba(8, 12, 36, 0.88) 0%, rgba(8, 12, 36, 0.55) 100%), url('../img/blog/banner-blog5.webp')
}

.post-header.banner-6 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(to bottom right, rgba(8, 12, 36, 0.88) 0%, rgba(8, 12, 36, 0.55) 100%), url('../img/blog/banner-blog6.webp')
}

.post-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(250, 67, 24, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(250, 67, 24, 0.09) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none
}

.post-header::after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    top: 50%;
    right: -140px;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(250, 67, 24, 0.22) 0%, transparent 70%);
    pointer-events: none
}

.post-meta,
.post-header h1,
.post-header .post-excerpt {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.post-category {
    display: inline-block;
    background: rgba(250, 67, 24, 0.16);
    border: 1px solid rgba(250, 67, 24, 0.5);
    color: #ff8a6b;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px
}

.post-meta time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em
}

.post-header h1 {
    margin: 0 auto 20px;
    font-family: var(--heading-font);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #fff
}

.post-header .post-excerpt {
    margin: 0 auto;
    max-width: 680px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82)
}

.main-content {
    background: #fff;
    padding: 0 0 80px
}

.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 24px 0
}

.post-content {
    color: var(--paragraph-color);
    font-size: var(--body-font-size);
    line-height: var(--line-height30)
}

.post-content>section {
    margin-bottom: 44px
}

.post-content h2 {
    font-family: var(--heading-font);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--heading-color);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border-color);
    position: relative
}

.post-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 64px;
    height: 2px;
    background: var(--main-color)
}

.post-content h3 {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 30px 0 14px
}

.post-content h4 {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 24px 0 12px
}

.post-content p {
    margin: 0 0 18px
}

.post-content a {
    color: var(--main-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(250, 67, 24, 0.35);
    transition: all 0.25s ease
}

.post-content a:hover {
    color: var(--main-color-dark);
    border-bottom-color: var(--main-color)
}

.post-content ul,
.post-content ol {
    margin: 0 0 20px;
    padding-left: 0;
    list-style: none
}

.post-content ul li {
    position: relative;
    padding: 8px 0 8px 30px
}

.post-content ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 17px;
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: var(--main-color);
    transform: rotate(45deg)
}

.post-content ol {
    counter-reset: list
}

.post-content ol li {
    counter-increment: list;
    position: relative;
    padding: 8px 0 8px 34px
}

.post-content ol li::before {
    content: counter(list);
    position: absolute;
    left: 0;
    top: 9px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(250, 67, 24, 0.12);
    color: var(--main-color);
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center
}

.post-content strong {
    color: var(--heading-color);
    font-weight: 600
}

.post-content ul.checklist li::before {
    content: '✓';
    font-size: 13px;
    font-weight: 700;
    color: var(--main-color);
    background: rgba(250, 67, 24, 0.12);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    top: 10px
}

.post-content .highlight {
    background: linear-gradient(135deg, rgba(250, 67, 24, 0.09), rgba(250, 67, 24, 0.04));
    border: 1px solid rgba(250, 67, 24, 0.25);
    border-left: 4px solid var(--main-color);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 8px 0 20px;
    font-size: 16px;
    color: var(--heading-color)
}

.post-content table.evaluation-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 8px 0 22px;
    font-size: 14.5px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm)
}

.post-content .evaluation-table th {
    background: var(--heading-color);
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 18px
}

.post-content .evaluation-table td {
    padding: 13px 18px;
    border-top: 1px solid var(--border-color);
    vertical-align: top
}

.post-content .evaluation-table tbody tr:nth-child(even) {
    background: var(--bg-soft)
}

.post-content .evaluation-table tbody tr:hover {
    background: rgba(250, 67, 24, 0.05)
}

.maturity-levels {
    display: grid;
    gap: 16px;
    margin: 8px 0 24px
}

.maturity-levels .level {
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px 22px 18px 68px;
    transition: all 0.3s ease
}

.maturity-levels .level::before {
    content: attr(class);
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--heading-color);
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center
}

.maturity-levels .level h4 {
    margin: 0 0 6px;
    font-size: 17px
}

.maturity-levels .level p {
    margin: 0;
    font-size: 14.5px
}

.maturity-levels .level:hover {
    border-color: rgba(250, 67, 24, 0.4);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px)
}

.maturity-levels .level-5::before {
    background: var(--main-color)
}

.score-ranges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 8px 0 24px
}

.score-card {
    border-radius: var(--radius);
    padding: 26px 24px;
    border: 1px solid var(--border-color);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease
}

.score-card h3 {
    margin: 0 0 12px;
    font-size: 18px
}

.score-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7
}

.score-card.low {
    border-top: 4px solid #3eb873
}

.score-card.low h3 {
    color: #2d8f58
}

.score-card.medium {
    border-top: 4px solid #f0a500
}

.score-card.medium h3 {
    color: #d18a00
}

.score-card.high {
    border-top: 4px solid var(--main-color)
}

.score-card.high h3 {
    color: var(--main-color-dark)
}

.score-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md)
}

.decision-matrix {
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin: 8px 0 24px;
    box-shadow: var(--shadow-sm)
}

.decision-matrix .evaluation-table {
    margin: 0
}

.post-footer {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color)
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px
}

.post-tags span {
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    color: var(--paragraph-color);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 100px;
    transition: all 0.25s ease
}

.post-tags span:hover {
    color: var(--main-color);
    border-color: rgba(250, 67, 24, 0.4);
    background: rgba(250, 67, 24, 0.06)
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--heading-color);
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 8px;
    transition: all 0.28s ease;
    box-shadow: var(--shadow-sm)
}

.btn-back:hover {
    background: var(--main-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff
}

@media (max-width:991px) {
    .post-header {
        padding: 64px 0 56px
    }

    .post-header h1 {
        font-size: 34px
    }

    .cta-banner h2 {
        font-size: 30px
    }

    .cta-deco {
        font-size: 100px
    }
}

@media (max-width:767px) {
    .post-header h1 {
        font-size: 28px
    }

    .post-header .post-excerpt {
        font-size: 16px
    }

    .main-content {
        padding: 0 0 56px
    }

    .blog-post {
        padding: 44px 16px 0
    }

    .post-content h2 {
        font-size: 24px
    }

    .post-content h3 {
        font-size: 19px
    }

    .post-content .evaluation-table {
        font-size: 13px
    }

    .post-content .evaluation-table th,
    .post-content .evaluation-table td {
        padding: 10px 12px
    }

    .maturity-levels .level {
        padding-left: 60px
    }

    .cta-banner {
        padding: 56px 0
    }

    .cta-banner h2 {
        font-size: 26px
    }

    .cta-deco {
        font-size: 80px
    }
}

@media (max-width:480px) {
    .post-header h1 {
        font-size: 24px
    }
}

/* Accessibility Color Contrast Fixes */
.widget-h6-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #e5e7eb;
    margin-bottom: 12px
}

.single-footer-top h3,
.footer-widget h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #f3f4f6
}

.footer-top p,
.footer-bottom-area p {
    color: #d1d5db !important
}

p,
.section-lead,
.blog-card-excerpt {
    color: #374151
}