/* Estilos específicos para páginas internas */
/* Posicionamiento absoluto para el título en la parte inferior izquierda */

/* Estilos para menu toggle y dots grid */
.menu-toggle {
    cursor: pointer;
}

.dots-grid {
    display: grid;
    grid-template-columns: repeat(3, 2px);
    grid-template-rows: repeat(3, 2px);
    gap: 1px;
    background: #ff6b35;
    padding: 3px;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    align-items: center;
    justify-items: center;
}

.dots-grid span {
    width: 1.5px;
    height: 1.5px;
    background: white;
    border-radius: 50%;
}

/* Altura específica para el hero en páginas internas */
.internal-page .hero {
    height: 700px !important;
}

/* Posicionar el contenido del hero de forma absoluta */
.hero .hero-content {
    position: absolute !important;
    bottom: 60px !important;
    left: 50px !important;
    width: auto !important;
    height: auto !important;
    z-index: 10 !important;
}

/* Asegurar que el texto del hero sea visible */
.hero .hero-content .hero-text {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

/* Estilo directo para el título principal */
.hero .hero-content .hero-text .hero-subtitle-header {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    width: auto !important;
}

/* Estilo directo para el título 'COMPAÑÍA' */
.hero .hero-content .hero-text .hero-subtitle-header .since-text-header {
    font-size: 7rem !important;
    font-weight: 800 !important;
    color: white !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    line-height: 1 !important;
}



/* Media query para móvil - Reducir tamaño del texto y alinear a la izquierda */
@media (max-width: 768px) {
    .hero .hero-content .hero-text .hero-subtitle-header .since-text-header {
        font-size: 3.5rem !important;
        text-align: left !important;
        justify-content: flex-start !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}


/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Hide dots grid menu on mobile */
    .menu-toggle {
        display: none !important;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex !important;
    }
    
    /* Hide navigation menu by default on mobile */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1500;
        gap: 40px;
    }
    
    /* Show navigation menu when active */
    .nav-menu.active {
        display: flex !important;
    }
    
    /* Mobile menu links styling */
    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s ease forwards;
    }
    
    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.5s; }
    
    .nav-menu a {
        font-size: 24px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        padding: 15px 30px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 107, 53, 0.2);
        transform: scale(1.05);
    }
}

/* Mobile Menu Overlay Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.sidebar-overlay {
    position: absolute;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.sidebar-overlay.active {
    right: 0;
}

.sidebar-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease-in-out 0.1s;
}

.sidebar-content.active {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo img {
    height: 40px;
    width: auto;
}

.sidebar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.sidebar-close:hover {
    color: #ff6b35;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
    background-color: rgba(255, 107, 53, 0.1);
    border-left-color: #ff6b35;
    color: #ff6b35;
}

.sidebar-contact {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 14px;
}

.sidebar-contact-item:last-child {
    margin-bottom: 0;
}

.sidebar-contact-item i {
    margin-right: 10px;
    color: #ff6b35;
    width: 16px;
    text-align: center;
}

.sidebar-contact-item span {
    font-size: 13px;
}

/* Hamburger menu animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hamburger menu lines animation */
.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Styles */
@media (max-width: 480px) {
    .hero-subtitle-header {
        font-size: 2.5rem !important;
        text-align: left !important;
    }
}








/* Estilos para la sección de Presentación */
.presentacion {
    margin-top: 120px;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* ===== ESTILOS ESPECÍFICOS PARA PÁGINA SERVICIOS ===== */

/* Como lo hacemos Section - Solo para página servicios */
.servicios-page .como-hacemos {
    background: #000000;
    padding: 120px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.servicios-page .como-hacemos-header {
    text-align: left;
    margin-bottom: 80px;
    padding: 0 20px;
}

.servicios-page .como-hacemos-line-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.servicios-page .como-hacemos-subtitle {
    font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ff6b35;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.servicios-page .como-hacemos-main-title {
    font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
}

.servicios-page .como-hacemos-content {
    display: grid;
    grid-template-columns: 680px 680px;
    gap: 20px;
    align-items: start;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
}

/* Left Column - Dynamic Images */
.servicios-page .como-hacemos-image-column {
    position: relative;
    width: 680px;
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicios-page .step-image-container {
    position: relative;
    width: 680px;
    height: 680px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicios-page .step-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 680px;
    height: auto;
    max-height: 680px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.servicios-page .step-image.active {
    opacity: 1;
}

/* Right Column - Steps Timeline */
.servicios-page .como-hacemos-steps-column {
    position: relative;
    width: 680px;
}

.servicios-page .steps-timeline {
    position: relative;
    padding-left: 60px;
}

.servicios-page .steps-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: #333;
    z-index: 1;
}

.servicios-page .step-item {
    position: relative;
    margin-bottom: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
    transform: none;
}

.servicios-page .step-item:hover {
    opacity: 1;
}

.servicios-page .step-item.active {
    opacity: 1;
    transform: none;
}

.servicios-page .step-item:last-child {
    margin-bottom: 0;
}

.servicios-page .step-circle {
    position: absolute;
    left: -60px;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #333;
    border: 3px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.8s ease;
    transform: scale(0.9);
}

.servicios-page .step-item.active .step-circle {
    background: #ff6b35;
    border-color: #ff6b35;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.servicios-page .step-number {
    font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.servicios-page .step-content {
    padding-left: 20px;
}

.servicios-page .step-subtitle {
    font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    transition: all 0.8s ease;
}

.servicios-page .step-item.active .step-subtitle {
    color: #ff6b35;
    font-weight: 600;
    transform: translateX(5px);
}

.servicios-page .step-title {
    font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #888;
    margin-bottom: 20px;
    line-height: 1.2;
    transition: all 0.8s ease;
}

.servicios-page .step-item.active .step-title {
    color: white;
    font-weight: 800;
    transform: translateX(5px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.servicios-page .step-description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin: 0;
    transition: all 0.8s ease;
}

.servicios-page .step-item.active .step-description {
    color: #ddd;
    transform: translateX(5px);
}

/* ===== ESTILOS ESPECÍFICOS PARA PÁGINA CONTACTO ===== */

/* Contact Section */
.contacto-page .contact-section {
    background: #ffffff !important;
    padding: 120px 0 !important;
    position: relative;
}

.contacto-page .contact-header {
    text-align: left;
    margin-bottom: 80px;
    padding: 0 20px;
}

.contacto-page .contact-line-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contacto-page .contact-subtitle {
    font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ff6b35;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contacto-page .contact-main-title {
    font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contacto-page .contact-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Left Column - Contact Form */
.contacto-page .contact-form-column {
    background: #ffffff;
}

.contacto-page .contact-form-section {
    padding: 0;
}

.contacto-page .form-title {
    font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contacto-page .form-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 40px;
}

.contacto-page .contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

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

.contacto-page .form-group label {
    font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contacto-page .form-group input,
.contacto-page .form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #000000;
    transition: border-color 0.3s ease;
    outline: none;
}

.contacto-page .form-group input:focus,
.contacto-page .form-group textarea:focus {
    border-bottom-color: #ff6b35;
}

.contacto-page .form-group input::placeholder,
.contacto-page .form-group textarea::placeholder {
    color: #c0c0c0;
}

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

.contacto-page .form-actions {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 10px;
}

.contacto-page .submit-button {
    background: #000000;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.contacto-page .submit-button:hover {
    background: #333333;
    transform: translateY(-2px);
}

.contacto-page .submit-button .submit-icon {
    width: 30px;
    height: 30px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contacto-page .submit-button:hover .submit-icon {
    background: #ff6b35;
    color: #ffffff;
    transform: translateX(3px);
}

/* Form Messages */
.contacto-page .form-message {
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.contacto-page .submit-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.contacto-page .submit-button:disabled:hover {
    background: #cccccc;
    transform: none;
}

.contacto-page .submit-button:disabled .submit-icon {
    background: #999999;
    color: #ffffff;
    transform: none;
}

.contacto-page .submit-button:disabled:hover .submit-icon {
    background: #999999;
    color: #ffffff;
    transform: none;
}

/* Right Column - Office Information */
.contacto-page .contact-info-column {
    background: #ffffff;
}

.contacto-page .office-info-section {
    padding: 0;
}

.contacto-page .office-title {
    font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contacto-page .office-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 40px;
}

.contacto-page .office-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.contacto-page .office-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.contacto-page .contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contacto-page .contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.contacto-page .contact-detail-text {
    flex: 1;
}

.contacto-page .contact-detail-text span {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    display: block;
}

.contacto-page .phone-number {
    font-weight: 700;
    color: #ff6b35 !important;
    font-size: 18px !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background: #ff6b35;
    transform: translateY(-3px);
}

.scroll-to-top.show {
    display: flex;
}

/* Projects Page Styles */
.projects-header {
    padding: 80px 0 60px;
    background: #f8f9fa;
}

.projects-header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-subtitle {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.orange-line {
    width: 30px;
    height: 2px;
    background: #ff6b35;
    margin-right: 15px;
}

.work-text {
    font-size: 1rem;
    font-weight: 600;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.projects-main-title {
    font-size: 5rem;
    font-weight: 800;
    color: #000;
    text-align: center;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.projects-showcase {
    padding: 80px 0 120px;
    background: white;
}

.project-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 60px;
    align-items: start;
}

.project-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.project-details {
    padding: 40px 0;
}

.project-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.2;
}

.project-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tag {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-separator {
    width: 100%;
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}

.project-info-list {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arrow-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.project-link a {
    color: #ff6b35;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-link:hover .arrow-icon {
    transform: translate(3px, -3px);
}

.project-link:hover a {
    color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-main-title {
        font-size: 4rem;
    }
    
    .project-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .projects-main-title {
        font-size: 3rem;
    }
    
    .projects-header {
        padding: 60px 0 40px;
    }
    
    .projects-showcase {
        padding: 60px 0 80px;
    }
    
    .project-grid {
        gap: 60px;
    }
    
    .project-details {
        padding: 20px 0;
    }
    
    .project-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .projects-main-title {
        font-size: 2.2rem;
    }
    
    .project-image {
        height: 300px;
    }
    
    .tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* ===== RESPONSIVE DESIGN PARA PÁGINA CONTACTO ===== */

@media (max-width: 1024px) {
    .contacto-page .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contacto-page .contact-main-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .contacto-page .contact-section {
        padding: 80px 0;
    }
    
    .contacto-page .contact-main-title {
        font-size: 2.5rem;
    }
    
    .contacto-page .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contacto-page .form-title,
    .contacto-page .office-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .contacto-page .contact-section {
        padding: 60px 0;
    }
    
    .contacto-page .contact-main-title {
        font-size: 2rem;
    }
    
    .contacto-page .contact-content {
        gap: 40px;
    }
    
    .contacto-page .form-title,
    .contacto-page .office-title {
        font-size: 20px;
    }
    
    .contacto-page .form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .contacto-page .submit-icon {
        align-self: center;
    }
}

/* ===== RESPONSIVE DESIGN PARA PÁGINA SERVICIOS ===== */

@media (max-width: 1440px) {
    .servicios-page .como-hacemos-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    .servicios-page .como-hacemos-image-column,
    .servicios-page .como-hacemos-steps-column {
        width: 100%;
        max-width: 680px;
    }
    
    .servicios-page .step-image-container {
        width: 100%;
        max-width: 680px;
    }
    
    .servicios-page .step-image {
        width: 100%;
        max-width: 680px;
    }
}

@media (max-width: 1024px) {
    .servicios-page .como-hacemos-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .servicios-page .como-hacemos-main-title {
        font-size: 3rem;
    }
    
    .servicios-page .como-hacemos-image-column {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
        order: 2;
    }
    
    .servicios-page .step-image-container {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
    }
    
    .servicios-page .step-image {
        width: 100%;
        max-width: 680px;
    }
    
    .servicios-page .como-hacemos-steps-column {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
        order: 1;
    }
    
    .servicios-page .steps-timeline {
        padding-left: 50px;
    }
    
    .servicios-page .step-circle {
        left: -50px;
        width: 50px;
        height: 50px;
    }
    
    .servicios-page .step-number {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .servicios-page .como-hacemos {
        padding: 80px 0;
    }
    
    .servicios-page .como-hacemos-main-title {
        font-size: 2.5rem;
    }
    
    .servicios-page .como-hacemos-image-column {
        height: 300px;
    }
    
    .servicios-page .step-item {
        margin-bottom: 60px;
    }
    
    .servicios-page .step-title {
        font-size: 20px;
    }
    
    .servicios-page .step-description {
        font-size: 14px;
    }
    
    .servicios-page .steps-timeline {
        padding-left: 40px;
    }
    
    .servicios-page .step-circle {
        left: -40px;
        width: 40px;
        height: 40px;
    }
    
    .servicios-page .step-number {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .servicios-page .como-hacemos {
        padding: 60px 0;
    }
    
    .servicios-page .como-hacemos-main-title {
        font-size: 2rem;
    }
    
    .servicios-page .como-hacemos-image-column {
        height: 250px;
    }
    
    .servicios-page .step-item {
        margin-bottom: 40px;
    }
    
    .servicios-page .step-title {
        font-size: 18px;
    }
    
    .servicios-page .step-description {
        font-size: 13px;
    }
    
    .servicios-page .steps-timeline {
        padding-left: 35px;
    }
    
    .servicios-page .step-circle {
        left: -35px;
        width: 35px;
        height: 35px;
    }
    
    .servicios-page .step-number {
        font-size: 12px;
    }
}

.presentacion-content {
    position: relative;
    z-index: 2;
}

.presentacion-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.orange-line {
    width: 30px;
    height: 2px;
    background-color: #ff6b35;
    margin-right: 15px;
}

.vision-text {
    font-size: 1.1rem;
    color: #ff6b35;
    font-weight: 500;
    text-transform: lowercase;
}

.presentacion-title {
    font-size: 5rem;
    color: #000;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    max-width: 900px;
    text-transform: uppercase;
}

.grua-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.grua-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 800px;
    height: 100%;
    opacity: 0.2;
    object-fit: cover;
    object-position: right top;
}

/* Estilos para el grid de presentación */
.presentacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    align-items: start;
}

.grid-column-1 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.grid-column-2 {
    display: flex;
    justify-content: flex-end;
}

/* Estilos para el subtítulo naranja */
.sobre-nosotros-subtitle {
    color: #ff6b35;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

/* Estilos para el título Constructor */
.constructor-title {
    color: #000;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-align: left;    
    margin-bottom: 50px; 
}

/* Estilos para el texto descriptivo */
.descripcion-text {
    color: #666;
    font-size: 1.2rem;
    line-height: 2;
    margin: 0;
    text-align: justify;
    
    margin-bottom: 40px;
}

/* Estilos para las imágenes */
.imagen-presentacion {
    width: 100%;
    overflow: hidden;
}

.presentacion-img-1 {
    width: 611px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.imagen-presentacion-2 {
    width: 100%;
    overflow: hidden;
}

.presentacion-img-2 {
    width: 755px;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .presentacion {
        margin-top: 80px;
        padding: 60px 0;
    }
    
    .presentacion-title {
        font-size: 3rem;
    }
    
    .grua-image {
        max-width: 80%;
        opacity: 0.2;
    }
    
    .presentacion-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .constructor-title {
        font-size: 2rem;
    }
    
    .presentacion-img-1,
    .presentacion-img-2 {
        width: 100%;
        max-width: 100%;
    }
}

/* Estilos para la sección Misión y Visión */
.misionyvision {
    position: relative;
    margin-top: 120px;
    margin-bottom: 120px;
    padding: 100px 0;
    overflow: hidden;
}

.misionyvision-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.misionyvision-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.misionyvision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.misionyvision-content {
    position: relative;
    z-index: 3;
}

.misionyvision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.mision-column,
.vision-column {
    color: white;
}

.mision-subtitle,
.vision-subtitle {
    color: #999;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.mision-title,
.vision-title {
    color: #ff6b35;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-transform: uppercase;
}

.mision-text,
.vision-text {
    color: white;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* Responsive para Misión y Visión */
@media (max-width: 768px) {
    .misionyvision {
        margin-top: 80px;
        margin-bottom: 80px;
        padding: 60px 0;
    }
    
    .misionyvision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mision-title,
    .vision-title {
        font-size: 2.2rem;
    }
    
    .mision-text,
    .vision-text {
        font-size: 1.1rem;
    }
}

/* Estilos para la sección Clientes */
.clientes {
    margin-top: 120px;
    margin-bottom: 120px;
    padding: 60px 0;
    background-color: #f8f9fa;
}

.clientes-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: calc(200% + 40px);
    gap: 40px;
}

.carousel-forward .carousel-track {
    animation: scrollLeft 30s linear infinite;
}

.carousel-reverse .carousel-track {
    animation: scrollRight 30s linear infinite;
}

.carousel-item {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.client-logo {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-5px);
}

.carousel-item:hover .client-logo {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Animaciones para los carruseles */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Responsive para Clientes */
@media (max-width: 768px) {
    .clientes {
        margin-top: 80px;
        margin-bottom: 80px;
        padding: 40px 0;
    }
    
    .clientes-content {
        gap: 30px;
    }
    
    .carousel-item {
        width: 120px;
        height: 60px;
    }
    
    .client-logo {
        max-width: 100px;
        max-height: 45px;
    }
    
    .carousel-track {
        gap: 20px;
    }
}

/* ===== ESTILOS PARA PÁGINA BLOG ===== */

/* Featured Article Section */
.featured-article {
    margin-top: 120px;
    margin-bottom: 80px;
    padding: 0;
}

.featured-article-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 1px;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
}

.featured-arrow {
    align-self: flex-start;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.featured-arrow:hover {
    background: rgba(255, 107, 53, 0.8);
    transform: scale(1.1);
}

.featured-arrow i {
    color: white;
    font-size: 20px;
}

.featured-content {
    align-self: flex-end;
    max-width: 500px;
    color: white;
}

.featured-category {
    font-size: 14px;
    font-weight: 600;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.featured-line {
    width: 60px;
    height: 2px;
    background: #ff6b35;
    margin-bottom: 20px;
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 25px;
}

.featured-read-more {
    display: inline-flex;
    align-items: center;
    color: #ff6b35;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.featured-read-more:hover {
    color: white;
    border-bottom-color: #ff6b35;
    transform: translateX(5px);
}

/* News Grid Section */
.news-grid {
    margin-bottom: 120px;
    padding: 0;
}

.news-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.news-content {
    padding: 30px;
}

.news-category {
    font-size: 12px;
    font-weight: 600;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.news-line {
    width: 40px;
    height: 2px;
    background: #ff6b35;
    margin-bottom: 15px;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    color: #ff6b35;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.news-read-more:hover {
    color: #333;
    border-bottom-color: #ff6b35;
    transform: translateX(5px);
}

/* Responsive Design para Blog */
@media (max-width: 1200px) {
    .news-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .featured-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .featured-article {
        margin-top: 80px;
        margin-bottom: 60px;
    }
    
    .featured-image-wrapper {
        height: 400px;
    }
    
    .featured-overlay {
        padding: 20px;
    }
    
    .featured-content {
        max-width: 100%;
    }
    
    .featured-title {
        font-size: 1.8rem;
    }
    
    .featured-description {
        font-size: 1rem;
    }
    
    .news-grid {
        margin-bottom: 80px;
    }
    
    .news-grid-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-image-wrapper {
        height: 200px;
    }
    
    .news-content {
        padding: 25px;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .featured-image-wrapper {
        height: 300px;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .news-content {
        padding: 20px;
    }
}

/* Blog Modal Styles */
.blog-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.blog-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-modal-header {
    padding: 30px 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.blog-modal-header h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    padding-right: 20px;
}

.blog-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.blog-modal-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.blog-modal-divider {
    height: 2px;
    background-color: #e74c3c;
    margin: 20px 30px;
}

.blog-modal-body {
    padding: 0 30px 30px;
}

.blog-modal-image {
    margin-bottom: 25px;
}

.blog-modal-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
}

.blog-modal-text {
    line-height: 1.6;
}

.blog-modal-category {
    color: #e74c3c;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.blog-modal-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}

.blog-modal-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

/* Blog Modal Responsive */
@media (max-width: 768px) {
    .blog-modal-overlay {
        padding: 10px;
    }
    
    .blog-modal-content {
        max-height: 95vh;
    }
    
    .blog-modal-header {
        padding: 20px 20px 0;
    }
    
    .blog-modal-header h2 {
        font-size: 1.4rem;
    }
    
    .blog-modal-divider {
        margin: 15px 20px;
    }
    
    .blog-modal-body {
        padding: 0 20px 20px;
    }
    
    .blog-modal-image img {
        height: 200px;
    }
}

/* ===== PAGINATION STYLES ===== */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 60px 0 40px;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
}

.pagination-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pagination-btn {
    background: transparent;
    border: 2px solid #ff6b35;
    color: #ff6b35;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination-btn:disabled:hover {
    background: transparent;
    color: #ff6b35;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-number {
    background: transparent;
    border: 2px solid #ddd;
    color: #666;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-number:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.page-number.active {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.page-number.active:hover {
    background: #e55a2b;
    border-color: #e55a2b;
}

/* Project cards transition */
.project-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Pagination Responsive Design */
@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: 25px;
        margin: 40px 0 30px;
        padding: 20px 0;
    }
    
    .pagination {
        order: 2;
        gap: 10px;
    }
    
    .pagination-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .pagination-numbers {
        order: 1;
        gap: 6px;
    }
    
    .page-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        gap: 20px;
        margin: 30px 0 20px;
    }
    
    .pagination-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
        min-width: 80px;
    }
    
    .page-number {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
}