/* ===== VARIABLES Y ESTILOS BASE ===== */
:root {
    --accent: #6E00FF;
    --primary: #CCFF00;
    --dark: #1A1A2E;
    --light: #F5F5F7;
    --pink: #FF2D75;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #888888;
}



/* ===== RESET Y ESTILOS GENERALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

.container, 
.section-container,
.hero-container,
.case-study-container,
.contenedor-cta,
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== HERO SECTION ===== */
.photo-hero {
    background: none;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    color: var(--white);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;

}




.hero-container {
    display: relative;
    padding: 2rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 2;
}


.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.photo-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.photo-hero h1 span {
    color: var(--primary);
    position: relative;
}

.photo-hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: fixed;
    background-color: var(--primary);
    color: var(--black);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.cta-button-outline:hover {
    background-color: var(--primary);
    color: var(--black);
}

/* ===== SERVICIOS SECTION ===== */
.services-section {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(110, 0, 255, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--pink));
    transition: all 0.3s ease;
}

.service-card:hover::before {
    height: 10px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(15deg) scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    text-align: left;
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--dark);
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ===== PORTAFOLIO SECTION ===== */
.portfolio-section {
    background-color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== PROCESO SECTION ===== */

.nueva-seccion-proceso {
    background: #f9f9f9;
    padding: 80px 20px;
    text-align: center;
  }
  
  .nueva-seccion-proceso .titulo-seccion {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #222;
  }
  
  .pasos-proceso {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .paso {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .numero-paso {
    font-size: 1.8rem;
    color: var(--black);
    background: var(--primary);
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }
  
  /* NUEVO DISEÑO - SECCIÓN CTA */

  .nueva-seccion-cta {
    background: linear-gradient(250deg, var(--primary) 0%, #000000 100%);
    color: white;
    padding: 80px 30px;
    text-align: center;
  }
  
  .nueva-seccion-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .nueva-seccion-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .btn-cta {
    background: var(--primary);
    color: var(--black);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
    animation: pulse 2s infinite;
  }
  
  .btn-cta:hover {
    background: #ffffff;
  }



/* ===== TESTIMONIOS SECTION ===== */
.testimonials-section {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(110, 0, 255, 0.1);
}

.quote-container {
    position: relative;
    margin-bottom: 2rem;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(110, 0, 255, 0.1);
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.client-position {
    font-size: 0.9rem;
    color: var(--gray);
}


/* ===== FOOTER ===== */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo .ai {
    color: var(--primary);
}

.footer-tagline {
    font-size: 1rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* ===== ANIMACIONES ===== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(204, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(204, 255, 0, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nueva-seccion-proceso .titulo-seccion,
    .nueva-seccion-cta h2 {
      font-size: 2rem;
    }
  
    .pasos-proceso {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  
    .nueva-seccion-cta p {
      font-size: 1rem;
      padding: 0 10px;
    }
  
    .btn-cta {
      padding: 12px 25px;
      font-size: 1rem;
    }
  
    .numero-paso {
      width: 35px;
      height: 35px;
      font-size: 1.2rem;
    }
  }
  
  @media (max-width: 480px) {
    .nueva-seccion-cta h2 {
      font-size: 1.7rem;
    }
  
    .nueva-seccion-proceso .titulo-seccion {
      font-size: 1.8rem;
    }

  }
  

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
        .hero-content {
        padding: 1rem;
        margin-left: 50px; /* Menos padding interno */
    }
        .subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }


    
    .container, 
    .section-container,
    .hero-container,
    .case-study-container,
    .footer-container {
        padding: 0 1.5rem;
    }

    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-button{
    padding: 1.2rem;
    font-size: 14px;
    max-width: 100%;

    }
}


@media (max-width: 576px) {

    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .photo-hero h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-text {
        padding: 1rem; 
        text-align: center;
        padding-left: 150%;
    }

    .cta-button{
    padding: 0.6rem;
    font-size: 14px;
    max-width: 100%;

    }
}

@media (max-width: 992px) {
    .cta-button{
    padding: 1.3rem;
    font-size: 14px;
    max-width: 100%;

    }
}