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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

.logo-main {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo .jv {
    color: #DAA520;
    font-weight: 900;
    margin-right: 5px;
}

.logo .metals {
    color: white;
    font-weight: 300;
    font-style: italic;
}

.logo .tagline {
    font-size: 0.5rem;
    color: #e8e8e8;
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #DAA520;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

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

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 50, 0.60) 50%,
        rgba(0, 0, 40, 0.70) 100%
    );
    z-index: 1;
}

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

.hero-subtitle {
    font-size: 2.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7),
                 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-brand {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.hero-brand .jv-text {
    color: #DAA520;
    font-weight: 900;
}

.hero-brand .metals-text {
    color: white;
    font-weight: 300;
    font-style: italic;
}

.hero-tagline {
    font-size: 1rem;
    color: #DAA520;
    font-weight: 500;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    opacity: 1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.3s both;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8),
                 0 0 15px rgba(0, 0, 0, 0.6);
}

.hero-services {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.hero-service-card {
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    width: 220px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.hero-service-card:hover {
    border-color: #DAA520;
    background: rgba(218, 165, 32, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-service-icon {
    font-size: 3.5rem;
    color: #DAA520;
    margin-bottom: 1.2rem;
}

.hero-service-card h3 {
    font-size: 1.1rem;
    color: white;
    margin: 0;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: #DAA520;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    max-width: 300px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #DAA520;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Certifications Section */
.certifications {
    padding: 60px 0;
    background: #f8f9fa;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 200px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.cert-card {
    min-width: 100%;
    padding: 1rem;
    text-align: center;
}

.cert-icon {
    font-size: 2.5rem;
    color: #DAA520;
    margin-bottom: 0.5rem;
}

.cert-card h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 1.3rem;
}

.cert-card p {
    font-size: 0.95rem;
}

.carousel-controls {
    text-align: center;
    margin-top: 2rem;
}

.carousel-btn {
    background: #DAA520;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: #B8860B;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #DAA520;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    background: #DAA520;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
    color: #333;
}

.contact .section-title {
    color: #2c3e50;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.offices-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.location-group {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #DAA520;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.location-title {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.location-title::before {
    content: "\f3c5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #DAA520;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.location-group .contact-item {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.contact-item i {
    font-size: 1rem;
    margin-right: 0.8rem;
    color: white;
    background: #DAA520;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    flex-shrink: 0;
}

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

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    background: #DAA520;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.facebook-btn:hover {
    background: #1877f2;
}

.whatsapp-btn:hover {
    background: #25d366;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    color: #333;
    font-family: inherit;
}

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

.submit-btn {
    background: #DAA520;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #B8860B;
}

.contact-map {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 20px;
    }

    .hero-services {
        gap: 1.5rem;
    }

    .hero-service-card {
        width: 200px;
        padding: 2rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-content {
        gap: 3rem;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .offices-row {
        gap: 1.5rem;
    }

    .contact-bottom {
        gap: 2rem;
    }
}

/* Móviles y pantallas pequeñas */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .logo-image {
        height: 50px;
    }

    .logo-main {
        font-size: 1.5rem;
    }

    .logo .tagline {
        font-size: 0.45rem;
    }

    header {
        padding: 0.8rem 0;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .hero-services {
        flex-direction: column;
        gap: 1rem;
        padding: 0 20px;
    }

    .hero-service-card {
        width: 100%;
        max-width: 350px;
        padding: 2rem 1.5rem;
    }

    .hero-service-icon {
        font-size: 3rem;
    }

    .hero-service-card h3 {
        font-size: 1rem;
    }

    .services {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .about {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .stat-item {
        padding: 1rem;
        max-width: 100%;
    }

    .stat-number {
        font-size: 2rem;
    }

    .process {
        padding: 60px 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .contact {
        padding: 60px 0;
    }

    .offices-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .location-group {
        padding: 1rem;
    }

    .location-title {
        font-size: 0.95rem;
    }

    .contact-bottom {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-map iframe {
        height: 350px;
    }

    .contact-item {
        margin-bottom: 1rem;
    }

    .contact-item i {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Móviles muy pequeños */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-image {
        height: 45px;
    }

    .logo-main {
        font-size: 1.3rem;
    }

    .logo .tagline {
        display: none;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-service-card {
        padding: 1.5rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .contact-map iframe {
        height: 300px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 10px 25px;
    }
}
