/* ===== RAILNET CSS COMPLETO OPTIMIZADO (SIN HERO) - MENU CORREGIDO ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    height: 100%;
    overflow-x: hidden;
}

/* ===== HEADER NAVIGATION MEJORADO Y CORREGIDO ===== */
.header {
    background: rgba(0, 0, 0, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
    min-height: 70px;
}

.logo {
    z-index: 1002; /* Aumentado para estar sobre el menú */
}

.logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.logo a:hover {
    color: #ff6b35;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

/* ===== HAMBURGER BUTTON - CORREGIDO ===== */
.hamburger {
    display: none; /* Oculto por defecto en desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002; /* Mismo nivel que logo */
    position: relative;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: #ff6b35;
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: #ff6b35;
}

/* ===== NAVIGATION MENU - CORREGIDO ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative; /* Desktop normal */
    z-index: 1001;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #ff6b35;
    transform: translateY(-2px);
}

/* ===== CONTACT BUTTONS ===== */
.contact-btn {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #cc4d24);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.mobile-contact {
    display: none;
}

.desktop-contact {
    display: block;
}

/* ===== PREVENT BODY SCROLL CUANDO MENU ESTÁ ABIERTO ===== */
.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Container Global */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    color: #ff6b35;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 2px;
}

/* Solutions Section */
.solutions {
    padding: 6rem 0;
    background: #f8f9fa;
    overflow: hidden;
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.solutions-text {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 3rem;
    max-width: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.solutions-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 20px 20px 0 0;
}

.solutions-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.solutions-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
    word-wrap: break-word;
}

.solutions-text p:last-of-type {
    margin-bottom: 2rem;
}

.highlighted-text {
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin: 0 2px;
}

.solutions-image {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    position: relative;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    transition: all 0.3s ease;
}

.solutions-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.solutions-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.solutions-image:hover img {
    transform: scale(1.05);
}

/* What We Do Section */
.what-we-do {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.15);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

.service-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: #2d3748;
    font-weight: 700;
}

.service-card p {
    line-height: 1.7;
    color: #4a5568;
    font-size: 1.05rem;
}

.service-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #e55a2b;
    transform: translateX(5px);
}

.more-info-btn {
    margin: 3rem auto 0;
    display: block;
    width: fit-content;
}

/* Strategies Section */
.strategies {
    padding: 6rem 0;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.strategies .section-title {
    color: white;
}

.strategies .section-title::after {
    background: linear-gradient(135deg, #ff6b35, #ffa500);
}

.strategy-slider {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.strategy-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.strategy-card {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    align-items: center;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.strategy-icon {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e2e8f0);
    height: 100%;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.strategy-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.strategy-card:hover .strategy-icon img {
    transform: scale(1.05);
}

.strategy-content {
    background: linear-gradient(135deg, #2d3748, #4a5568);
    color: white;
    padding: 3rem;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.strategy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
}

.strategy-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.strategy-content p {
    line-height: 1.8;
    font-size: 1.05rem;
    opacity: 0.95;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot.active {
    background: #ff6b35;
    border-color: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 107, 53, 0.7);
}

.slider-nav {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: bold;
}

.slider-nav:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    transform: scale(1.1);
}

/* Alliances Section */
.alliances {
    padding: 6rem 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.partner-logo {
    height: 100px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #4a5568;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
    border-color: #ff6b35;
    color: #ff6b35;
}

/* Our Services Section */
.our-services {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.our-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,107,53,0.1)"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="10" cy="10" r="1" fill="url(%23a)"/><circle cx="30" cy="5" r="1" fill="url(%23a)"/><circle cx="70" cy="15" r="1" fill="url(%23a)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.services-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 4rem;
    font-weight: 300;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-section {
    position: relative;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transform: translateY(0);
}

.service-section[data-bg="tracker"] {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), 
                      url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
}

.service-section[data-bg="forwarder"] {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), 
                      url('https://images.unsplash.com/photo-1586953208448-b95a79798f07?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
}

.service-section[data-bg="consulting"] {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), 
                      url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.8), rgba(229,90,43,0.9));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.service-section:hover .service-overlay {
    opacity: 1;
}

.service-section:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    z-index: 10;
}

.service-section-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: all 0.4s ease;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.service-section:hover .service-icon-large {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255,255,255,0.4);
}

.service-section h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.service-section p {
    line-height: 1.7;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    opacity: 0.95;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-features {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.service-section:hover .feature-tag {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.service-cta {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(255,107,53,0.3);
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.service-cta:hover::before {
    left: 100%;
}

.service-cta:hover {
    background: linear-gradient(135deg, #e55a2b, #cc4d24);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,107,53,0.5);
}

/* Start Point Section */
.start-point {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
}

.process-container {
    max-width: 1000px;
    margin: 3rem auto 0;
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #2d3748;
    font-weight: 700;
    line-height: 1.3;
}

.step-content p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.05rem;
}

.central-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.central-logo:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.4);
}

/* Details Section */
.details {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.details-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-column {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,107,53,0.1);
    height: 100%;
}

.service-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255,107,53,0.15);
    border-color: rgba(255,107,53,0.3);
}

.column-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.header-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-column:hover .header-image img {
    transform: scale(1.05);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.8), rgba(229,90,43,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-column:hover .header-overlay {
    opacity: 1;
}

.header-overlay svg {
    color: white;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.column-header h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.column-content {
    padding: 2rem 1.5rem;
}

.compact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.compact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.compact-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.compact-list li:hover {
    transform: translateX(5px);
}

.list-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255,107,53,0.2);
    transition: all 0.3s ease;
}

.compact-list li:hover .list-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255,107,53,0.3);
}

.list-content {
    flex: 1;
}

.list-content strong {
    display: block;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.list-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.stats-section {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255,107,53,0.3);
    background: linear-gradient(135deg, #fff, #f8fafc);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compact-cta {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.compact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><circle cx="10" cy="10" r="1" fill="rgba(255,107,53,0.1)"/><circle cx="30" cy="5" r="1" fill="rgba(255,107,53,0.1)"/><circle cx="70" cy="15" r="1" fill="rgba(255,107,53,0.1)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.cta-content {
    flex: 1;
    color: white;
}

.cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin: 0;
}

.cta-button {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255,107,53,0.3);
    white-space: nowrap;
}

.cta-button:hover {
    background: linear-gradient(135deg, #e55a2b, #cc4d24);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,107,53,0.4);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(3px);
}

/* CTA Button General */
.cta-btn {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #cc4d24);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

/* Animaciones (sin fadeInUp y pulse que ya están en hero.css) */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll margin para secciones */
section {
    scroll-margin-top: 80px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-list {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .contact-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .compact-cta {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }
}

/* ===== MOBILE STYLES - CORREGIDOS ===== */
@media (max-width: 768px) {
    /* Header Mobile - COMPLETAMENTE CORREGIDO */
    .hamburger {
        display: flex; /* MOSTRAR en móvil */
        z-index: 1002;
    }
    
    .desktop-contact {
        display: none; /* OCULTAR en móvil */
    }
    
    /* MENÚ MÓVIL - CONFIGURACIÓN CORREGIDA */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* OCULTO inicialmente */
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(51, 65, 85, 0.98));
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1001; /* DEBAJO del hamburger y logo */
        padding: 2rem;
    }
    
    /* MENÚ ACTIVO - CLASE CORREGIDA */
    .nav-menu.active {
        right: 0; /* MOSTRAR cuando está activo */
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
        width: 90%;
        max-width: 300px;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 700;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background: rgba(255, 107, 53, 0.2);
        border-color: #ff6b35;
        color: #ff6b35;
        transform: scale(1.05);
    }
    
    .nav-link::after {
        display: none; /* QUITAR underline effect en móvil */
    }
    
    .mobile-contact {
        display: block; /* MOSTRAR en móvil */
        width: 90%;
        max-width: 250px;
        padding: 1rem;
        text-align: center;
        margin-top: 1rem;
        animation: pulse 2s infinite;
    }
    
    .nav-container {
        padding: 0.8rem 1rem;
        min-height: 70px;
    }
    
    /* Secciones generales */
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .central-logo {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .cta-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Our Services Mobile */
    .our-services {
        padding: 6rem 0;
    }
    
    .services-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .service-section {
        min-height: 450px;
    }
    
    .service-section-content {
        padding: 2rem;
    }
    
    .service-section h3 {
        font-size: 1.8rem;
    }
    
    .service-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .service-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Details Mobile */
    .details {
        padding: 4rem 0;
    }
    
    .column-header {
        height: 150px;
    }
    
    .column-header h3 {
        font-size: 1.1rem;
        padding: 1.5rem 1rem 1rem;
    }
    
    .column-content {
        padding: 1.5rem 1rem;
    }
    
    .compact-list li {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    
    .list-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .list-content strong {
        font-size: 0.9rem;
    }
    
    .list-content p {
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .compact-cta {
        padding: 2rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Grid Responsive */
    .solutions-content,
    .strategy-card,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .central-logo {
        position: static;
        transform: none;
        margin: 2rem auto;
    }
    
    .solutions-image {
        order: -1;
    }
    
    section {
        scroll-margin-top: 70px;
    }
}

/* Mobile Pequeño */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem;
    }
    
    .logo a {
        font-size: 1.2rem;
    }
    
    .hamburger {
        width: 28px;
        height: 22px;
    }
    
    .hamburger-line {
        height: 2px;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .mobile-contact {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
    /* Las reglas específicas de hero ya están en hero.css */
}

/* Landscape en móvil */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu.active {
        padding: 1rem;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.7rem;
        font-size: 1rem;
    }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
    .nav-link:active {
        background: rgba(255, 107, 53, 0.2);
        border-color: #ff6b35;
    }
    
    .hamburger:active .hamburger-line {
        background: #ff6b35;
    }
    
    .service-card:active,
    .strategy-card:active,
    .process-step:active {
        transform: translateY(-5px);
    }
}