/* Valores - Título y Cards */
.values-title-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 4rem;
    margin-bottom: 2.2rem;
}
.values-icon {
    font-size: 2.2rem;
    color: #ffd700;
    filter: drop-shadow(0 2px 8px #ffe06688);
}
.values-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 800;
    letter-spacing: 0.04em;
    position: relative;
    display: inline-block;
}
.values-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #ffd700 60%, #ffed4e 100%);
    border-radius: 2px;
    margin: 0.4rem auto 0 auto;
}

.value-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(44,62,80,0.08);
    border: 1.5px solid #f7e9a0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.2rem 1.2rem 1.5rem 1.2rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(.4,2,.3,1), box-shadow 0.4s;
    position: relative;
    min-height: 210px;
}
.value-card:hover {
    transform: translateY(-8px) scale(1.04) rotateZ(-1deg);
    box-shadow: 0 16px 40px rgba(255,215,0,0.13);
    background: rgba(255,255,255,0.92);
}
.value-icon {
    font-size: 2.3rem;
    margin-bottom: 0.7rem;
    color: #ffd700;
    filter: drop-shadow(0 2px 8px #ffe06688);
}
.value-content h4 {
    color: #2c3e50;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}
.value-content p {
    color: #555;
    font-size: 1.01rem;
    margin: 0;
}
@media (max-width: 600px) {
    .values-title {
        font-size: 1.3rem;
    }
    .value-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        min-height: 160px;
    }
    .value-icon {
        font-size: 1.5rem;
    }
}
/* Servicios - Texto destacado */
.services-desc-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #fffbe6 60%, #fffde4 100%);
    border: 1.5px solid #ffe066;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(255,215,0,0.07);
    padding: 1.2rem 2rem;
    margin: 0 auto 2.5rem auto;
    max-width: 700px;
    font-size: 1.13rem;
    font-weight: 500;
    color: #2c3e50;
    position: relative;
    gap: 1rem;
}
.services-desc-icon {
    font-size: 2rem;
    color: #ffd700;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px #ffe06688);
}
.services-desc-text {
    display: block;
    line-height: 1.6;
}
/* Flip Card Styles for Servicios */
.flip-card {
    background: transparent;
    width: 100%;
    height: 320px;
    perspective: 1000px;
    position: relative;
    margin-bottom: 0;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1.4s cubic-bezier(.4,2,.3,1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.95);
    border: 1px solid #e9ecef;
    transition: box-shadow 0.4s;
}

.flip-card-front {
    z-index: 2;
}

.flip-card-back {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    transform: rotateY(180deg);
    z-index: 3;
}

.flip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.13));
}

.flip-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flip-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
}

.flip-card-back .flip-title {
    color: #ffd700;
}

.flip-back-content {
    text-align: left;
    width: 100%;
    padding: 0 0.5rem;
}
.flip-back-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    color: #ffd700;
}
.flip-back-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.flip-back-content li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.3rem;
    color: #fff;
    font-size: 0.98rem;
}
.flip-back-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

@media (max-width: 900px) {
    .flip-card {
        height: 340px;
    }
}
@media (max-width: 600px) {
    .flip-card {
        height: 380px;
    }
    .flip-card-inner {
        padding: 0.5rem;
    }
}
/* Hero Section */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                        linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            text-align: center;
            padding: 150px 2rem 100px;
            margin-top: 80px;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            font-weight: bold;
            letter-spacing: 0.05em;
        }

        .hero p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto 2rem;
            opacity: 0.9;
        }

        .cta-button {
            display: inline-block;
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            color: #1a1a1a;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 8px;
            font-weight: bold;
            font-size: 1.1rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 15px rgba(255,215,0,0.3);
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255,215,0,0.4);
        }

        /* Main Content */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section {
            padding: 4rem 0;
        }

        .section h2 {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
            color: #2c3e50;
            position: relative;
        }

        .section h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(135deg, #ffd700, #ffed4e);
        }

        /* About Section */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            margin-top: 2rem;
        }

        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .mission-vision {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-top: 3rem;
        }


        .mission-card, .vision-card {
            background: rgba(255,255,255,0.13);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.18);
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            border-left: 5px solid #ffd700;
            transition: all 1.2s cubic-bezier(.4,2,.3,1);
            cursor: pointer;
        }

        .mission-card:hover, .vision-card:hover {
            background: rgba(255,255,255,0.18);
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }

        .mission-card h3, .vision-card h3 {
            color: #2c3e50;
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        /* Values Section */
        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .value-item {
            background: white;
            padding: 2rem;
            text-align: center;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .value-item:hover {
            transform: translateY(-5px);
        }

        .value-item h4 {
            color: #2c3e50;
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }

        /* Services Section */
        .services {
            background: url('../../images/background.png') repeat;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .service-card {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 12px;
            border: 1px solid #e9ecef;
            transition: all 0.3s ease;
        }

        .service-card:hover {
            background: white;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transform: translateY(-3px);
        }

        .service-number {
            background: linear-gradient(135deg, #2c3e50, #34495e);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-bottom: 1rem;
        }

        .service-card h4 {
            color: #2c3e50;
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }

        /* Portfolio Section */
        .portfolio {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
        }

        .portfolio h2 {
            color: white;
        }

        .portfolio-content {
            background: rgba(255,255,255,0.1);
            padding: 3rem;
            border-radius: 12px;
            margin-top: 2rem;
        }

        .portfolio-item {
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: rgba(255,255,255,0.05);
            border-radius: 8px;
        }

        .portfolio-item h4 {
            color: #ffd700;
            margin-bottom: 0.5rem;
        }


        

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .about-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .mission-vision {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .section h2 {
                font-size: 2rem;
            }
        }

 /* Flip Cards Section */
        .flip-section {
            padding: 8rem 0;
            background: url('../../images/background.png') repeat;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 3rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 5rem;
        }

        .section-title {
            font-size: 3.5rem;
            font-weight: 900;
            color: #2c3e50;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, #3498db, #2980b9);
            border-radius: 2px;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: #7f8c8d;
            max-width: 600px;
            margin: 0 auto;
            font-weight: 400;
        }

        .flip-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
            margin-top: 4rem;
        }

        .flip-card {
            background: transparent;
            width: 100%;
            height: 300px;
            perspective: 1000px;
        }

        .flip-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.6s;
            transform-style: preserve-3d;
            cursor: pointer;
        }

        .flip-card:hover .flip-card-inner {
            transform: rotateY(180deg);
        }

        .flip-card-front, .flip-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem;
        }

        .flip-card-front {
            background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
            color: #2c3e50;
        }

        .flip-card-back {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            transform: rotateY(180deg);
        }

        .flip-icon {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
        }

        .flip-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .flip-description {
            font-size: 1rem;
            line-height: 1.6;
            text-align: center;
        }

        .flip-back-content {
            text-align: left;
        }

        .flip-back-content h4 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: #3498db;
        }

        .flip-back-content ul {
            list-style: none;
            padding: 0;
        }

        .flip-back-content li {
            margin-bottom: 0.8rem;
            position: relative;
            padding-left: 1.5rem;
        }

        .flip-back-content li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #3498db;
            font-weight: bold;
        }

        /* Client Marquee Section */
        .clients-section {
            padding: 6rem 0;
            background: url('../../images/background.png') repeat;
            border-top: 1px solid rgba(52,73,94,0.1);
            border-bottom: 1px solid rgba(52,73,94,0.1);
            overflow: hidden;
            position: relative;
        }

        .clients-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(52,73,94,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
            pointer-events: none;
        }

        .clients-title {
            text-align: center;
            font-size: 2.2rem;
            font-weight: 900;
            color: #2c3e50;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            position: relative;
            z-index: 2;
        }

        .clients-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: #7f8c8d;
            margin-bottom: 4rem;
            font-weight: 400;
            position: relative;
            z-index: 2;
        }

        .marquee-container {
            position: relative;
            overflow: hidden;
            background: url('../../images/background.png') repeat;
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 2rem 0;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
            border: 1px solid rgba(52,73,94,0.08);
        }

        .marquee-container::before,
        .marquee-container::after {
            content: '';
            position: absolute;
            top: 0;
            width: 100px;
            height: 100%;
            z-index: 10;
            pointer-events: none;
        }

        .marquee-container::before {
            left: 0;
            background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
        }

        .marquee-container::after {
            right: 0;
            background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
        }

        .marquee-track {
            display: flex;
            animation: marqueeScroll 30s linear infinite;
            gap: 4rem;
            align-items: center;
        }

        .marquee-track:hover {
            animation-play-state: paused;
        }

        @keyframes marqueeScroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .client-logo {
            flex-shrink: 0;
            background: white;
            border-radius: 18px;
            padding: 2.5rem 3rem;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            border: 2px solid rgba(52,73,94,0.05);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            cursor: pointer;
            min-width: 200px;
            text-align: center;
        }

        .client-logo::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(52,152,219,0.1), transparent);
            transition: left 0.6s ease;
        }

        .client-logo:hover::before {
            left: 100%;
        }

        .client-logo::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(52,152,219,0.05) 0%, rgba(46,204,113,0.05) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .client-logo:hover::after {
            opacity: 1;
        }

        .client-name {
            font-size: 1.8rem;
            font-weight: 900;
            color: #2c3e50;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            position: relative;
            z-index: 2;
            transition: all 0.3s ease;
        }

        .client-industry {
            font-size: 0.85rem;
            color: #7f8c8d;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            margin-top: 0.5rem;
            font-weight: 600;
            position: relative;
            z-index: 2;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

        .client-logo:hover {
            transform: translateY(-8px) scale(1.05);
            box-shadow: 0 20px 50px rgba(52,152,219,0.15);
            border-color: rgba(52,152,219,0.2);
        }

        .client-logo:hover .client-name {
            color: #3498db;
            transform: scale(1.05);
        }

        .client-logo:hover .client-industry {
            opacity: 1;
            transform: translateY(0);
            color: #2ecc71;
        }

        .client-stats {
            display: flex;
            justify-content: center;
            gap: 4rem;
            margin-top: 3rem;
            position: relative;
            z-index: 2;
        }

        .stat-item {
            text-align: center;
            padding: 1.5rem 2rem;
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            border: 1px solid rgba(52,73,94,0.05);
            transition: all 0.3s ease;
        }

        .stat-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(52,152,219,0.1);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 900;
            color: #3498db;
            display: block;
            line-height: 1;
        }

        .stat-label {
            font-size: 0.9rem;
            color: #7f8c8d;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: 600;
            margin-top: 0.5rem;
        }

.body1 {
  box-sizing: border-box;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
}



.container1 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}


.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  position: absolute;
  width: 350px;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  background: #222;
  border: 1px solid #333;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.slide.active {
  transform: translateX(0) scale(1.1) translateZ(0);
  z-index: 10;
  opacity: 1;
  filter: blur(0px) brightness(1);
}

.slide.prev {
  transform: translateX(-200px) scale(0.8) rotateY(25deg);
  z-index: 5;
  opacity: 0.6;
  filter: blur(2px) brightness(0.7);
}

.slide.next {
  transform: translateX(200px) scale(0.8) rotateY(-25deg);
  z-index: 5;
  opacity: 0.6;
  filter: blur(2px) brightness(0.7);
}

.slide.far-prev {
  transform: translateX(-350px) scale(0.6) rotateY(35deg);
  z-index: 2;
  opacity: 0.3;
  filter: blur(4px) brightness(0.5);
}

.slide.far-next {
  transform: translateX(350px) scale(0.6) rotateY(-35deg);
  z-index: 2;
  opacity: 0.3;
  filter: blur(4px) brightness(0.5);
}

.slide.hidden {
  transform: translateX(0) scale(0.4);
  z-index: 1;
  opacity: 0;
  filter: blur(6px);
}

.indicators {
  display: flex;
  gap: 12px;
  margin-top: 3rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.863);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.indicator.active {
  background: #ff5e00;
  transform: scale(1.2);
  box-shadow: 0 0 20px rgb(255, 153, 0)
}

.indicator:hover {
  background: rgba(48, 1, 109, 0.6);
  transform: scale(1.1);
}

.progress-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #00ff37);
  border-radius: 2px;
  transition: width 0.1s linear;
  width: 0%;
}

@media (max-width: 768px) {
  .title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .carousel-container {
    height: 300px;
  }
  
  .slide {
    width: 280px;
    height: 200px;
  }
  
  .slide.prev, .slide.next {
    transform: translateX(-150px) scale(0.7);
  }
  
  .slide.next {
    transform: translateX(150px) scale(0.7);
  }
}