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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    padding: 0 40px;
    z-index: 1000;
    border-bottom: 1px solid #2a2a2a;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    display: block;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.language-selector:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-selector img {
    width: 20px;
    height: auto;
}

.linkedin-icon,
.facebook-icon,
.instagram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: transparent;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    color: white;
}

.linkedin-icon:hover,
.facebook-icon:hover,
.instagram-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.linkedin-icon svg {
    fill: white;
}

/* Menu hamburguesa (inicialmente oculto) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    width: calc(100% - 60px);
    height: 100vh;
    margin: 0 30px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-inner {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    width: auto;
    height: auto;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    /* negro con 20% de opacidad */
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 400px;
    margin: 0 70px;
}

.hero-content h1 {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: white;
}

/* ========================================
   BUTTONS
   ======================================== */
.cta-button,
.contact-button,
.read-more-btn,
.contact-fab {
    border: none;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.cta-button {
    background-color: #06b6d4;
    color: white;
    padding: 18px 40px;
    font-size: 16px;
    gap: 12px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #22d3ee;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.contact-button {
    background-color: #06b6d4;
    color: white;
    padding: 15px 35px;
    font-size: 15px;
}

.contact-button:hover {
    background-color: #22d3ee;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.read-more-btn {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    color: white;
    padding: 15px 32px;
    font-size: 15px;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.4);
}


.contact-fab {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    color: white;
    padding: 18px 40px;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
    z-index: 1000;
    transform: translateY(150px);
}

.contact-fab:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.6);
}

.arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow,
.contact-button:hover .arrow,
.contact-fab:hover .arrow,
.read-more-btn:hover .arrow {
    transform: translateX(5px);
}

/* ========================================
   FOOTER BAR (HERO)
   ======================================== */
.footer-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
    position: absolute;
    right: 80px;
    bottom: 120px;
    z-index: 2;
    gap: 50px;
}

.recognitions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.partner {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.recognitions span,
.partner span {
    font-size: 11px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.clutch-badge,
.award-badge {
    height: 85px;
    display: flex;
    align-items: center;
}

.clutch-badge img,
.award-badge img {
    height: 85px;
    width: auto;
    object-fit: contain;
}

.partner-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}


/* OFFER SECTION */
.offer-section {
    padding: 80px 40px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.container {
    width: 100%;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    color: white;
    line-height: 1.2;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: center;
    /* Centra verticalmente ambas columnas */
}


.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 20px;
    padding: 40px 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.card h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: white;
    margin-bottom: 8px;
}

.card .subtitle {
    font-size: 16px;
    color: #aaa;
    font-weight: 400;
}

.card:hover {
    border-color: #06b6d4;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

/* Estilo cuando estÃ¡ activo */
.card-highlight {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.card-highlight h3,
.card-highlight .subtitle {
    color: white;
    position: relative;
    z-index: 2;
}

.card-highlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.9) 0%, rgba(2, 132, 199, 0.9) 100%);
    transition: opacity 0.3s ease;
}

.card-highlight:hover::before {
    opacity: 0.8;
}

.right-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    min-height: 200px;
    cursor: default;
}

/* TÃ­tulo de la tarjeta */
.info-card .info-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0;
    color: #666;
    transition: all 0.4s ease;
}

/* Contenido (descripciÃ³n + botÃ³n) - OCULTO por defecto */
.info-card .info-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.info-card .info-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 30px;
    margin-top: 20px;
    flex-grow: 1;
}

/* Estado ACTIVO - Mostrar todo el contenido */
.info-card.active .info-title {
    color: white;
    margin-bottom: 20px;
}

.info-card.active .info-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.info-card.active:hover {
    border-color: #06b6d4;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
    cursor: pointer;
}

/* BotÃ³n Read More */
.read-more-btn {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.read-more-btn .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.5);
}

.read-more-btn:hover .arrow {
    transform: translateX(5px);
}


/* Responsive */
@media (max-width: 1024px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }

    .right-column {
        grid-template-columns: 1fr;
    }
}

.left-column .card {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 20px;
    padding: 40px 35px;
    cursor: pointer !important;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
}

.left-column .card:active {
    transform: scale(0.98);
}



/* ========================================
   TECH SPECIALIZATIONS SECTION
   ======================================== */
.tech-section {
    padding: 80px 40px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.tech-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #0a0a0a;
    height: 100%;
    min-height: 500px;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tech-image:hover img {
    transform: scale(1.05);
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.tech-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-name {
    transition: all 0.3s ease;
}

.tech-arrow {
    font-size: 28px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.tech-item:hover {
    padding-left: 20px;
    border-bottom-color: #06b6d4;
}

.tech-item:hover .tech-name {
    color: #06b6d4;
}

.tech-item:hover .tech-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #06b6d4;
}

.tech-item:focus,
.tech-item:focus-visible {
    outline: 3px solid #06b6d4;
    outline-offset: 4px;
    border-radius: 4px;
}

/* ========================================
   INDUSTRIES SECTION
   ======================================== */
.industries-section {
    padding: 120px 40px 80px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.industry-card {
    position: relative;
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 16px;
    padding: 35px 30px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 180px;
}

.card-icon {
    width: 48px;
    height: 48px;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #e0e0e0;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.card-arrow {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 24px;
    color: #b0b0b0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.industry-card:hover {
    background-color: #323232;
    border-color: #06b6d4;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.25);
}

.industry-card:hover .card-icon {
    color: #06b6d4;
    transform: scale(1.1);
}

.industry-card:hover .card-title {
    color: #06b6d4;
}

.industry-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #06b6d4;
}

.industry-card:focus-visible {
    outline: 3px solid #06b6d4;
    outline-offset: 4px;
}

/* ========================================
   NUMBERS PREVIEW SECTION
   ======================================== */
.numbers-preview {
    padding: 80px 40px;
    background-color: #1a1a1a;
    text-align: left;
    border-top: 1px solid #2a2a2a;
}

.numbers-preview h2 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    max-width: 1600px;
    margin: 0 auto;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-item,
.industry-card {
    animation: fadeInUp 0.6s ease backwards;
}

.tech-item:nth-child(1) {
    animation-delay: 0.1s;
}

.tech-item:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-item:nth-child(3) {
    animation-delay: 0.3s;
}

.tech-item:nth-child(4) {
    animation-delay: 0.4s;
}

.tech-item:nth-child(5) {
    animation-delay: 0.5s;
}

.tech-item:nth-child(6) {
    animation-delay: 0.6s;
}

.industry-card:nth-child(1) {
    animation-delay: 0.05s;
}

.industry-card:nth-child(2) {
    animation-delay: 0.1s;
}

.industry-card:nth-child(3) {
    animation-delay: 0.15s;
}

.industry-card:nth-child(4) {
    animation-delay: 0.2s;
}

.industry-card:nth-child(5) {
    animation-delay: 0.25s;
}

.industry-card:nth-child(6) {
    animation-delay: 0.3s;
}

.industry-card:nth-child(7) {
    animation-delay: 0.35s;
}

.industry-card:nth-child(8) {
    animation-delay: 0.4s;
}

.industry-card:nth-child(9) {
    animation-delay: 0.45s;
}

.industry-card:nth-child(10) {
    animation-delay: 0.5s;
}

.industry-card:nth-child(11) {
    animation-delay: 0.55s;
}

.industry-card:nth-child(12) {
    animation-delay: 0.6s;
}

.industry-card:nth-child(13) {
    animation-delay: 0.65s;
}

.industry-card:nth-child(14) {
    animation-delay: 0.7s;
}

/* ========================================
   PRELOADER PREMIUM
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.preloader::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(2, 132, 199, 0.1) 0%, transparent 50%);
    animation: moveBackground 10s ease-in-out infinite;
}

@keyframes moveBackground {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.preloader::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    animation: rotateOrbit 15s linear infinite;
}

@keyframes rotateOrbit {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
    z-index: 2;
    animation: contentAppear 0.8s ease-out;
}

@keyframes contentAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.preloader-text {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg,
            #ffffff 0%,
            #06b6d4 25%,
            #0284c7 50%,
            #06b6d4 75%,
            #ffffff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 14px;
    margin-bottom: 50px;
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.5));
    animation: gradientFlow 4s ease infinite;
    text-transform: uppercase;
    position: relative;
}

@keyframes gradientFlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.preloader-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.preloader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(-90deg) scale(0.5);
    animation: revealLetter 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    filter: blur(10px);
    transform-origin: center;
}

@keyframes revealLetter {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(-90deg) scale(0.5);
        filter: blur(10px);
    }

    50% {
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
        filter: blur(0);
    }
}

.preloader-bar {
    width: 450px;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.05);
    position: relative;
}

.preloader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.preloader-progress {
    height: 100%;
    background: linear-gradient(90deg,
            #06b6d4 0%,
            #0284c7 25%,
            #06b6d4 50%,
            #0284c7 75%,
            #06b6d4 100%);
    background-size: 200% 100%;
    border-radius: 50px;
    width: 0%;
    box-shadow:
        0 0 20px rgba(6, 182, 212, 0.8),
        0 0 40px rgba(6, 182, 212, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    animation:
        loadProgress 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards,
        flowGradient 1.5s linear infinite;
    position: relative;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes flowGradient {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: -20px;
    right: 20%;
    width: 4px;
    height: 4px;
    background: #06b6d4;
    border-radius: 50%;
    box-shadow:
        0 0 10px #06b6d4,
        30px 15px 0 2px #0284c7,
        -30px 10px 0 1px #06b6d4;
    animation: floatDots 3s ease-in-out infinite;
}

@keyframes floatDots {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

.preloader-percentage {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

/* Tablets grandes y escritorios pequeÃ±os */
@media (max-width: 1400px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content {
        padding-top: 350px;
        margin: 0 50px;
    }
}

/* Tablets y laptops */
@media (max-width: 1200px) {
    .header {
        padding: 0 30px;
    }

    .navbar {
        height: 65px;
    }

    .logo a {
        font-size: 24px;
    }

    .nav-menu {
        gap: 25px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .hero-content {
        padding-top: 300px;
        margin: 0 40px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .footer-bar {
        right: 50px;
        bottom: 100px;
        gap: 35px;
    }

    .clutch-badge,
    .award-badge {
        height: 70px;
    }

    .clutch-badge img,
    .award-badge img {
        height: 70px;
    }

    .offer-section,
    .tech-section,
    .industries-section {
        padding: 70px 30px;
    }

    .section-title {
        font-size: 42px;
        margin-bottom: 50px;
    }

    .offer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .right-column {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .tech-item {
        font-size: 22px;
        padding: 25px 0;
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .nav-right {
        gap: 15px;
    }

    .linkedin-icon,
    .facebook-icon,
    .instagram-icon {
        width: 32px;
        height: 32px;
    }

    .hero {
        width: calc(100% - 40px);
        margin: 0 20px;
        border-radius: 15px;
    }

    .hero-content {
        padding-top: 250px;
        margin: 0 30px;
    }

    .hero-content h1 {
        font-size: 42px;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 16px 35px;
        font-size: 15px;
    }

    .footer-bar {
        right: 35px;
        bottom: 80px;
        gap: 30px;
        flex-wrap: wrap;
    }

    .recognitions,
    .partner {
        gap: 15px;
    }

    .clutch-badge,
    .award-badge {
        height: 60px;
    }

    .clutch-badge img,
    .award-badge img {
        height: 60px;
    }

    .partner-logo {
        height: 32px;
    }

    .section-title {
        font-size: 38px;
    }

    .card {
        padding: 35px 30px;
    }

    .info-card {
        padding: 35px 30px;
    }

    .info-card h3 {
        font-size: 24px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-image {
        order: 1;
        min-height: 400px;
    }

    .tech-list {
        order: 2;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-fab {
        bottom: 30px;
        right: 30px;
        padding: 16px 35px;
        font-size: 15px;
    }
}

/* MÃ³viles grandes y tablets pequeÃ±as */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .navbar {
        height: 60px;
    }

    .logo a {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .logo a::after {
        height: 2px;
    }

    /* MenÃº hamburguesa visible en mÃ³vil */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #1a1a1a;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 30px;
        transition: left 0.3s ease;
        border-top: 1px solid #2a2a2a;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 18px;
    }

    .nav-right {
        gap: 12px;
    }

    .language-selector {
        font-size: 12px;
        padding: 4px 8px;
    }

    .language-selector img {
        width: 18px;
    }

    .linkedin-icon,
    .facebook-icon,
    .instagram-icon {
        width: 30px;
        height: 30px;
    }

    .hero {
        width: calc(100% - 20px);
        margin: 70px 10px 10px 10px;
        border-radius: 12px;
        min-height: 85vh;
        height: auto;
    }

    .hero-content {
        padding-top: 180px;
        margin: 0 25px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 25px;
        line-height: 1.3;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 14px;
        gap: 8px;
    }

    .arrow {
        font-size: 18px;
    }

    .hero-video {
        display: none;
    }

    /* Footer bar en hero - ahora estÃ¡tico y vertical */
    .footer-bar {
        position: static;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
        margin-top: 60px;
        padding: 25px 20px;
        background-color: rgba(0, 0, 0, 0.4);
        border-radius: 12px;
    }

    .recognitions,
    .partner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .recognitions span,
    .partner span {
        font-size: 10px;
        text-align: center;
    }

    .clutch-badge,
    .award-badge {
        height: 55px;
    }

    .clutch-badge img,
    .award-badge img {
        height: 55px;
    }

    .partner-logo {
        height: 28px;
    }

    /* Secciones principales */
    .offer-section,
    .tech-section {
        padding: 50px 20px;
    }

    .industries-section {
        padding: 80px 20px 50px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 35px;
        line-height: 1.3;
    }

    .left-column {
        gap: 15px;
    }

    .card {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .card h3 {
        font-size: 19px;
        margin-bottom: 6px;
    }

    .card .subtitle {
        font-size: 15px;
    }

    .right-column {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-card {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .info-card h3 {
        font-size: 21px;
        margin-bottom: 15px;
    }

    .info-card p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .read-more-btn {
        padding: 13px 28px;
        font-size: 14px;
    }

    /* Tech section */
    .tech-image {
        min-height: 320px;
        border-radius: 16px;
    }

    .tech-item {
        font-size: 19px;
        padding: 22px 0;
    }

    .tech-arrow {
        font-size: 24px;
    }

    .tech-item:hover {
        padding-left: 15px;
    }

    /* Industries */
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .industry-card {
        padding: 28px 22px;
        min-height: 160px;
        border-radius: 14px;
    }

    .card-icon {
        width: 42px;
        height: 42px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-arrow {
        top: 25px;
        right: 22px;
        font-size: 22px;
    }

    /* Numbers preview */
    .numbers-preview {
        padding: 50px 20px;
    }

    .numbers-preview h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    /* Contact FAB */
    .contact-fab {
        bottom: 20px;
        right: 20px;
        padding: 14px 28px;
        font-size: 14px;
    }

    /* Preloader responsive */
    .preloader-text {
        font-size: 48px;
        letter-spacing: 8px;
        min-height: 70px;
    }

    .preloader-bar {
        width: 300px;
        height: 5px;
    }
}

/* MÃ³viles medianos */
@media (max-width: 640px) {
    .logo a {
        font-size: 20px;
    }

    .nav-right {
        gap: 8px;
    }

    .linkedin-icon,
    .facebook-icon,
    .instagram-icon {
        width: 28px;
        height: 28px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .card h3 {
        font-size: 18px;
    }

    .info-card h3 {
        font-size: 20px;
    }

    .tech-item {
        font-size: 18px;
        padding: 20px 0;
    }

    .tech-item:hover {
        padding-left: 10px;
    }

    .card-title {
        font-size: 17px;
    }

    .numbers-preview h2 {
        font-size: 28px;
    }

    .preloader-text {
        font-size: 42px;
        letter-spacing: 6px;
    }

    .preloader-bar {
        width: 280px;
    }
}

/* MÃ³viles pequeÃ±os */
@media (max-width: 480px) {
    .header {
        padding: 0 15px;
    }

    .navbar {
        height: 55px;
    }

    .logo a {
        font-size: 18px;
    }

    .menu-toggle span {
        width: 22px;
        height: 2px;
    }

    .nav-menu {
        top: 55px;
        height: calc(100vh - 55px);
        padding-top: 40px;
        gap: 25px;
    }

    .nav-menu a {
        font-size: 16px;
    }

    .nav-right {
        gap: 6px;
    }

    .language-selector {
        display: none;
    }

    .linkedin-icon,
    .facebook-icon,
    .instagram-icon {
        width: 26px;
        height: 26px;
    }

    .hero {
        margin: 65px 10px 10px 10px;
        border-radius: 10px;
    }

    .hero-content {
        padding-top: 150px;
        margin: 0 20px;
    }

    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 13px;
        gap: 6px;
    }

    .arrow {
        font-size: 16px;
    }

    .footer-bar {
        margin-top: 50px;
        padding: 20px 15px;
        gap: 20px;
    }

    .recognitions span,
    .partner span {
        font-size: 9px;
    }

    .clutch-badge,
    .award-badge {
        height: 50px;
    }

    .clutch-badge img,
    .award-badge img {
        height: 50px;
    }

    .partner-logo {
        height: 25px;
    }

    .offer-section,
    .tech-section {
        padding: 40px 15px;
    }

    .industries-section {
        padding: 70px 15px 40px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .card,
    .info-card,
    .industry-card {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .card h3 {
        font-size: 17px;
    }

    .card .subtitle {
        font-size: 14px;
    }

    .info-card h3 {
        font-size: 19px;
        margin-bottom: 12px;
    }

    .info-card p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .read-more-btn,
    .contact-button {
        padding: 12px 24px;
        font-size: 13px;
    }

    .tech-image {
        min-height: 280px;
    }

    .tech-item {
        font-size: 17px;
        padding: 18px 0;
    }

    .tech-arrow {
        font-size: 22px;
    }

    .tech-item:hover {
        padding-left: 8px;
    }

    .industry-card {
        min-height: 150px;
    }

    .card-icon {
        width: 38px;
        height: 38px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-arrow {
        top: 22px;
        right: 18px;
        font-size: 20px;
    }

    .numbers-preview {
        padding: 40px 15px;
    }

    .numbers-preview h2 {
        font-size: 24px;
    }

    .contact-fab {
        bottom: 15px;
        right: 15px;
        padding: 12px 24px;
        font-size: 13px;
    }

    .preloader-text {
        font-size: 32px;
        letter-spacing: 4px;
        min-height: 50px;
        gap: 4px;
    }

    .preloader-bar {
        width: 240px;
        height: 4px;
    }

    .preloader-percentage {
        font-size: 12px;
        top: -35px;
    }
}

/* MÃ³viles muy pequeÃ±os */
@media (max-width: 360px) {
    .logo a {
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .section-title {
        font-size: 22px;
    }

    .cta-button {
        padding: 11px 22px;
        font-size: 12px;
    }

    .card h3,
    .card-title {
        font-size: 15px;
    }

    .info-card h3 {
        font-size: 17px;
    }

    .tech-item {
        font-size: 16px;
    }

    .preloader-text {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .preloader-bar {
        width: 220px;
    }
}

/* ========================================
   CONTACT FAB SYSTEM - FAST TRANSITIONS
   ======================================== */
.contact-fab-system {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    /* Reducido de 0.4s a 0.25s */
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fab-floating {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(22, 203, 249, 0.4);
    transition: all 0.3s ease;
}

.fab-floating:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(22, 241, 249, 0.6);
}

.fab-floating .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.fab-floating:hover .arrow {
    transform: translateX(5px);
}

/* Estado oculto del FAB */
.contact-fab-system.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.9);
}

/* ========================================
   CONTACT FORM SECTION - FAST ANIMATION
   ======================================== */
.contact-form-section {
    background: linear-gradient(to bottom, #1a1a1a 0%, #0a0a0a 100%);
    padding: 100px 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    min-height: 100vh;
}

.contact-form-section.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.form-section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.form-section-content {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 420px 1fr;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: scale(1);
}


/* Columna izquierda - ImÃ¡genes */
.form-images-col {
    position: relative;
}

.images-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    height: 100%;
    min-height: 700px;
}

.grid-cell {
    overflow: hidden;
    position: relative;
}

.grid-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-cell:hover img {
    transform: scale(1.1);
}

.grid-orange {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
}

.grid-img1 {
    grid-column: 2;
    grid-row: 1;
}

.grid-img2 {
    grid-column: 1;
    grid-row: 2;
}

.grid-img3 {
    grid-column: 2;
    grid-row: 2;
}

/* Columna derecha - Formulario */
.form-details-col {
    padding: 60px;
}

.form-header-text {
    margin-bottom: 40px;
}

.contact-details-text {
    color: #666;
    font-size: 14px;
    margin-top: -8px;
    margin-bottom: 10px;
}

.form-header-text h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.contact-main-form {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.form-topics-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.topics-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-topic {
    background: white;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pill-topic:hover {
    border-color: #06b6d4;
    color: #06b6d4;
}

.pill-topic.active {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    color: white;
    border: none;
}

.fields-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fields-row-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 18px;
}

.field-item {
    display: flex;
    flex-direction: column;
}

.field-item label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.field-item input,
.field-item textarea {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 14px;
    color: #1a1a1a;
    font-family: inherit;
    transition: all 0.3s ease;
}

.field-item input:focus,
.field-item textarea:focus {
    outline: none;
    border-color: #06b6d4;
    background: white;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.field-item textarea {
    resize: vertical;
}

.check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.check-label input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.privacy-text-info {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    margin-top: -12px;
}

.submit-form-btn {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 17px 45px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.submit-form-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(22, 120, 249, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .form-section-content {
        grid-template-columns: 1fr;
    }

    .form-images-col {
        min-height: 350px;
    }

    .images-grid-layout {
        min-height: 350px;
    }

    .fields-row-3,
    .fields-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 80px 20px;
    }

    .form-details-col {
        padding: 40px 30px;
    }

    .form-header-text h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .contact-fab-system {
        bottom: 20px;
        right: 20px;
    }

    .fab-floating {
        padding: 14px 28px;
        font-size: 14px;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--color-charcoal-700);
    color: var(--color-gray-200);
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--color-teal-300);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--color-gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: var(--color-teal-300);
}

.footer-main {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-gray-200);
}

.footer-description {
    color: var(--color-gray-300);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--color-gray-400-rgb), 0.15);
    border-radius: 8px;
    color: var(--color-gray-300);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--color-teal-300);
    color: var(--color-charcoal-700);
}

.footer-contact li {
    color: var(--color-gray-300);
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    border-top: 1px solid rgba(var(--color-gray-400-rgb), 0.2);
}

.footer-bottom p {
    color: var(--color-gray-400);
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--color-gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-teal-300);
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* AJUSTES PARA VIDEO EN MÓVILES - Agregar al final del archivo */

/* Asegurar que el video sea visible en todos los dispositivos */
@media (max-width: 768px) {
    .hero-video {
        display: block !important;
        /* Forzar visualización */
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1;
    }

    .hero-background {
        height: 100vh;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.5);
        /* Aumentar opacidad para mejor legibilidad */
    }
}

/* AJUSTES PARA FOOTER EN MÓVILES */
@media (max-width: 768px) {
    .footer-bar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .footer-bar p {
        order: 2;
    }

    .footer-bar .footer-social {
        order: 1;
        justify-content: center;
    }
}

/* ========================================
   SECCIÓN NUESTRO EQUIPO
   ======================================== */

.team-section {
    padding: 120px 40px 80px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.team-card {
    position: relative;
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}


.team-card:hover {
    border-color: #06b6d4;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.25);
}

/* Contenedor de la imagen */
.team-image-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    /* altura fija para uniformidad */
    overflow: hidden;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen dentro del contenedor */
.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* mantiene proporción y recorta exceso */
    object-position: center;
    /* centra la parte visible */
    transition: transform 0.5s ease;
}


.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 12px;
}

.team-social .linkedin-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.team-social .linkedin-icon:hover {
    background-color: #06b6d4;
    transform: translateY(-3px);
}

.team-social .facebook-icon {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0);
}

.team-social .facebook-icon:hover {
    background-color: #06b6d4;
    color: #ffffff;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}


.team-info {
    padding: 35px 30px;
}

.team-name {
    font-size: 20px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.team-card:hover .team-name {
    color: #06b6d4;
}

.team-role {
    font-size: 14px;
    color: #06b6d4;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-description {
    font-size: 15px;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}

/* Animación de entrada */
.team-card {
    animation: fadeInUp 0.6s ease backwards;
}

.team-card:nth-child(1) {
    animation-delay: 0.05s;
}

.team-card:nth-child(2) {
    animation-delay: 0.1s;
}

.team-card:nth-child(3) {
    animation-delay: 0.15s;
}

.team-card:nth-child(4) {
    animation-delay: 0.2s;
}

/* ========================================
   RESPONSIVE - TEAM SECTION
   ======================================== */




/* Tablets grandes */
@media (max-width: 1400px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .team-section {
        padding: 70px 30px;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-image-wrapper {
        height: 500px;
    }
}

/* Móviles grandes */
@media (max-width: 768px) {
    .team-section {
        padding: 50px 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .team-card {
        padding: 0;
        border-radius: 14px;
    }

    .team-image-wrapper {
        height: 500px;
    }

    .team-info {
        padding: 28px 22px;
    }

    .team-name {
        font-size: 18px;
    }

    .team-description {
        font-size: 14px;
    }
}

/* Móviles medianos */
@media (max-width: 640px) {
    .team-image-wrapper {
        height: 500px;
    }
}

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

    .team-image-wrapper {
        height: 500px;
    }

    .team-info {
        padding: 24px 18px;
    }

    .team-name {
        font-size: 17px;
    }

    .team-role {
        font-size: 13px;
    }

    .team-description {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* Mostrar solo una parte del texto */
.team-description {
    max-height: 120px;
    /* ajusta según cuántas líneas quieras mostrar */
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

/* Gradiente al final del texto cortado */
.team-description::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(42, 42, 42, 0), #2a2a2a 80%);
    pointer-events: none;
    transition: all 0.5s ease-in-out;
}

.team-description p {
    margin-bottom: 12px;
    text-align: justify;
}


/* Estado expandido */
.team-description.expanded {
    max-height: 1000px;
    /* suficiente para mostrar todo */
}

.team-description.expanded::after {
    opacity: 0;
}

/* Botón Saber más */
.read-more-btn {
    margin-top: 12px;
    background: none;
    border: none;
    color: #06b6d4;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: #04a3c4;
    text-decoration: underline;
}


/* --- ESTILO BASE DEL LOGO --- */
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Puedes usar center o space-between según el layout */
    padding: 10px 20px;
}

.logo-img {
    margin-top: 10px;
    height: 50px;
    /* Tamaño estándar para escritorio */
    width: auto;
    max-width: 100%;
    /* Evita que se desborde en contenedores pequeños */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* --- TEXTO OPCIONAL AL LADO DEL LOGO --- */
.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-left: 10px;
    white-space: nowrap;
    /* Evita que se corte el texto en pantallas medianas */
}

/* --- RESPONSIVE DESIGN --- */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
    .logo-img {
        height: 45px;
        /* Ligeramente más pequeño */
        margin-top: 8px;
    }

    .logo-text {
        font-size: 1.1rem;
    }
}

/* Móviles medianos (≤ 768px) */
@media (max-width: 768px) {
    .logo {
        justify-content: center;
        /* Centra el logo en navbar o header */
        padding: 8px 15px;
    }

    .logo-img {
        height: 40px;
        margin-top: 5px;
    }

    .logo-text {
        font-size: 1rem;
        margin-left: 8px;
    }
}

/* Móviles pequeños (≤ 480px) */
@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        /* Logo encima del texto */
        align-items: center;
    }

    .logo-img {
        height: 35px;
        /* Tamaño compacto */
        margin-top: 0;
    }

    .logo-text {
        font-size: 0.95rem;
        margin: 5px 0 0 0;
    }
}

/* MÓVIL: Ocultar tarjetas inactivas en la columna derecha */
@media (max-width: 768px) {
  .right-column .info-card {
    display: none;
  }
  
  .right-column .info-card.active {
    display: flex;
  }
  
  /* Ajustar grid para mostrar solo las activas */
  .right-column {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}