/*
Theme Name: Metals Prodef
Theme URI: https://metalsprodef.cl
Author: Metals Prodef Team
Author URI: https://metalsprodef.cl
Description: Tema personalizado para Metals Prodef - Soluciones en estructuras metálicas, carpintería y mantenimiento industrial
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: metals-prodef
*/

/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #ff6b00;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --bg-dark: #0a0a0a;
    --bg-section: #111111;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

* {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8c00 100%);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===========================
   ANIMATED MARQUEE STRIPS
   =========================== */
.marquee-strips {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.marquee-strip {
    position: absolute;
    width: 200%;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 8px;
    opacity: 0.08;
}

.marquee-strip.strip-1 {
    top: 15%;
    font-size: clamp(2rem, 5vw, 4rem);
    transform: rotate(-5deg);
}

.marquee-strip.strip-2 {
    top: 45%;
    font-size: clamp(2.5rem, 6vw, 5rem);
    transform: rotate(3deg);
}

.marquee-strip.strip-3 {
    top: 75%;
    font-size: clamp(2rem, 5vw, 4rem);
    transform: rotate(-3deg);
}

.marquee-content {
    display: inline-block;
    animation: marqueeScroll 40s linear infinite;
    padding-right: 50px;
}

.marquee-strip.strip-2 .marquee-content {
    animation: marqueeScrollReverse 35s linear infinite;
}

.marquee-content span {
    display: inline-block;
    padding: 0 30px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeScrollReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* ===========================
   NEW HERO SECTION
   =========================== */
.hero-section-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    overflow: hidden;
}

.hero-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Content */
.hero-left {
    animation: fadeInLeft 1s ease-out;
}

.hero-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    background: rgba(255, 107, 0, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 107, 0, 0.3);
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
    }
}

.hero-title-new {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 0.8s ease-out;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease-out 0.2s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle-new {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 550px;
    animation: fadeIn 1.2s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 1.4s ease-out 0.6s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.hero-buttons-new {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 1.6s ease-out 0.8s both;
}

.btn-primary-new {
    position: relative;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8c00 100%);
    color: var(--text-light);
    padding: 1.3rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.btn-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.6);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary-new:hover .btn-glow {
    left: 100%;
}

.btn-secondary-new {
    background: transparent;
    color: var(--text-light);
    padding: 1.3rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.btn-secondary-new:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.btn-secondary-new:hover i {
    transform: translateX(5px);
}

.btn-secondary-new i {
    transition: var(--transition);
}

.hero-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    animation: fadeIn 1.8s ease-out 1s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Right Image */
.hero-right {
    position: relative;
    animation: fadeInRight 1s ease-out 0.5s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-worker-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.3) 0%, transparent 70%);
    z-index: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.spark-effect {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkFloat 4s ease-in-out infinite;
    z-index: 0;
}

.spark-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.spark-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1s;
}

.spark-3 {
    top: 50%;
    right: -40px;
    animation-delay: 2s;
}

@keyframes sparkFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.6;
    }
}

.floating-badge {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    border: 1px solid rgba(255, 107, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: floatBadge 3s ease-in-out infinite;
    z-index: 3;
}

.floating-badge i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.badge-1 {
    top: 15%;
    right: -30px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 15%;
    left: -30px;
    animation-delay: 1.5s;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeIn 2s ease-out 1.5s both;
    z-index: 2;
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===========================
   OLD HERO SECTION (BACKUP)
   =========================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
    z-index: 1;
}

.hero-background video,
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-sparks {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: sparkFloat 3s infinite ease-in-out;
    box-shadow: 0 0 10px var(--accent-color);
}

@keyframes sparkFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 1.5rem;
}

.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 300;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 0.5rem;
    animation: fadeInUp 1.2s ease-out 0.4s both;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease-out 0.6s both;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8c00 100%);
    color: var(--text-light);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    animation: fadeInUp 1.6s ease-out 0.8s both;
    width: 100%;
}

.hero-feature {
    text-align: center;
    padding: 1.5rem;
}

.hero-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.hero-feature-icon i {
    font-size: 2.5rem;
}

.hero-feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-feature p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about-section {
    padding: 8rem 2rem;
    background: var(--bg-section);
    position: relative;
    overflow: hidden;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.section-badge {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    line-height: 1.8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.about-text {
    animation: fadeInLeft 1s ease-out;
}

.about-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: 20px;
    z-index: -1;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services-section {
    padding: 8rem 2rem;
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--bg-section);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.service-icon i {
    font-size: 3rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.service-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    transition: var(--transition);
}

.service-card li:hover {
    color: var(--text-light);
    padding-left: 10px;
}

.service-card li::before {
    content: '→';
    margin-right: 10px;
    color: var(--accent-color);
}

/* ===========================
   STATS SECTION
   =========================== */
.stats-section {
    padding: 6rem 2rem;
    background: var(--bg-section);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
}

/* ===========================
   GALLERY SECTION
   =========================== */
.gallery-section {
    padding: 8rem 2rem;
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
    padding: 8rem 2rem;
    background: var(--bg-section);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 4rem auto 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-dark);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(255, 107, 0, 0.1);
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent-color);
    min-width: 50px;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.contact-form {
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-section);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--bg-dark);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-gray);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll:not(.animated) {
    opacity: 0;
    transform: translateY(30px);
}
/* Service Cards - Visible por defecto */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

/* Gallery Items - Visible por defecto */
.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease-out;
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablets y pantallas medianas */
@media (max-width: 1200px) {
    .section-container {
        padding: 0 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    body {
        padding: 0;
        margin: 0;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        display: none;
        padding: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-section {
        min-height: 90vh;
        padding: 90px 1rem 2rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .header-container {
        padding: 1rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .hero-feature {
        padding: 1rem;
    }
    
    .about-section,
    .services-section,
    .gallery-section,
    .contact-section {
        padding: 3rem 1rem;
    }
    
    .stats-section {
        padding: 3rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image::before {
        display: none;
    }
    
    .whatsapp-float {
        width: 55px !important;
        height: 55px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .whatsapp-float i {
        font-size: 1.8rem !important;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0.75rem 1.5rem;
    }
    
    .hero-content {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
        margin-bottom: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-badge {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .header-container {
        padding: 0.8rem 1rem;
    }
    
    .site-logo {
        font-size: 1.2rem;
    }
    
    .site-logo i {
        font-size: 1rem;
    }
    
    .cta-button {
        display: none;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-icon i {
        font-size: 2.2rem;
    }
    
    .hero-feature-icon i {
        font-size: 2rem;
    }
    
    .hero-feature h3 {
        font-size: 0.95rem;
    }
    
    .hero-feature p {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .contact-item {
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1.1rem;
    }
    
    .about-section,
    .services-section,
    .gallery-section,
    .contact-section {
        padding: 2.5rem 0.75rem;
    }
    
    .stats-section {
        padding: 2rem 0.75rem;
    }
    
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 15px !important;
        right: 15px !important;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem !important;
    }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
    .hero-section {
        min-height: 85vh;
        padding: 75px 0.5rem 1rem;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.7rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-features {
        margin-top: 1.5rem;
        gap: 0.8rem;
    }
    
    .hero-feature {
        padding: 0.8rem;
    }
    
    .hero-feature-icon i {
        font-size: 1.8rem;
    }
    
    .hero-feature h3 {
        font-size: 0.9rem;
    }
    
    .hero-feature p {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .service-card {
        padding: 1.2rem 0.8rem;
    }
    
    .about-section,
    .services-section,
    .gallery-section,
    .contact-section {
        padding: 2rem 0.5rem;
    }
}

/* Pantallas muy grandes */
@media (min-width: 1920px) {
    .section-container {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 7rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
}

/* ===========================
   RESPONSIVE - NEW HERO
   =========================== */
@media (max-width: 1200px) {
    .hero-grid {
        gap: 3rem;
    }
    
    .hero-title-new {
        font-size: clamp(2.5rem, 7vw, 5rem);
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-left {
        order: 1;
    }
    
    .hero-right {
        order: 2;
    }
    
    .hero-badge-new {
        margin: 0 auto 1.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons-new {
        justify-content: center;
    }
    
    .hero-features-list {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .feature-item {
        justify-content: center;
    }
    
    .floating-badge {
        display: none;
    }
    
    .marquee-strip.strip-1 {
        font-size: clamp(1.5rem, 4vw, 3rem);
    }
    
    .marquee-strip.strip-2 {
        font-size: clamp(2rem, 5vw, 4rem);
    }
    
    .marquee-strip.strip-3 {
        font-size: clamp(1.5rem, 4vw, 3rem);
    }
}

@media (max-width: 768px) {
    .hero-section-new {
        padding: 100px 1.5rem 60px;
    }
    
    .hero-title-new {
        font-size: clamp(2rem, 6vw, 4rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle-new {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-buttons-new {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .btn-primary-new,
    .btn-secondary-new {
        width: 100%;
        justify-content: center;
        padding: 1.2rem 2rem;
        font-size: 0.95rem;
    }
    
    .hero-features-list {
        gap: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .hero-worker-img {
        max-width: 100%;
    }
    
    .spark-effect {
        width: 60px;
        height: 60px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .marquee-strip {
        letter-spacing: 4px;
    }
    
    .marquee-content span {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-section-new {
        padding: 90px 1rem 50px;
    }
    
    .hero-badge-new {
        font-size: 0.65rem;
        padding: 0.5rem 1rem;
        letter-spacing: 2px;
    }
    
    .hero-title-new {
        font-size: clamp(1.8rem, 5vw, 3rem);
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle-new {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .btn-primary-new,
    .btn-secondary-new {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .hero-features-list {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        font-size: 0.85rem;
    }
    
    .feature-item i {
        font-size: 1rem;
    }
    
    .marquee-strip.strip-1 {
        font-size: clamp(1.2rem, 3vw, 2rem);
    }
    
    .marquee-strip.strip-2 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .marquee-strip.strip-3 {
        font-size: clamp(1.2rem, 3vw, 2rem);
    }
    
    .marquee-content span {
        padding: 0 10px;
    }
    
    .spark-effect {
        display: none;
    }
}