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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 150px;
    overflow-x: hidden;
}

/* ===== TOP BAR ===== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1a2634;
    color: white;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
    font-size: 0.95rem;
    border-bottom: 2px solid #e67e22;
}

.languages { display: flex; gap: 1rem; }
.languages span { cursor: pointer; transition: color 0.3s; }
.languages span:hover,
.languages span.active { color: #e67e22; font-weight: 600; }

.social-links { display: flex; gap: 1rem; align-items: center; }
.social-links a { color: white; text-decoration: none; transition: color 0.3s; }
.social-links a:hover { color: #e67e22; }
.social-links .separator { color: #4a5a6e; margin: 0 0.5rem; }

.right-links { display: flex; gap: 2rem; align-items: center; }
.right-links a { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s; }
.right-links a:hover { color: #e67e22; }
.right-links .contact-btn { background: #e67e22; padding: 0.5rem 1.5rem; border-radius: 25px; font-weight: 600; }
.right-links .contact-btn:hover { background: #d35400; color: white; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 60px;
    width: 100%;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 100px;
    width: auto;
    max-width: 450px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e67e22;
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: #e67e22;
}

.nav-menu a:hover:after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

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

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -5px);
}

/* ===== HERO SLIDER DEFINITIVO ===== */
.hero-slider {
    width: 100vw !important;
    height: calc(100vh - 150px);
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow: hidden;
}

.hero-slider .slider-container {
    width: 100% !important;
    height: 100%;
    max-width: none !important;
}

.hero-slider .slider-track {
    display: flex !important;
    height: 100%;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.hero-slider .hero-slide {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slider .hero-overlay {
    width: 100% !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 4rem 5% !important;
    background: rgba(0,0,0,0.5);
    color: white;
}

.hero-top { margin-bottom: 2rem; }
.hero-logo { font-size: 2.5rem; font-weight: 800; color: #e67e22; }
.hero-subtitle { font-size: 1rem; letter-spacing: 5px; color: rgba(255,255,255,0.7); }

.hero-main { flex: 1; display: flex; align-items: center;  padding-top: 60px;}
.hero-main h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}
.hero-main h1 span {
    color: #e67e22;
    font-size: 2rem;
    font-weight: 400;
    display: block;
    margin-top: 1rem;
}

.hero-services-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.service-item {
    display: flex;
    gap: 1rem;
    border-right: 1px solid rgba(255,255,255,0.2);
    padding-right: 2rem;
}
.service-item:last-child { border-right: none; }
.service-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #e67e22;
    line-height: 1;
}
.service-text h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}
.service-text p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(230,126,34,0.5);
    border: 2px solid white;
    color: white;
    font-size: 2rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}
.hero-slider-arrow:hover {
    background: #e67e22;
    transform: translateY(-50%) scale(1.1);
}
.hero-slider-arrow.prev { left: 30px; }
.hero-slider-arrow.next { right: 30px; }

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}
.hero-slider-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}
.hero-slider-dots .dot.active {
    background: #e67e22;
    transform: scale(1.3);
    border: 2px solid white;
}
/* Ajuste para que el hero slider no oculte las cards */
.hero-slider {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    z-index: 1;
}

/* ===== HISTORY SECTION ===== */
.history-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.history-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.history-subtitle {
    font-size: 1rem;
    color: #e67e22;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}
.history-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.history-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    height: 350px;
}
.history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.history-image:hover img { transform: scale(1.05); }

.history-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid #e67e22;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-box {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(230,126,34,0.2);
}
.stat-box .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #e67e22;
}
.stat-box .stat-label {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
}

.history-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #e67e22;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s;
}
.history-btn:hover {
    background: transparent;
    color: #e67e22;
    border: 2px solid #e67e22;
}

/* ===== PROJECTS SLIDER ===== */
.projects-slider-section {
    padding: 5rem 5%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/projects-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
   
}
.projects-slider-section .slider-container {
    overflow: hidden;  /* PARA QUE LA SOMBRA SE VEA */
    padding: 10px 0;  /* ESPACIO EXTRA */
}

.projects-header { text-align: center; margin-bottom: 3rem; }
.projects-subtitle {
    font-size: 1rem;
    color: #e67e22;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}
.projects-title {
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.projects-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #e67e22;
    margin: 0.8rem auto 0;
}

.slider-container {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s ease;
}

.slider-card {
    min-width: calc(25% - 1.125rem);
    height: 350px;
    border-radius: 15px;
    overflow: hidden;  /* CAMBIA ESTO */
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 5px 8px 15px -5px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);  /* BORDE SUTIL */
}

.slider-card:hover {
    transform: translateY(-5px) translateX(-2px);
    box-shadow: 8px 12px 20px -5px #e67e22;
    border-color: rgba(255,255,255,0.3);
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s;
}
.slider-card:hover .card-image { transform: scale(1.1); }

.card-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
}
.card-overlay h4 {
    color: white;
    font-size: 1.3rem;
    text-transform: uppercase;
    text-align: center;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(230,126,34,0.8);
    border: 2px solid white;
    color: white;
    font-size: 2rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
}
.slider-dots .dot.active {
    background: #e67e22;
    transform: scale(1.3);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 5rem 5%;
    text-align: center;
}
.services h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-transform: uppercase;
}
.services h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #e67e22;
    margin: 1rem auto;
}

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

.service-card {
    padding: 2.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(230,126,34,0.2);
}
.service-icon { font-size: 3.5rem; margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.5rem; color: #2c3e50; }

/* ===== TEAM SECTION ===== */
.team {
    padding: 5rem 5%;
    background: #f8f9fa;
    text-align: center;
}
.team h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-transform: uppercase;
}
.team h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #e67e22;
    margin: 1rem auto;
}

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

.team-member {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.team-member:hover { transform: translateY(-10px); }

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: #ddd;
    background-size: cover;
    border: 3px solid #e67e22;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-container { max-width: 1200px; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 3rem; }
.contact-subtitle {
    font-size: 1rem;
    color: #e67e22;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}
.contact-title {
    font-size: 2.8rem;
    color: #2c3e50;
    text-transform: uppercase;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(230,126,34,0.2);
}
.info-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.info-card h4 { font-size: 1.2rem; color: #2c3e50; margin-bottom: 0.5rem; }
.info-card p { color: #666; }

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-group { margin-bottom: 1.5rem; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 5px 15px rgba(230,126,34,0.1);
}

.contact-submit-btn {
    width: 100%;
    padding: 1rem;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.contact-submit-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
}

.contact-map {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 2rem;
}
.contact-map iframe { width: 100%; height: 100%; }

/* ===== FOOTER ===== */
.footer {
    background: #1a2634;
    color: white;
    padding: 4rem 5% 2rem;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    text-align: left;
}

.footer-logo-large {
    font-size: 2.2rem;
    font-weight: 800;
    color: #e67e22;
    margin-bottom: 0.5rem;
}

.footer-logo-small {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin: 1.5rem 0;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e67e22;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #e67e22;
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact-icon {
    color: #e67e22;
    font-size: 1.2rem;
}

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

.footer-social a {
    color: white;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(230,126,34,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: #e67e22;
    border-color: #e67e22;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-main h1 { font-size: 3.5rem; }
    .slider-card { min-width: calc(33.333% - 1rem); }
    .nav-menu { gap: 2rem; }
}

@media (max-width: 1024px) {
    body { padding-top: 140px; }
    .logo-img { height: 80px; max-width: 350px; }
    .nav-menu { gap: 1.5rem; }
    .history-container { grid-template-columns: 1fr; gap: 2rem; }
    .history-title { font-size: 2.2rem; }
    .hero-main h1 { font-size: 3rem; }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .slider-card { min-width: calc(50% - 0.75rem); height: 300px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { padding-top: 130px; }

    .top-bar {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.6rem 5%;
    }

    .header { top: 55px; }

    .logo-img {
        height: 70px;
        max-width: 280px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active { display: flex; }
    .hamburger { display: flex; }

    .hero-main h1 { font-size: 2.2rem; }
    .hero-services-bottom { 
        grid-template-columns: 1fr; 
        gap: 1rem;
        padding: 1.5rem;
    }

    .service-item { 
        border-right: none; 
        border-bottom: 1px solid rgba(255,255,255,0.2); 
        padding-bottom: 1rem; 
    }

    .service-item:last-child { border-bottom: none; }

    .history-stats { grid-template-columns: repeat(2, 1fr); }
    .contact-content { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: repeat(2, 1fr); }

    .hero-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .hero-slider-arrow.prev { left: 10px; }
    .hero-slider-arrow.next { right: 10px; }
    
    .footer-container { grid-template-columns: 1fr; }
    .footer-title::after { left: 50%; transform: translateX(-50%); }
}

@media (max-width: 600px) {
    body { padding-top: 120px; }

    .logo-img {
        height: 60px;
        max-width: 220px;
    }

    .slider-card { min-width: 100%; }
    .contact-info { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }

    .hero-main h1 {
        font-size: 1.8rem;
    }

    .hero-main h1 span {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 50px;
        max-width: 180px;
    }

    .hero-main h1 {
        font-size: 1.5rem;
    }

    .history-stats { grid-template-columns: 1fr; }
    .service-number { font-size: 2.5rem; }
    .service-text h4 { font-size: 1rem; }
}

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

.slider-card {
    animation: fadeInUp 0.6s ease forwards;
}

.slider-card:nth-child(1) { animation-delay: 0.1s; }
.slider-card:nth-child(2) { animation-delay: 0.2s; }
.slider-card:nth-child(3) { animation-delay: 0.3s; }
.slider-card:nth-child(4) { animation-delay: 0.4s; }
.slider-card:nth-child(5) { animation-delay: 0.5s; }
.slider-card:nth-child(6) { animation-delay: 0.6s; }
.slider-card:nth-child(7) { animation-delay: 0.7s; }
.slider-card:nth-child(8) { animation-delay: 0.8s; }
.slider-card:nth-child(9) { animation-delay: 0.9s; }



/* ===== ARREGLO LOGO EN SMARTPHONE ===== */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 0.5rem 5%;
    }
    
    .logo-link {
        max-width: 60%;
    }
    
    .logo-img {
        height: auto !important;
        max-height: 70px;
        width: 100%;
        max-width: 280px;
        object-fit: contain;
    }
    
    .hamburger {
        display: flex !important;
        order: 2;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-height: 60px;
        max-width: 220px;
    }
}

@media (max-width: 360px) {
    .logo-img {
        max-height: 50px;
        max-width: 180px;
    }
}


/* ===== FLOATING SERVICES CARDS - CABALGAN SOBRE BANNER ===== */
.floating-services-section {
    position: relative;
    z-index: 10;
    margin-top: -100px; /* Hace que suban y cabalguen */
    padding: 0 5%;
    pointer-events: none; /* Permite hacer click a través del contenedor */
}

.floating-services-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    pointer-events: auto; /* Las cards sí reciben clicks */
}

.floating-card {
    position: relative;
    height: 200px; /* ALTURA REDUCIDA A LA MITAD */
    border-radius: 0; /* SIN ESQUINAS REDONDEADAS */
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3); /* SOMBRA */
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.95; /* UN POCO DE OPACIDAD */
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(230,126,34,0.4);
    opacity: 1;
}

.floating-card-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.floating-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* OVERLAY OSCURITO */
    z-index: 1;
}

.floating-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    color: white;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.floating-number {
    font-size: 2.5rem; /* MÁS PEQUEÑO */
    font-weight: 700;
    color: #e67e22;
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.floating-card-content h3 {
    font-size: 1.3rem; /* MÁS PEQUEÑO */
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floating-card-content p {
    font-size: 0.85rem; /* MÁS PEQUEÑO */
    line-height: 1.4;
    color: rgba(255,255,255,0.9);
    max-width: 100%;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .floating-services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .floating-services-section {
        margin-top: -80px;
    }
}

@media (max-width: 768px) {
    .floating-services-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .floating-card {
        height: 180px;
    }
    .floating-services-section {
        margin-top: -60px;
        padding: 0 5%;
    }
    .floating-number {
        font-size: 2rem;
    }
    .floating-card-content h3 {
        font-size: 1.1rem;
    }
}

/* ===== SUBIR PUNTOS DE NAVEGACIÓN ===== */
.hero-slider-dots {
    bottom: 120px !important;  /* Sube los puntos por encima de las cards */
    z-index: 20 !important;
}

/* Ajuste responsive */
@media (max-width: 1024px) {
    .hero-slider-dots {
        bottom: 100px !important;
    }
}

@media (max-width: 768px) {
    .hero-slider-dots {
        bottom: 80px !important;
    }
}

/* ===== TEAM SECTION - UNA PERSONA CON FONDO ===== */
.team-section {
    padding: 5rem 5%;
     background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/team-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.team-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-subtitle {
    font-size: 1rem;
    color: #e67e22;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.team-title {
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.team-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #e67e22;
    margin: 1rem auto 0;
}

.team-single {
    display: flex;
    justify-content: center;
}

.team-member-single {
    display: flex;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.member-image-single {
    width: 300px;
    min-width: 300px;
    background-size: cover;
    background-position: center;
}

.member-info-single {
    padding: 2.5rem;
    flex: 1;
}

.member-info-single h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.member-position {
    font-size: 1rem;
    color: #e67e22;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e67e22;
}

.member-message {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: #e67e22;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.member-social a:hover {
    background: #d35400;
    transform: translateY(-3px);
}

/* ===== FOOTER CON IMAGEN DE FONDO ===== */
.footer {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 5% 2rem;
    position: relative;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #e67e22;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e67e22;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: white;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #e67e22;
    border-color: #e67e22;
    transform: translateY(-3px);
}

.footer p {
    color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .team-member-single {
        flex-direction: column;
    }
    
    .member-image-single {
        width: 100%;
        height: 250px;
        min-width: auto;
    }
    
    .team-title {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== FOOTER DELUXE ===== */
.footer-deluxe {
    background: #1a2634;
    color: white;
}

/* Top Bar del Footer */
.footer-top-bar {
    background: #e67e22;
    padding: 1rem 5%;
    border-bottom: 3px solid #d35400;
}

.footer-top-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-top-message {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-top-message::before {
    content: '📢';
    margin-right: 10px;
    font-size: 1.3rem;
}

.footer-top-btn {
    background: white;
    color: #e67e22;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.footer-top-btn:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* Main Footer */
.footer-main {
    padding: 4rem 5% 3rem;
}

.footer-main-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

/* Columna Brand */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-brand-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 0.2rem;
}

.footer-brand-text p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover {
    background: #e67e22;
    transform: translateY(-3px);
    border-color: #e67e22;
}

/* Columnas de menú */
.footer-col-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e67e22;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e67e22;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-menu li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-menu li a:hover {
    color: #e67e22;
    transform: translateX(5px);
}

/* Bottom Bar */
.footer-bottom-bar {
    background: #0f1a24;
    padding: 1.2rem 5%;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #e67e22;
}

.footer-bottom-links .separator {
    color: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-top-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-main-container {
        grid-template-columns: 1fr;
    }
    
    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-logo-img {
        height: 50px;
    }
    
    .footer-brand-text h3 {
        font-size: 1.1rem;
    }
    
    .footer-brand-text p {
        font-size: 0.8rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-bottom-links .separator {
        display: none;
    }
}


/* ===== SEPARACIÓN ENTRE SECCIONES ===== */
.floating-services-section {
    margin-bottom: 4rem;  /* Separa las cards de history */
}

.history-section {
    margin-bottom: 5rem;  /* Separa history de projects */
}

.projects-slider-section {
    margin-bottom: 5rem;  /* Separa projects de services */
}

.services {
    margin-bottom: 5rem;  /* Separa services de team */
}

.team-section, .team {
    margin-bottom: 5rem;  /* Separa team de contact */
}

.contact-section {
    margin-bottom: 3rem;  /* Separa contact de footer */
}

/* Ajuste responsive */
@media (max-width: 768px) {
    .floating-services-section { margin-bottom: 3rem; }
    .history-section { margin-bottom: 4rem; }
    .projects-slider-section { margin-bottom: 4rem; }
    .services { margin-bottom: 4rem; }
    .team-section, .team { margin-bottom: 4rem; }
}


/* ===== FONDO CON IMAGEN PARA FOOTER ===== */
.footer-deluxe {
    background: linear-gradient(rgba(26,38,52,0.9), rgba(26,38,52,0.95)), url('../images/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Opcional: efecto parallax */
}
/* ===== ARREGLOS MÓVIL ===== */
@media (max-width: 768px) {
    /* Footer - que se vea completo */
    .footer-deluxe {
        background-attachment: scroll !important; /* quita parallax en móvil */
        background-size: cover !important;
    }
    
    .footer-main-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .footer-col {
        text-align: center !important;
    }
    
    .footer-brand {
        justify-content: center !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .footer-logo-img {
        max-height: 80px !important;
        width: auto !important;
        margin-bottom: 0.5rem;
    }
    
    /* Team section */
    .team-member-single {
        flex-direction: column !important;
    }
    
    .member-image-single {
        width: 100% !important;
        height: 250px !important;
        min-width: auto !important;
    }
    
    .member-info-single {
        padding: 1.5rem !important;
    }
    
    .member-info-single h3 {
        font-size: 1.5rem !important;
    }
    
    /* Ajuste de fondos */
    .team-section {
        background-attachment: scroll !important;
        background-size: cover !important;
    }
}

@media (max-width: 480px) {
    .footer-logo-img {
        max-height: 60px !important;
    }
    
    .member-image-single {
        height: 200px !important;
    }
}
