:root {
    --primary-color: #004e92;
    --primary-light: #0056b3;
    --accent-color: #eb1e22;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --container-width: 1200px;
    --border-radius: 8px;
    --shadow-card: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    padding-top: 80px;
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.margin-top {
    margin-top: 2rem;
}

.text-accent {
    color: var(--accent-color);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.align-center {
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    font-weight: bold;
}

.btn-white:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo {
    height: 80px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
}

.main-nav a:not(.btn-nav):hover {
    color: var(--primary-color);
}

.main-nav a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.btn-nav {
    background: var(--accent-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
}

.btn-nav:hover {
    background: #e65e2e;
}

.menu-checkbox {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.hero-section {
    position: relative;
    height: 90vh;
    min-height: 500px;
    background: url('../images/Background.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.badge {
    background: rgba(255,255,255,0.1);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: inline-block;
}

.features-section {
    padding: 5rem 0;
    margin-top: -80px;
    position: relative;
    z-index: 3;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.about-section {
    padding: 5rem 0;
}

.section-tag {
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 1px;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 0.5rem 0 1.5rem;
    color: var(--text-dark);
}

.imp-3d {
    width: 50px;
    height: 40px;
    background: url('../images/impresora3d1.png') no-repeat !important;
    z-index: 0;
    display: inline-block;
}

.check-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--primary-color);
}

.link-arrow {
    color: var(--primary-color);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
}

.portfolio-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.card-img {
    height: 220px;
    overflow: hidden;
}

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

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

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.clients-section {
    background: white;
    padding: 3rem 0;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid #eee;
}

.clients-title {
    text-align: center;
    color: #888;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.logos-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos-wrapper::before,
.logos-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logos-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.logos-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.slide-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.slide {
    width: 200px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.slide img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 3));
    }
}

.cta-section {
    background: var(--primary-color);
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.main-footer {
    background: #111;
    color: #bbb;
    padding: 4rem 0 0;
    font-size: 0.9rem;
}

.grid-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #333;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    background: black;
}

@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        border-top: 1px solid #eee;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        display: none;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 1rem;
    }

    .menu-icon {
        display: block;
    }

    .menu-checkbox:checked ~ .main-nav {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .grid-footer {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand, .footer-contact p {
        justify-content: center;
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .mobile-hide {
        display: none;
    }
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.tech-card {
    background: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.card-border {
    width: 6px;
    background: var(--primary-color);
    flex-shrink: 0;
}

.border-orange {
    background: #ff6b35;
}

.border-green {
    background: #28a745;
}

.border-dark {
    background: #343a40;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.card-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.specs-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs-list i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 1rem 0;
}

.material-badge {
    background: #f4f7f6;
    color: #555;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
}

.small-text {
    font-size: 0.85rem;
    color: #777;
    margin-top: 1rem;
    font-style: italic;
}

.card-footer {
    margin-top: 2rem;
    padding-top: 1rem;
}

.btn-tech {
    display: inline-block;
    padding: 0.6rem 0;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    position: relative;
}

.btn-tech::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.btn-tech:hover::after {
    width: 100%;
}

.btn-tech:hover {
    color: var(--accent-color);
}

.scroll-indicator-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    cursor: default;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.scroll-indicator-container:hover {
    opacity: 1;
    cursor: default;
}

.scroll-text {
    cursor: default;
    display: block;
    color: var(--white, #ffffff);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.scroll-arrow span {
    cursor: default;
    pointer-events: none;
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid var(--white, #ffffff);
    border-right: 3px solid var(--white, #ffffff);
    transform: rotate(45deg);
    margin: -10px auto 0;
    animation: arrow-bounce 2s infinite;
}

.scroll-arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

@keyframes arrow-bounce {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

.contact-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
    min-height: 80vh;
}

.contact-info h1 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.info-item h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.info-item p {
    margin: 0;
    font-size: 0.9rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid var(--accent-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 78, 146, 0.1);
}

.full-width {
    width: 100%;
    border: none;
    font-size: 1rem;
    padding: 1rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .contact-section .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
}