/*
Theme Name: ERZ Bronces Centrifugados
Theme URI: https://erzsac.com
Author: ERZ SAC
Author URI: https://erzsac.com
Description: Tema WordPress para empresa especializada en fundición de bronces centrifugados
Version: 1.0.0
License: GPL v2 or later
Text Domain: erzsac.com
*/

/* ESTILOS EXISTENTES (mantenidos) */

/* Top Bar */
.top-bar {
    background-color: #333;
    color: #fff;
    font-size: 0.875rem;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.top-bar i {
    margin-right: 5px;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: #b8860b;
}

/* Hero */
.hero-text {
    /* background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/hero-bg.jpg'); */
    background-size: cover;
    background-position: center;
    /* color: white; */
    text-align: center;
    padding: 30px 20px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-text span {
    color: #b8860b;
}

/* ===== IMAGE TICKER ===== */
.image-ticker {
    overflow: hidden;
    background: #000;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scroll-left 45s linear infinite;
}

/* .ticker-track img {
    height: 220px;
    width: auto;
    object-fit: cover;
    filter: grayscale(100%);
    border-right: 2px solid #fff;
} */

.ticker-grid {
    display: grid;
    grid-template-rows: repeat(2, 220px);
    grid-auto-columns: 220px;
    grid-auto-flow: column;
}

.item {
    border: 2px solid #fff;
}

.item.big {
    grid-row: span 2;
    grid-column: span 2;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Footer */
.footer-erz {
    background-color: #222;
    color: #fff;
    padding: 30px 0;
    font-size: 0.875rem;
}

/* NUEVOS ESTILOS PARA EL CUERPO REDISEÑADO */

/* Section Spacing */
section {
    padding: 80px 0;
}

/* Highlights Section */
.section-highlights {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.highlight-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
    border-top: 4px solid #b8860b;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon-wrapper {
    background: linear-gradient(135deg, #b8860b, #daa520);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.highlight-icon-wrapper i {
    font-size: 28px;
    color: white;
}

.highlight-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.highlight-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.highlight-link {
    color: #b8860b;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.highlight-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.highlight-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.section-about {
    background-color: white;
}

.section-eyebrow {
    color: #b8860b;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    color: #222;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.section-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: #b8860b;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: #b8860b;
    border-color: #b8860b;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 6px;
}

.btn-primary:hover {
    background-color: #a3760a;
    border-color: #a3760a;
}

.btn-outline-primary {
    color: #b8860b;
    border-color: #b8860b;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 6px;
}

.btn-outline-primary:hover {
    background-color: #b8860b;
    border-color: #b8860b;
}

/* Products Section */
.section-products {
    background-color: #f8f9fa;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-title {
    padding: 25px 25px 10px;
    color: #222;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.product-description {
    padding: 0 25px;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-link {
    display: block;
    padding: 20px 25px;
    color: #b8860b;
    text-decoration: none;
    font-weight: 600;
    border-top: 1px solid #eee;
    transition: all 0.3s;
}

.product-link:hover {
    background-color: #f8f9fa;
    color: #a3760a;
}

/* Process Section */
.section-process {
    background-color: white;
}

.process-steps {
    margin-top: 30px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.step-number {
    background: #f8f9fa;
    color: #b8860b;
    font-size: 1.5rem;
    font-weight: 700;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
}

.step-content h4 {
    color: #222;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.process-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.process-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.process-stats {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
}

.stat-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    min-width: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    color: #b8860b;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    color: #666;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, #222, #333);
    color: white;
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, #b8860b, #daa520);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(184, 134, 11, 0.2);
}

.cta-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.btn-light {
    background-color: white;
    color: #b8860b;
    border-color: white;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 6px;
}

.btn-light:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #a3760a;
}

.btn-outline-light {
    color: white;
    border-color: white;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 6px;
}

.btn-outline-light:hover {
    background-color: white;
    color: #b8860b;
    border-color: white;
}

/* ===== IMPACT ERZ SECTION ===== */
.impact-erz {
    position: relative;
    padding: 50px 0 70px;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("img/impact.jpg");
    background-size: cover;
    background-position: center;
}

.impact-header {
    max-width: 900px;
    margin: 0 auto 20px;
}

.impact-eyebrow {
    display: block;
    font-size: 25px;
    letter-spacing: 2px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.impact-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.impact-text {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
}

/* ===== METRICS ===== */
.impact-metrics {
    margin-top: 60px;
}

.metric-number {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 6px;
}

.metric-sub {
    font-size: 16px;
    letter-spacing: 1px;
    opacity: 0.85;
}


/* ===== FOOTER ===== */

.footer-erz {
    background-color: #0f0f0f;
    color: #cfcfcf;
    padding: 70px 0 30px;
    font-size: 14px;
}

.footer-erz a {
    color: #cfcfcf;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-erz a:hover {
    color: #f2c300;
}

.footer-brand img {
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.7;
    max-width: 360px;
}

.footer-title {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-social-text {
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #2a2a2a;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 18px;
}

.footer-social a:hover {
    background-color: #f2c300;
    color: #000;
    border-color: #f2c300;
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #9a9a9a;
}


.section-team {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.team-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-image-wrapper:hover .team-image {
    transform: scale(1.02);
}

.team-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #b8860b;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-content {
    padding-left: 20px;
}

.team-highlights {
    margin: 30px 0;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #b8860b;
}

.highlight-title {
    color: #222;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f8f9fa;
}

.highlight-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.highlight-icon {
    flex-shrink: 0;
    margin-right: 15px;
    color: #b8860b;
    font-size: 1.2rem;
}

.highlight-content h5 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.highlight-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.team-process {
    padding: 20px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(218, 165, 32, 0.1));
    border-radius: 10px;
    border-left: 4px solid #daa520;
}

.team-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .impact-erz {
        padding: 100px 0;
    }

    .impact-title {
        font-size: 32px;
    }

    .metric-number {
        font-size: 42px;
    }
        .section-team {
        padding: 60px 0;
    }
    
    .team-image {
        height: 400px;
        margin-bottom: 30px;
    }
    
    .team-content {
        padding-left: 0;
    }
    
    .team-highlights {
        padding: 20px;
    }
}


@media (max-width: 768px) {

    .hero-text h1 {
        font-size: 30px;
    }

    .ticker-grid {
        grid-template-rows: repeat(2, 160px);
        grid-auto-columns: 160px;
    }


    .hero-text h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-image,
    .process-image {
        height: 300px;
    }

    .process-stats {
        position: relative;
        bottom: auto;
        margin-top: 20px;
    }

    .cta-card {
        padding: 40px 20px;
    }

    .btn-light,
    .btn-outline-light {
        width: 100%;
        margin-bottom: 10px;
        margin-left: 0 !important;
    }

        .section-team {
        padding: 50px 0;
    }
    
    .team-image {
        height: 300px;
    }
    
    .team-badge {
        bottom: 20px;
        right: 20px;
    }
    
    .team-actions {
        flex-direction: column;
    }
    
    .team-actions .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 0.75rem;
    }

    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .top-bar .mx-3 {
        margin: 0 10px !important;
    }

    section {
        padding: 60px 0;
    }


    .impact-header {
        margin-bottom: 60px;
    }

    .metric-sub {
        font-size: 11px;
    }
}