/* ========================================
   ComplyOn - Estilos Corporativos
   ======================================== */

/* Reset y Variables */
:root {
    /* Colores principales - ComplyOn Brand */
    --primary-color: #0D2E47;
    --primary-dark: #071a2b;
    --primary-light: #1a4562;
    
    --secondary-color: #168592;
    --secondary-dark: #0f5f69;
    
    /* Colores de texto - ComplyOn Brand */
    --text-dark: #0D2E47;
    --text-medium: #1a4562;
    --text-light: #168592;
    
    /* Colores de fondo */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    
    /* Colores de estado */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Transiciones */
    --transition: all 0.15s ease;
    
    /* Tipografía */
    --font-main: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif;
}

/* Brand "On" styling - Teal color como en el logo */
.brand-on {
    color: #168592;
    font-weight: inherit;
}

/* Variantes de brand-on según contexto */
strong .brand-on {
    font-weight: 700;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: #0D2E47;
    line-height: 1.6;
    background-color: #f5f5f5;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.92) 100%),
                      url('../images/Header-web-v3.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Responsive background-size para imagen 2560x1080 */
@media (min-width: 2560px) {
    body {
        background-size: 100% auto;
    }
}

@media (max-width: 2559px) and (min-width: 1920px) {
    body {
        background-size: cover;
    }
}

@media (max-width: 1919px) {
    body {
        background-size: auto 100%;
    }
}

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

/* ========================================
   Navegación
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

/* Logo Image */
.logo-img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #1a4562;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0D2E47;
    transition: var(--transition);
}

.nav-link:hover {
    color: #0D2E47;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.btn-contact {
    background: #0D2E47;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
}

.nav-link.btn-contact::after {
    display: none;
}

.nav-link.btn-contact:hover {
    background: #071a2b;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e8f2f5;
    background-image: linear-gradient(135deg, rgba(13, 46, 71, 0.60) 0%, rgba(22, 133, 146, 0.50) 100%), 
                      url('../images/Header-web-v3.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Responsive background-size para hero con imagen 2560x1080 */
@media (min-width: 2560px) {
    .hero-background {
        background-size: 100% auto;
    }
}

@media (max-width: 2559px) and (min-width: 1920px) {
    .hero-background {
        background-size: cover;
    }
}

@media (max-width: 1919px) {
    .hero-background {
        background-size: auto 100%;
    }
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(22, 133, 146, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 46, 71, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-top: 60px;
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .brand-on {
    color: white;
    text-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-main-text {
    position: absolute;
    bottom: 220px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    max-width: 95%;
    width: 95%;
    margin: 0;
    text-align: center;
    font-weight: 500;
    padding: 0 40px;
    opacity: 1 !important;
    will-change: auto !important;
}

.hero-hashtag {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.3);
    animation: fadeInUp 0.25s ease 0.1s both;
    text-align: center;
}



.hero-tags {
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
    opacity: 1 !important;
    will-change: auto !important;
}

.tag {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #168592;
    color: #168592;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.tag:hover {
    background: #168592;
    color: white;
    transform: translateY(-3px) scale(1.05);
}

.hero-buttons {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
    opacity: 1 !important;
    will-change: auto !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #0D2E47;
    color: white;
    box-shadow: 0 4px 16px rgba(13, 46, 71, 0.3);
}

.btn-primary:hover {
    background: #071a2b;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 24px rgba(13, 46, 71, 0.4);
}

.btn-secondary {
    background: white;
    color: #0D2E47;
    border: 2px solid #0D2E47;
}

.btn-secondary:hover {
    background: #0D2E47;
    color: white;
    transform: translateY(-4px) scale(1.03);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(13, 46, 71, 0.1);
    backdrop-filter: blur(10px);
}

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

.stat-card i {
    font-size: 40px;
    color: #168592;
    margin-bottom: 16px;
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 800;
    color: #0D2E47;
    margin-bottom: 8px;
}

.stat-card p {
    font-size: 14px;
    color: #168592;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 1.2s infinite;
}

.scroll-indicator i {
    font-size: 24px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   Secciones Generales
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #0D2E47, #168592);
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-tag .brand-on {
    color: white;
    opacity: 0.95;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #0D2E47;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: #1a4562;
    line-height: 1.8;
}

/* ========================================
   Sobre Nosotros
   ======================================== */
.about-section {
    background-color: #f8f9fa;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
                      url('../images/Header-web-v3.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* Responsive para sección About */
@media (min-width: 2560px) {
    .about-section {
        background-size: 100% auto;
    }
}

@media (max-width: 1919px) {
    .about-section {
        background-size: auto 100%;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0D2E47;
    margin-bottom: 16px;
    line-height: 1.3;
}

.about-text p {
    font-size: 16px;
    color: #1a4562;
    margin-bottom: 16px;
    line-height: 1.7;
}
    line-height: 1.8;
}

.about-features {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: start;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #168592;
    box-shadow: 0 2px 8px rgba(13, 46, 71, 0.06);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(13, 46, 71, 0.12);
}

.feature-item i {
    font-size: 28px;
    color: #168592;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0D2E47;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 14px;
    color: #1a4562;
    margin: 0;
    line-height: 1.5;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.visual-card {
    background: linear-gradient(135deg, #0D2E47, #071a2b);
    padding: 40px;
    border-radius: 20px;
    color: white;
    transition: var(--transition);
}

.visual-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.visual-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.visual-icon i {
    font-size: 28px;
}

.visual-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.visual-card p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.95;
}

/* ========================================
   Metodología
   ======================================== */
.methodology-section {
    background-color: #f8f9fa;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
                      url('../images/Header-web-v3.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* Responsive para sección Methodology */
@media (min-width: 2560px) {
    .methodology-section {
        background-size: 100% auto;
    }
}

@media (max-width: 1919px) {
    .methodology-section {
        background-size: auto 100%;
    }
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: stretch;
}

.methodology-card {
    background: white;
    padding: 30px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.methodology-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: #0D2E47;
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(13, 46, 71, 0.08);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0D2E47, #168592);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition);
}

.methodology-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card-icon i {
    font-size: 28px;
    color: white;
}

.methodology-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0D2E47;
    margin-bottom: 10px;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.methodology-card p {
    font-size: 14px;
    color: #1a4562;
    line-height: 1.6;
    margin-bottom: 14px;
}

.card-list {
    list-style: none;
}

.card-list li {
    font-size: 13px;
    color: #168592;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-list i {
    color: #168592;
    font-size: 12px;
}

/* ========================================
   Servicios
   ======================================== */
.services-section {
    background-color: #f8f9fa;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
                      url('../images/Header-web-v3.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* Responsive para sección Services */
@media (min-width: 2560px) {
    .services-section {
        background-size: 100% auto;
    }
}

@media (max-width: 1919px) {
    .services-section {
        background-size: auto 100%;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 20px;
    padding: 22px 20px;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: #0D2E47;
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border-color: #0D2E47;
    background: linear-gradient(135deg, #f5f8fa 0%, #eaf3f5 100%);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, #168592, #0f5f69);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(22, 133, 146, 0.4);
}

.service-header {
    margin-bottom: 12px;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: var(--transition);
}

.service-icon:hover {
    transform: translateY(-6px) scale(1.1) rotate(5deg);
}

.service-icon.compliance {
    background: linear-gradient(135deg, #168592, #0D2E47);
    box-shadow: 0 4px 20px rgba(22, 133, 146, 0.3);
}

.service-icon.consulting {
    background: linear-gradient(135deg, #168592, #0f5f69);
    box-shadow: 0 4px 20px rgba(22, 133, 146, 0.3);
}

.service-icon.mentoring {
    background: linear-gradient(135deg, #0D2E47, #168592);
    box-shadow: 0 4px 20px rgba(13, 46, 71, 0.3);
}

.service-icon i {
    font-size: 26px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0D2E47;
    line-height: 1.3;
}

.service-description {
    font-size: 14px;
    color: #1a4562;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-features li {
    font-size: 14px;
    color: #1a4562;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: #168592;
    font-size: 14px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0D2E47;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

.comparison-box {
    background: linear-gradient(135deg, #f8f9fa, #e8f2f5);
    border-radius: 20px;
    padding: 30px 35px;
    border: 2px solid #0D2E47;
}

.comparison-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0D2E47;
    text-align: center;
    margin-bottom: 24px;
}

.comparison-box h3 i {
    color: #168592;
    margin-right: 10px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
    max-width: 100%;
}

.comparison-item {
    min-width: 0;
}

.comparison-item:nth-child(2) {
    padding-left: 20px;
}

.comparison-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0D2E47;
    margin-bottom: 14px;
}

.comparison-item ul {
    list-style: none;
}

.comparison-item li {
    font-size: 14px;
    color: #1a4562;
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
}

.comparison-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #168592;
    font-weight: 700;
    font-size: 18px;
}

/* ========================================
   Entregables
   ======================================== */
.deliverables-section {
    background-color: #f8f9fa;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
                      url('../images/Header-web-v3.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
}

/* Responsive para sección Entregables */
@media (min-width: 2560px) {
    .deliverables-section {
        background-size: 100% auto;
    }
}

@media (max-width: 1919px) {
    .deliverables-section {
        background-size: auto 100%;
    }
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.deliverable-card {
    background: white;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border-top: 4px solid #168592;
}

.deliverable-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.deliverable-number {
    position: absolute;
    top: -18px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0D2E47, #168592);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    box-shadow: var(--shadow-md);
}

.deliverable-icon {
    margin: 24px 0 16px;
    transition: var(--transition);
}

.deliverable-card:hover .deliverable-icon {
    transform: scale(1.15) rotate(5deg);
}

.deliverable-icon i {
    font-size: 32px;
    color: #0D2E47;
}

.deliverable-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0D2E47;
    margin-bottom: 12px;
}

.deliverable-card p {
    font-size: 14px;
    color: #1a4562;
    line-height: 1.6;
}

/* ========================================
   Timeline / Roadmap Corporativo
   ======================================== */
.timeline-section {
    background-color: #f8f9fa;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
                      url('../images/Header-web-v3.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    margin: 0;
    width: 100%;
    overflow: visible;
}

/* Contenedor interno para centrar el contenido de timeline */
.timeline-section > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Responsive para sección Timeline */
@media (min-width: 2560px) {
    .timeline-section {
        background-size: 100% auto;
    }
}

@media (max-width: 1919px) {
    .timeline-section {
        background-size: auto 100%;
    }
}

.timeline-main-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color: #0D2E47;
    margin-bottom: 15px;
}

.timeline-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: #1a4562;
    font-size: 16px;
    line-height: 1.7;
}

/* Roadmap Steps - Centrado */
.roadmap-steps {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.roadmap-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

/* Iconos corporativos circulares */
.step-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #168592, #0D2E47);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 24px rgba(22, 133, 146, 0.35);
    position: relative;
    z-index: 2;
    transition: all 0.2s ease;
}

.roadmap-step:hover .step-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(22, 133, 146, 0.5);
}

.step-icon-wrapper i {
    font-size: 42px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Líneas curvas conectoras - estilo elegante */
.step-connector-elegant {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, #168592, rgba(22, 133, 146, 0.3));
    z-index: 1;
}

/* Decoración con puntos */
.step-connector-elegant::before,
.step-connector-elegant::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #168592;
    border-radius: 50%;
}

.step-connector-elegant::before {
    top: 20px;
}

.step-connector-elegant::after {
    bottom: 20px;
}

.step-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(13, 46, 71, 0.12);
    transition: all 0.2s ease;
    border: 3px solid transparent;
    text-align: center;
    max-width: 700px;
    width: 100%;
}

.roadmap-step:nth-child(odd) .step-content {
    border-color: rgba(22, 133, 146, 0.3);
}

.roadmap-step:nth-child(even) .step-content {
    border-color: rgba(13, 46, 71, 0.3);
}

.step-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(13, 46, 71, 0.16);
    border-color: #168592;
}

.step-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.step-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #168592, #0D2E47);
    color: white;
    border-radius: 10px;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(22, 133, 146, 0.3);
}

.step-duration {
    background: linear-gradient(135deg, #0D2E47, #168592);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.step-title {
    font-size: 24px;
    font-weight: 800;
    color: #0D2E47;
    margin-bottom: 15px;
}

.step-description {
    color: #1a4562;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.step-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.highlight-tag {
    background: linear-gradient(135deg, rgba(22, 133, 146, 0.1), rgba(13, 46, 71, 0.05));
    color: #168592;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(22, 133, 146, 0.2);
    transition: all 0.2s ease;
}

.highlight-tag:hover {
    background: linear-gradient(135deg, rgba(22, 133, 146, 0.2), rgba(13, 46, 71, 0.1));
    border-color: #168592;
}

/* Indicador de progreso total */
.timeline-progress {
    text-align: center;
    margin-top: 60px;
    padding: 35px;
    background: linear-gradient(135deg, rgba(22, 133, 146, 0.08), rgba(13, 46, 71, 0.05));
    border-radius: 20px;
    border: 2px dashed #168592;
}

.progress-title {
    font-size: 20px;
    font-weight: 700;
    color: #0D2E47;
    margin-bottom: 20px;
}

.progress-title i {
    color: #168592;
    margin-right: 10px;
    font-size: 22px;
}

.progress-bar-container {
    max-width: 600px;
    margin: 0 auto;
    height: 14px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0D2E47, #168592);
    width: 100%;
    border-radius: 10px;
    animation: progressAnimation 1s ease-out;
}

@keyframes progressAnimation {
    from { width: 0%; }
    to { width: 100%; }
}

.progress-info {
    margin-top: 18px;
    color: #1a4562;
    font-size: 15px;
    line-height: 1.6;
}

.progress-info strong {
    color: #0D2E47;
    font-weight: 700;
}

/* ========================================
   Contacto
   ======================================== */
.contact-section {
    background: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0D2E47;
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    color: #1a4562;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    align-items: start;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0D2E47, #168592);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 20px;
    color: white;
}

.contact-detail h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0D2E47;
    margin-bottom: 6px;
}

.contact-detail p {
    font-size: 15px;
    color: #168592;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0D2E47;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: #0D2E47;
    color: white;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 20px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #0D2E47;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-main);
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0D2E47;
    box-shadow: 0 0 0 3px rgba(13, 46, 71, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    grid-column: 1 / -1;
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 8px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #168592;
}

.form-checkbox label {
    flex: 1;
    font-size: 14px;
    color: #1a4562;
    line-height: 1.6;
    cursor: pointer;
    font-weight: 400;
}

.form-checkbox label a {
    color: #168592;
    text-decoration: none;
    font-weight: 600;
}

.form-checkbox label a:hover {
    text-decoration: underline;
}

.contact-form .btn {
    grid-column: 1 / -1;
    justify-content: center;
}

.form-message {
    grid-column: 1 / -1;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(135deg, #0D2E47 0%, #071a2b 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0D2E47, #168592, #0D2E47);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
    color: white;
}

.footer-brand .brand-on {
    color: #168592;
}

.footer-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-text {
    margin-top: 16px;
    line-height: 1.7;
}

.footer-column h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-column p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #168592;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column li {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column a:hover {
    color: #168592;
    transform: translateX(5px);
}

.footer-column a i {
    font-size: 10px;
    opacity: 0.6;
    transition: var(--transition);
}

.footer-column a:hover i {
    opacity: 1;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social-link:hover {
    background: #168592;
    transform: translateY(-3px);
}

/* Footer Contact Section */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-contact li i {
    color: #168592;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li span {
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal-title {
    margin-top: 32px !important;
}

/* Footer Bottom */
.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .brand-on {
    color: #168592;
    font-weight: 700;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Logo responsive tablet */
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 32px;
    }
    
    .logo {
        gap: 6px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-main-text {
        font-size: 22px;
        padding: 0 15px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .deliverables-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Resetear el centrado en tablet - mostrar normal 2x3 */
    .deliverable-card:nth-child(4),
    .deliverable-card:nth-child(5) {
        grid-column: auto;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
    
    /* Roadmap responsive tablet */
    .roadmap-step {
        margin-bottom: 40px;
    }

    .step-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .step-icon-wrapper i {
        font-size: 36px;
    }

    .step-connector-elegant {
        height: 60px;
    }

    .step-content {
        padding: 30px;
    }

    .timeline-section {
        padding: 40px 30px;
    }
}

@media (max-width: 640px) {
    /* Logo responsive móvil */
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 26px;
    }
    
    .logo {
        gap: 5px;
    }
}

/* Logo más grande para móviles pequeños (390px) */
@media (max-width: 480px) {
    .navbar {
        overflow: visible;
    }
    
    .nav-wrapper {
        padding: 5px 15px; /* Navbar muy compacto */
        align-items: center; /* Centrar verticalmente todos los elementos */
        min-height: 50px; /* Altura mínima del navbar */
    }
    
    .logo {
        z-index: 10;
        margin: 0;
        padding: 0;
    }
    
    .logo-img {
        width: 80px;
        height: 80px;
        display: block;
    }
    
    .menu-toggle {
        align-self: center; /* Centrar el botón hamburguesa */
        margin: 0;
        padding: 8px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-main-text {
        font-size: 20px;
        padding: 0 10px;
        bottom: 340px; /* Elevado hasta la línea roja marcada */
    }
    
    .hero-hashtag {
        font-size: 26px;
    }
    
    .hero-tags {
        bottom: 220px; /* Elevado para evitar superposición con botón "Comienza Ahora" */
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .deliverables-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .comparison-box {
        padding: 30px 20px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline-section {
        padding: 40px 20px;
    }

    /* Roadmap móvil */
    .roadmap-step {
        margin-bottom: 35px;
    }

    .step-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .step-icon-wrapper i {
        font-size: 30px;
    }

    .step-connector-elegant {
        height: 50px;
    }

    .step-connector-elegant::before,
    .step-connector-elegant::after {
        width: 6px;
        height: 6px;
    }

    .step-content {
        padding: 25px 20px;
    }

    .step-header {
        gap: 8px;
    }

    .step-number-badge {
        min-width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .step-duration {
        font-size: 11px;
        padding: 6px 14px;
    }

    .step-title {
        font-size: 20px;
    }

    .step-description {
        font-size: 14px;
    }

    .highlight-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .timeline-progress {
        padding: 25px 20px;
    }

    .progress-title {
        font-size: 18px;
    }

    .progress-info {
        font-size: 14px;
    }

    .timeline-main-title {
        font-size: 26px;
    }

    .timeline-intro {
        font-size: 15px;
    }
}

/* ========================================
   Banner de Cookies
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0D2E47;
    color: white;
    padding: 24px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0) !important;
    display: block !important;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-icon {
    font-size: 40px;
    color: #168592;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.cookie-text p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cookie-link {
    color: #168592;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cookie-link:hover {
    color: #1a9aa8;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Trebuchet MS', sans-serif;
}

.cookie-btn-accept {
    background: #168592;
    color: white;
}

.cookie-btn-accept:hover {
    background: #1a9aa8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 133, 146, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Cookies Banner */
@media (max-width: 968px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-icon {
        font-size: 32px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .cookie-banner {
        padding: 20px 16px;
    }
    
    .cookie-icon {
        font-size: 28px;
    }
    
    .cookie-text h4 {
        font-size: 16px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer responsive para móvil */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-about {
        padding-right: 0;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* =========================================
   ESTILOS ESPECÍFICOS BLOG (MAGAZINE)
   ========================================= */

/* Contenedor Principal */
.blog-magazine-container {
    padding-bottom: 80px;
    background-color: #f8f9fa;
    min-height: 80vh;
}

.blog-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* En escritorio: 65% para destacado, 30% para barra lateral */
@media (min-width: 992px) {
    .blog-layout-grid {
        grid-template-columns: 65% 30%;
        justify-content: space-between;
    }
}

/* Artículo Grande (Izquierda) */
.big-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.big-blog-image {
    height: 400px;
    overflow: hidden;
}

.big-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.big-blog-card:hover .big-blog-image img {
    transform: scale(1.03);
}

.big-blog-content {
    padding: 35px;
}

.big-blog-content h2 {
    color: #0D2E47; /* Azul ComplyOn */
    font-size: 2rem;
    margin: 15px 0 20px;
    line-height: 1.3;
}

.big-blog-content .excerpt {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.btn-read-more-big {
    display: inline-block;
    background-color: #168592; /* Teal ComplyOn */
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-read-more-big:hover {
    background-color: #0D2E47;
}

/* Barra Lateral (Derecha) */
.sidebar-title {
    color: #0D2E47;
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #168592;
}

.sidebar-scroll-container {
    max-height: 650px; /* Altura para el scroll */
    overflow-y: auto;
    padding-right: 10px;
}

/* Estilo Scrollbar personalizado */
.sidebar-scroll-container::-webkit-scrollbar { width: 6px; }
.sidebar-scroll-container::-webkit-scrollbar-track { background: #f1f1f1; }
.sidebar-scroll-container::-webkit-scrollbar-thumb { background: #168592; border-radius: 4px; }

/* Mini Tarjetas */
.small-blog-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.small-blog-card:hover {
    transform: translateX(5px);
}

.small-blog-image {
    flex: 0 0 110px;
    height: 100px;
}

.small-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-blog-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.small-blog-content h4 a {
    color: #0D2E47;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
    transition: color 0.3s;
}

.small-blog-content h4 a:hover {
    color: #168592;
}

.blog-date, .small-date {
    color: #168592;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 5px;
    display: block;
}

/* Estilo Menú Activo */
.nav-link.active-category {
    color: #168592 !important;
    position: relative;
}
.nav-link.active-category::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #168592;
    margin-top: 5px;
}
/* =========================================
   ESTILOS PARA PÁGINAS DE CATEGORÍA (GRID)
   ========================================= */

/* 1. Header Tipo Aviso Legal */
.category-header-bar {
    background-color: #0D2E47; /* Azul Oscuro */
    padding: 20px 0;
    position: sticky;
    top: 84px; /* Altura del navbar para que se pegue justo debajo */
    z-index: 999; /* Menos que navbar para que quede debajo */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.back-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Trebuchet MS', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #168592; /* Turquesa */
}

/* 2. Sección de Título */
.category-title-section {
    padding: 180px 0 40px; /* Aumentado para compensar navbar (84px) + category-header-bar (64px) + espacio (32px) */
    text-align: center;
}

.category-title-section h1 {
    color: #0D2E47;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.category-title-section p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.separator-line {
    width: 80px;
    height: 4px;
    background-color: #168592;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 3. Grid de Artículos */
.category-grid-container {
    padding-bottom: 100px;
    min-height: 60vh; /* Asegura que el footer no suba si hay pocos artículos */
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* 4. Tarjeta de Artículo (Estándar) */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-date {
    color: #168592;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.blog-card h3 {
    color: #0D2E47;
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-link {
    color: #0D2E47;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
    margin-top: auto;
}

.read-more-link:hover {
    color: #168592;
}

/* ========================================
   MEDIA QUERIES - DELIVERABLES GRID
   ======================================== */

/* Tablets grandes y laptops pequeñas (1024px - 1366px) */
@media (max-width: 1366px) {
    .deliverables-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
    
    .deliverable-card {
        padding: 20px 16px;
    }
    
    .deliverable-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .deliverable-card p {
        font-size: 13px;
    }
    
    .deliverable-icon i {
        font-size: 28px;
    }
}

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) {
    .deliverables-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .deliverable-card {
        padding: 24px 20px;
    }
}

/* Móviles (menos de 768px) */
@media (max-width: 767px) {
    .deliverables-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .deliverable-card {
        padding: 30px 24px;
    }
    
    .deliverable-number {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
    
    .deliverable-icon i {
        font-size: 36px;
    }
    
    .deliverable-card h3 {
        font-size: 18px;
    }
    
    .deliverable-card p {
        font-size: 15px;
    }
}