/* ========================================
   SERVICE CARDS - CENTERED CONTENT
   ======================================== */
.card-content-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

/* ========================================
   PROBLEMA SECTION - CHAT BUBBLES DESIGN
   ======================================== */
.problema-section {
    background-color: var(--color-blanco);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-5xl) var(--spacing-lg) var(--spacing-4xl) var(--spacing-lg);
}

.problema-section .section-title {
    margin-bottom: 0;
}

.problema-section .section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Chat Bubbles Container */
.chat-bubbles-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 60px auto;
    height: 550px;
    overflow: visible;
}

/* Base Chat Bubble Styles */
.chat-bubble {
    position: absolute;
    background: var(--color-white);
    border-radius: 20px 20px 20px 6px;
    padding: var(--spacing-sm);
    box-shadow: 0 4px 20px rgba(135, 0, 0, 0.15);
    border: 1px solid var(--color-bordo-light);
    max-width: 320px;
    min-width: 240px;
    transform-origin: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    z-index: 1;
}

.chat-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 15px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--color-white);
    z-index: 2;
}

.chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 13px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--color-bordo-light);
    z-index: 1;
}

.chat-bubble p {
    margin: 0;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    font-style: italic;
    font-weight: 400;
}

.chat-bubble:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 8px 30px rgba(135, 0, 0, 0.25);
    border-color: var(--color-bordo);
    z-index: 10;
}

/* Individual Bubble Positioning - Well Spaced for Better Readability */
.bubble-1 {
    top: 230px;
    left: 36%;
    transform: rotate(-3deg);
    animation: float1 6s ease-in-out infinite;
    z-index: 3;
}

.bubble-2 {
    top: 150px;
    right: 20%;
    transform: rotate(2deg);
    animation: float2 7s ease-in-out infinite;
    z-index: 2;
}

.bubble-3 {
    top: 180px;
    left: 2%;
    transform: rotate(-1deg);
    animation: float3 8s ease-in-out infinite;
    z-index: 4;
}

.bubble-4 {
    top: 80px;
    left: 4%;
    transform: rotate(-3deg);
    animation: float4 6.5s ease-in-out infinite;
    z-index: 5;
}

.bubble-5 {
    top: 220px;
    right: 5%;
    transform: rotate(-2deg);
    animation: float5 7.5s ease-in-out infinite;
    z-index: 3;
}

.bubble-6 {
    top: 130px;
    left: 25%;
    transform: rotate(1deg);
    animation: float6 8.5s ease-in-out infinite;
    z-index: 6;
}

.bubble-7 {
    top: 260px;
    left: 7%;
    transform: rotate(-4deg);
    animation: float7 6s ease-in-out infinite;
    z-index: 2;
}

.bubble-8 {
    top: 290px;
    right: 34%;
    transform: rotate(3deg);
    animation: float8 7s ease-in-out infinite;
    z-index: 4;
}

.bubble-9 {
    top: 340px;
    right: 5%;
    transform: rotate(-1deg);
    animation: float9 8s ease-in-out infinite;
    z-index: 3;
}

.bubble-10 {
    top: 80px;
    left: 60%;
    transform: rotate(2deg);
    animation: float10 5.2s ease-in-out infinite;
    z-index: 5;
}

.bubble-11 {
    top: 430px;
    right: 20%;
    transform: rotate(-3deg);
    animation: float11 3.8s ease-in-out infinite;
    z-index: 4;
}

.bubble-12 {
    top: 360px;
    left: 35%;
    transform: rotate(1deg);
    animation: float12 4.7s ease-in-out infinite;
    z-index: 7;
}

.bubble-13 {
    top: 440px;
    left: 20%;
    transform: rotate(-2deg);
    animation: float13 5.5s ease-in-out infinite;
    z-index: 2;
}

.bubble-14 {
    top: 340px;
    left: 8%;
    transform: rotate(3deg);
    animation: float14 4.1s ease-in-out infinite;
    z-index: 6;
}

/* Floating Animations */
/* Animaciones optimizadas - solo para escritorio */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
    @keyframes float1 {
        0%, 100% { transform: rotate(-3deg) translateY(0px); }
        50% { transform: rotate(-3deg) translateY(-10px); }
    }
    
    @keyframes float2 {
        0%, 100% { transform: rotate(2deg) translateY(0px); }
        50% { transform: rotate(2deg) translateY(-15px); }
    }
    
    @keyframes float3 {
        0%, 100% { transform: rotate(-1deg) translateY(0px); }
        50% { transform: rotate(-1deg) translateY(-8px); }
    }
    
    @keyframes float4 {
        0%, 100% { transform: rotate(4deg) translateY(0px); }
        50% { transform: rotate(4deg) translateY(-12px); }
    }
    
    @keyframes float5 {
        0%, 100% { transform: rotate(-2deg) translateY(0px); }
        50% { transform: rotate(-2deg) translateY(-9px); }
    }
    
    @keyframes float6 {
        0%, 100% { transform: rotate(1deg) translateY(0px); }
        50% { transform: rotate(1deg) translateY(-11px); }
    }
    
    @keyframes float7 {
        0%, 100% { transform: rotate(-4deg) translateY(0px); }
        50% { transform: rotate(-4deg) translateY(-7px); }
    }
    
    @keyframes float8 {
        0%, 100% { transform: rotate(3deg) translateY(0px); }
        50% { transform: rotate(3deg) translateY(-13px); }
    }
    
    @keyframes float9 {
        0%, 100% { transform: rotate(-1deg) translateY(0px); }
        50% { transform: rotate(-1deg) translateY(-10px); }
    }
    
    @keyframes float10 {
        0%, 100% { transform: rotate(2deg) translateY(0px); }
        50% { transform: rotate(2deg) translateY(-14px); }
    }
    
    @keyframes float11 {
        0%, 100% { transform: rotate(-3deg) translateY(0px); }
        50% { transform: rotate(-3deg) translateY(-8px); }
    }
    
    @keyframes float12 {
        0%, 100% { transform: rotate(1deg) translateY(0px); }
        50% { transform: rotate(1deg) translateY(-11px); }
    }
    
    @keyframes float13 {
        0%, 100% { transform: rotate(-2deg) translateY(0px); }
        50% { transform: rotate(-2deg) translateY(-9px); }
    }
    
    @keyframes float14 {
        0%, 100% { transform: rotate(3deg) translateY(0px); }
        50% { transform: rotate(3deg) translateY(-12px); }
    }
}

/* Media queries responsivas para chat bubbles - REMOVIDO: ya no se usa esta configuración */

@media (max-width: 480px) {
    .chat-bubbles-container {
        height: 350px;
    }
    
    .chat-bubble {
        max-width: 250px;
        min-width: 180px;
        padding: var(--spacing-xs);
    }
    
    .problema-section {
        padding: var(--spacing-3xl) var(--spacing-sm) var(--spacing-2xl) var(--spacing-sm);
    }
}

 
 /* ========================================
   SCROLL ANIMATIONS SETUP
   ======================================== */

/* Elementos que serán animados con scroll - estado inicial */
.problema-section .section-title,
.servicios-section .section-header,
.team-section .section-title,
.metodo-lazo-title,
.cta-title {
    opacity: 1;
    transform: translateY(0);
}

.chat-bubble {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.slider-wrapper,
.text-content,
.image-content,
.metodo-lazo-paso,
.cta-content,
.cta-action {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Optimización para animaciones suaves */
.chat-bubble,
.service-card,
.metodo-lazo-paso,
.team-sticker,
.polaroid-frame {
    will-change: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Mejoras para performance en móviles */
@media (max-width: 768px) {
    .chat-bubble,
    .service-card,
    .metodo-lazo-paso {
        will-change: auto;
        transform: none;
    }
    
    /* Desactivar animaciones costosas en móviles */
    .chat-bubble:hover {
        transform: none !important;
        box-shadow: 0 4px 20px rgba(135, 0, 0, 0.15);
    }
    
    /* Reducir motion para usuarios que lo prefieren */
    @media (prefers-reduced-motion: reduce) {
        .chat-bubble,
        .service-card,
        .metodo-lazo-paso {
            animation: none;
            transition: none;
        }
    }
}

/* ========================================
   RESPONSIVE DESIGN FOR CHAT BUBBLES
   ======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .chat-bubbles-container {
        height: 450px;
        max-width: 800px;
    }
    
    .chat-bubble {
        max-width: 240px;
        min-width: 180px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .chat-bubble p {
        font-size: var(--font-size-xs);
    }
    
    /* Adjust positions for tablet - Well spaced for better readability */
    .bubble-1 { top: 25px; left: 6%; }
    .bubble-2 { top: 80px; right: 18%; }
    .bubble-3 { top: 160px; left: 3%; }
    .bubble-4 { top: 45px; left: 33%; }
    .bubble-5 { top: 200px; right: 6%; }
    .bubble-6 { top: 120px; left: 23%; }
     .bubble-7 { top: 280px; left: 13%; }
     .bubble-8 { top: 180px; right: 33%; }
     .bubble-9 { top: 360px; right: 13%; }
     .bubble-10 { top: 70px; left: 58%; }
     .bubble-11 { top: 400px; right: 6%; }
     .bubble-12 { top: 240px; left: 43%; }
     .bubble-13 { top: 440px; left: 33%; }
     .bubble-14 { top: 320px; left: 6%; }
 }
 
 /* Mobile Styles */
 @media (max-width: 768px) {
     .problema-section {
         padding: var(--spacing-3xl) var(--spacing-sm) var(--spacing-2xl) var(--spacing-sm);
     }
     
     .problema-section .section-title {
         font-size: var(--font-size-3xl);
     }
     
     .problema-section .section-subtitle {
         font-size: var(--font-size-base);
         margin-bottom: var(--spacing-xl);
     }
     
     .chat-bubbles-container {
         height: 420px;
         max-width: 100%;
         padding: 0 var(--spacing-sm);
     }
     
     .chat-bubble {
         max-width: 240px;
         min-width: 180px;
         padding: var(--spacing-xs) var(--spacing-sm);
     }
     
     .chat-bubble p {
         font-size: var(--font-size-xs);
         line-height: var(--line-height-tight);
     }
     
     /* Mobile specific positions - Mejor distribución */
     .bubble-1 { top: 40px; left: 15%; right: auto; }
     .bubble-2 { top: 80px; left: auto; right: 10%; }
     .bubble-3 { top: 120px; left: 5%; right: auto; }
     .bubble-4 { top: 20px; left: 45%; right: auto; }
     .bubble-5 { top: 160px; left: auto; right: 20%; }
     .bubble-6 { top: 100px; left: 35%; right: auto; }
     .bubble-7 { top: 200px; left: 10%; right: auto; }
     .bubble-8 { top: 140px; left: auto; right: 35%; }
     .bubble-9 { top: 240px; left: auto; right: 8%; }
     .bubble-10 { top: 60px; left: auto; right: 50%; }
     .bubble-11 { top: 280px; left: 25%; right: auto; }
     .bubble-12 { top: 180px; left: 55%; right: auto; }
     .bubble-13, .bubble-14 { display: none; }
     
     .cta-container {
         margin-top: var(--spacing-lg);
     }
     
     .cta-button-primary {
         padding: var(--spacing-sm) var(--spacing-lg);
         font-size: var(--font-size-base);
     }
 }
 
 /* Small Mobile Styles */
@media (max-width: 480px) {
    .problema-section .section-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-md);
    }
    
    .problema-section .section-subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-md);
    }
    
    .chat-bubbles-container {
        height: 350px;
    }
    
    .chat-bubble {
        max-width: 220px;
        min-width: 160px;
        padding: var(--spacing-xs);
    }
    
    .chat-bubble p {
        font-size: var(--font-size-xs);
    }
    
    /* Posicionamiento mejorado para móviles pequeños - 9 globos */
    .bubble-1 { top: 30px; left: 10%; }
    .bubble-2 { top: 70px; right: 8%; }
    .bubble-3 { top: 110px; left: 3%; }
    .bubble-4 { top: 20px; left: 40%; }
    .bubble-5 { top: 150px; right: 15%; }
    .bubble-6 { top: 90px; left: 25%; }
    .bubble-7 { top: 190px; left: 5%; }
    .bubble-8 { top: 130px; right: 35%; }
    .bubble-9 { top: 230px; right: 3%; }
    .bubble-10, .bubble-11, .bubble-12, .bubble-13, .bubble-14 { display: none; }
    
    .cta-container {
        margin-top: var(--spacing-sm);
    }
    
    /* Team section mobile adjustments */
     .team-content {
         flex-direction: column;
         align-items: center;
         gap: var(--spacing-md);
     }
 
     .team-image-polaroid {
         width: 85%;
         max-width: 280px;
         margin-bottom: 0;
     }
     
     /* Ocultar sticker en móviles */
     .team-sticker {
         display: none;
     }
 
     .team-text-wrap {
         max-width: 100%;
         text-align: center;
         padding: 0 var(--spacing-sm);
     }
     
     /* Reducir tamaño de toda la tipografía */
     .team-section .section-title {
         font-size: var(--font-size-xl);
     }
     
     .team-section .section-subtitle {
         font-size: var(--font-size-xs);
     }
     
     .team-description {
         font-size: var(--font-size-xs);
         line-height: 1.4;
     }
     
     .team-description h3 {
         font-size: var(--font-size-sm);
     }
     
     .team-description p {
         font-size: var(--font-size-xs);
     }
}

/* Ocultar sticker team-lazo en todas las pantallas */
.team-sticker {
    display: none;
}

/* Reducir tamaño general de la sección team */
.team-section .section-title {
    font-size: var(--font-size-3xl);
}

.text-description .main-text {
    font-size: var(--font-size-lg);
    line-height: 1.5;
}

.text-description .highlight-text {
    font-size: var(--font-size-xl);
}

/* Reducir contenido de las tarjetas de servicios */
.service-card {
    width: 15rem;
    height: 15rem;
}

.icon-wrapper {
    width: 3rem;
    height: 3rem;
    margin-bottom: var(--spacing-xs);
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
}

.card-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
}

.card-description p {
    font-size: var(--font-size-xs);
    line-height: var(--line-height-normal);
}

.card-content {
    padding: 1rem;
}
 
 /* Reduce animations on mobile for performance */
  @media (prefers-reduced-motion: reduce) {
      .chat-bubble {
          animation: none;
      }
      
      .bubble-1 { animation: none; }
      .bubble-2 { animation: none; }
      .bubble-3 { animation: none; }
      .bubble-4 { animation: none; }
      .bubble-5 { animation: none; }
      .bubble-6 { animation: none; }
      .bubble-7 { animation: none; }
      .bubble-8 { animation: none; }
      .bubble-9 { animation: none; }
      .bubble-10 { animation: none; }
      .bubble-11 { animation: none; }
      .bubble-12 { animation: none; }
      .bubble-13 { animation: none; }
      .bubble-14 { animation: none; }
  }

/* ========================================
   SERVICIOS SECTION - OPTIMIZADA PARA PERFORMANCE
   ======================================== */
.servicios-section {
    padding: var(--spacing-4xl) var(--spacing-sm) var(--spacing-5xl) var(--spacing-sm);
    background: var(--color-white);
    position: relative;
}

/* Slider Wrapper - OPTIMIZADO PARA TICKER */
.slider-wrapper {
    position: relative;
    height: 24rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--spacing-lg) 0 var(--spacing-4xl) 0;
    overflow: hidden; /* Cambio importante: ocultar overflow para ticker */
    padding: var(--spacing-lg) 0;
    will-change: transform;
    transform: translateZ(0);
}

.cards-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    overflow: hidden; /* Cambio importante: ocultar overflow */
    transform-style: preserve-3d;
}

/* Service Cards - OPTIMIZADO PARA TICKER */
.service-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 17rem;
    height: 17rem;
    cursor: pointer; /* Cambio: ya no es grab porque no hay drag */
    transition: none;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    touch-action: none; /* Cambio: deshabilitar touch para ticker */
}

.service-card:active {
    cursor: pointer; /* Cambio: ya no es grabbing */
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--color-bordo);
    overflow: hidden;
    background: var(--color-white);
    transition: none;
    will-change: transform;
    transform: translateZ(0);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(135, 0, 0, 0.1) 0%, rgba(135, 0, 0, 0.05) 100%);
    pointer-events: none;
}

/* Background Pattern - SIMPLIFICADO */
.card-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    pointer-events: none;
}

.pattern-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(135, 0, 0, 0.15);
    filter: blur(1rem);
}

.pattern-1 {
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 6rem;
    height: 6rem;
}

.pattern-2 {
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    width: 4rem;
    height: 4rem;
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 10;
    padding: 1.2rem;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    margin-top: var(--spacing-xs);
}

.card-content-centered {
    justify-content: center;
    align-items: center;
    height: 100%;
}

.card-header {
    margin-bottom: var(--spacing-sm);
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-bordo), var(--color-beige));
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
}

.icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-blanco);
}

.card-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-bordo);
    margin-bottom: var(--spacing-xs);
    line-height: var(--line-height-normal);
}

.card-subtitle {
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    letter-spacing: 0.025em;
}

.card-description {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-description p {
    color: var(--color-bordo);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

.card-footer {
    margin-top: var(--spacing-sm);
}

.service-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 9999px;
    background: var(--color-bordo-light);
}

.service-badge span {
    color: var(--color-bordo);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
}

/* Shine Effect - SIMPLIFICADO */
.shine-effect {
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-md);
    background: linear-gradient(90deg, transparent, var(--color-beige-light), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
    transform: skewX(-12deg);
    pointer-events: none;
}

/* Navigation Buttons - OCULTOS PARA TICKER */
.nav-button,
#prevBtn,
#nextBtn {
    display: none !important; /* Ocultar completamente los botones de navegación */
}

/* Indicators - OCULTOS PARA TICKER */
.indicators,
.indicator {
    display: none !important; /* Ocultar completamente los indicadores */
}

/* Current Service Info - OCULTO PARA TICKER */
.current-service,
.current-title,
.current-subtitle {
    display: none !important; /* Ocultar información del servicio actual */
}

/* CTA Button en servicios */
.cta-wrapper {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

.servicios-section .cta-button {
    background: var(--color-bordo);
    color: var(--color-blanco);
    box-shadow: 0 8px 20px var(--color-beige-medium);
    transition: all var(--transition-fast);
    font-weight: var(--font-weight-bold);
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    background-color: var(--color-blanco);
    text-align: center;
    padding: var(--spacing-5xl) var(--spacing-lg);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.team-content {
    display: flex;
    justify-content: center;
    max-width: 950px;
    margin: 0 auto var(--spacing-2xl) auto;
    position: relative;
}

.team-text-wrap {
    flex: 1 1 0;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    text-align: center;
}

.sticker-text-wrap {
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.2rem;
}

.sticker-text-wrap p {
    margin: 0;
    text-align: left;
    hyphens: auto;
    word-break: break-word;
    line-height: var(--line-height-loose);
    font-size: var(--font-size-base);
    color: var(--color-text-primary);
    max-width: 270px;
}

.team-text-wrap .cta-button {
    margin-top: 2.2rem;
    align-self: center;
}

/* POLAROID A LA DERECHA */
.team-image-polaroid {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 220px;
}

.polaroid-container {
    position: relative;
    background: var(--color-blanco);
    padding: 1.2rem 1.2rem 2.2rem 1.2rem;
    border-radius: 2px;
    box-shadow: var(--shadow-xl), var(--shadow-sm);
    transform: rotate(-2deg);
    max-width: 340px;
    width: 100%;
    margin-left: auto;
}

.polaroid-image {
    width: 100%;
    height: auto;
    border-radius: 1px;
    display: block;
    filter: contrast(1.05) saturate(1.1);
}

.polaroid-sticker {
    position: absolute;
    top: -42px;
    right: -32px;
    width: 120px;
    height: 120px;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
    border-radius: 50%;
    padding: 3px;
}

/* Team LAZO Sticker */
.team-sticker {
    float: left;
    margin-left: 0rem;
    margin-right: 1.2rem;
    width: 180px;
    height: 180px;
    shape-outside: circle(45% at 60% 40%);
    -webkit-shape-outside: circle(45% at 60% 40%);
    clip-path: circle(60% at 52% 47%);
    display: flex;
    align-items: center;
    justify-content: right;
    transition: transform var(--transition-bounce);
    cursor: pointer;
    transform: rotate(-8deg);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
}

.team-sticker img {
    width: 83%;
    height: 83%;
    object-fit: contain;
    object-position: center 100%;
    border-radius: 50%;
    display: block;
}

.team-sticker:hover {
    transform: rotate(-8deg) scale(1.08);
}

/* Text Content Styles */
.text-content {
    position: relative;
}

.text-wrapper {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-sm) 1.8rem var(--spacing-sm) var(--spacing-sm);
    border-radius: var(--border-radius-lg);
}

.text-description {
    font-size: var(--font-size-2xl);
    line-height: var(--line-height-loose);
    color: var(--color-text-secondary);
    text-align: justify;
}

.main-text {
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-regular);
    text-indent: 0;
}

.highlight-text {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    color: var(--color-bordo);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-normal);
    text-shadow: 0 1px 3px rgba(135, 0, 0, 0.1);
    clear: none;
    display: inline;
    text-align: center;
}

.resaltado-lazo {
    color: var(--color-beige-dark);
    font-weight: var(--font-weight-bold);
    font-size: 24px;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

/* Image Content Styles */
.image-content {
    display: flex;
    justify-content: center;
}

.polaroid-frame {
    background-color: var(--color-blanco);
    padding: 1.2rem 1.2rem 3.5rem 1.2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-slow);
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.polaroid-frame.polaroid-shadow {
    box-shadow: var(--shadow-xl), var(--shadow-sm);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
    transform: rotate(2deg);
}

.polaroid-frame.polaroid-shadow:hover {
    box-shadow: 0 16px 48px 0 rgba(0,0,0,0.28), 0 3px 12px 0 rgba(0,0,0,0.15);
    transform: rotate(0deg) scale(1.03);
}

.polaroid-container {
    position: relative;
    transform: rotate(3deg);
    transition: all var(--transition-slow);
    cursor: pointer;
}

.polaroid-container:hover {
    transform: rotate(0deg) scale(1.05) translateY(-12px);
}

/* Polaroid Image - VERTICAL */
.polaroid-image {
    width: 260px;
    height: 360px;
    background-color: #e5e7eb;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.polaroid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Polaroid Caption */
.polaroid-caption {
    margin-top: 1.2rem;
    text-align: center;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 1.2rem;
}

.caption-text {
    font-size: 1.15rem;
    font-family: var(--font-script), var(--font-heading);
    color: var(--color-bordo);
    transform: rotate(-1deg);
    letter-spacing: 0.5px;
}

/* ========================================
   PROCESO SECTION
   ======================================== */
.proceso-section {
    background-color: var(--color-beige-claro);
    text-align: center;
}

.proceso-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--gap-lg);
    max-width: var(--container-max-width);
    margin: 0 auto var(--spacing-2xl);
    justify-items: center;
}

.proceso-step {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--color-bordo-light);
    width: 100%;
    max-width: 300px;
}

.proceso-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    color: var(--color-bordo);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.proceso-step h3 {
    font-family: var(--font-heading);
    color: var(--color-bordo);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
}

.proceso-step p {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
}

/* ========================================
   METODO LAZO SECTION
   ======================================== */
.metodo-lazo-section {
    background: var(--color-blanco);
    padding: var(--spacing-4xl) var(--spacing-sm) var(--spacing-3xl) var(--spacing-sm);
    text-align: center;
}

.metodo-lazo-title {
    font-family: var(--font-heading);
    color: var(--color-bordo);
    font-size: 2.7rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-2xl);
    letter-spacing: 0.5px;
}

.lazo-animado {
    color: var(--color-beige-dark);
    font-weight: var(--font-weight-black);
    font-size: 1.1em;
    display: inline-block;
    position: relative;
    text-shadow: 0 2px 8px rgba(215,170,118,0.18);
}

.metodo-lazo-lista {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.metodo-lazo-paso {
    display: flex;
    align-items: center;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    border: 0.4px solid var(--color-beige-dark);
    padding: var(--spacing-sm) var(--spacing-lg);
    width: 90%;
    min-height: 70px;
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
    text-align: left;
    gap: var(--gap-lg);
    position: relative;
    overflow: hidden;
}

.metodo-lazo-paso:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px) scale(1.01);
}


.paso-titulo {
    font-family: var(--font-heading);
    color: var(--color-bordo);
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.2rem;
}

.paso-desc {
    color: var(--color-bordo);
    font-family: var(--font-primary);
    font-size: 1.08rem;
    font-weight: var(--font-weight-regular);
}

.paso-desc em {
    font-style: italic;
    color: var(--color-bordo);
    font-weight: var(--font-weight-semibold);
    background: none;
    letter-spacing: 0.1px;
}

/* ========================================
   RESPONSIVE DESIGN UNIFICADO
   ======================================== */

/* HEADER RESPONSIVE */
@media (max-width: 968px) {
    .header-lazo {
        padding: var(--spacing-md) 0 var(--spacing-sm);
    }

}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    

    
    /* SERVICIOS RESPONSIVE */
    .servicios-section .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .service-card {
        width: 16rem;
        height: 16rem;
    }
    
    .nav-prev {
        left: var(--spacing-sm);
    }
    
    .nav-next {
        right: var(--spacing-sm);
    }
    
    .card-content {
        padding: var(--spacing-md);
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    /* TEAM */
    .team-content {
        grid-template-columns: 1fr;
        gap: var(--gap-lg);
    }
    
    /* GENERAL */
    .section-title {
        font-size: var(--font-size-3xl);
    }

    section {
        padding: var(--spacing-3xl) var(--spacing-sm);
    }
    
    .slider-wrapper {
        height: 28rem;
        margin: var(--spacing-sm) calc(-1 * var(--spacing-sm)) var(--spacing-lg) calc(-1 * var(--spacing-sm));
        padding: var(--spacing-sm) 0;
        touch-action: pan-y;
    }
}











/* ========================================
   MÉTODO LAZO - SECCIÓN PRINCIPAL
   ======================================== */
.metodo-lazo-section {
    background: var(--color-blanco);
    padding: var(--spacing-5xl) var(--spacing-lg);
}

.metodo-lazo-lista {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    max-width: 980px;
    margin: 0 auto;
}



.metodo-lazo-paso::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-beige-light) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.metodo-lazo-paso:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-beige);
}

.metodo-lazo-paso:hover::before {
    opacity: 1;
}

.metodo-lazo-paso.reverse {
    flex-direction: row-reverse;
}

.paso-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.paso-texto {
    display: flex;
    flex-direction: column;
}

.paso-titulo {
    font-family: var(--font-heading);
    color: var(--color-bordo);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-tight);
}

.paso-desc {
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
}

.paso-desc em {
    font-style: italic;
    color: var(--color-bordo);
    font-weight: var(--font-weight-semibold);
}

.paso-cta {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--color-bordo);
    color: var(--color-blanco);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    align-self: flex-start;
    box-shadow: var(--shadow-sm);
}

.paso-cta:hover {
    background-color: var(--color-bordo-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-blanco);
    text-decoration: none;
}

.paso-numero {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.paso-num {
    font-family: var(--font-display), sans-serif;
    font-size: 3.5rem;
    font-weight: var(--font-weight-black);
    color: var(--color-bordo);
    min-width: 2.5rem;
    text-shadow: 0 4px 12px rgba(135, 0, 0, 0.2);
    position: relative;
    background: linear-gradient(135deg, var(--color-bordo) 0%, var(--color-beige) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all var(--transition-normal);
}

.metodo-lazo-paso:hover .paso-num {
    transform: scale(1.05);
    text-shadow: 0 6px 20px rgba(135, 0, 0, 0.3);
}











/* ========================================
   MEDIA QUERIES CONSOLIDADAS
   ======================================== */

/* Reduce animations on mobile for performance */
@media (prefers-reduced-motion: reduce) {
    .chat-bubble {
        animation: none;
    }
    
    .bubble-1 { animation: none; }
    .bubble-2 { animation: none; }
    .bubble-3 { animation: none; }
    .bubble-4 { animation: none; }
    .bubble-5 { animation: none; }
    .bubble-6 { animation: none; }
    .bubble-7 { animation: none; }
    .bubble-8 { animation: none; }
    .bubble-9 { animation: none; }
    .bubble-10 { animation: none; }
    .bubble-11 { animation: none; }
    .bubble-12 { animation: none; }
    .bubble-13 { animation: none; }
    .bubble-14 { animation: none; }
}

/* HEADER RESPONSIVE */
@media (max-width: 968px) {
    .header-lazo {
        padding: var(--spacing-md) 0 var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    

    
    /* SERVICIOS RESPONSIVE */
    .servicios-section {
        padding: var(--spacing-3xl) var(--spacing-sm);
    }
    
    .servicios-section .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .service-card {
        width: 16rem;
        height: 16rem;
    }
    
    .nav-prev {
        left: var(--spacing-sm);
    }
    
    .nav-next {
        right: var(--spacing-sm);
    }
    
    .card-content {
        padding: var(--spacing-md);
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .slider-wrapper {
        padding: 0 var(--spacing-sm);
    }
    
    /* TEAM */
    .team-section {
        padding: var(--spacing-3xl) var(--spacing-sm);
    }
    
    .team-content {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
    }

    .team-image-polaroid {
        width: 70%;
        max-width: 300px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .team-text-wrap {
        max-width: 100%;
        text-align: center;
    }
    
    .team-description {
        font-size: var(--font-size-base);
        line-height: 1.6;
    }
    
    /* MÉTODO LAZO */
    .metodo-lazo-section {
        padding: var(--spacing-3xl) var(--spacing-sm);
    }
    
    .metodo-lazo-lista {
        gap: var(--spacing-xs);
    }
    
    .metodo-lazo-paso {
        flex-direction: column !important;
        gap: var(--spacing-lg);
        padding: var(--spacing-lg);
        text-align: center;
        min-height: auto;
    }
    
    .paso-numero {
        flex: 0 0 auto;
    }
    
    .paso-num {
        font-size: 3rem;
        height: 2rem;
        line-height: 1;
    }
    
    .paso-titulo {
        font-size: var(--font-size-xl);
    }
    
    .paso-desc {
        font-size: var(--font-size-base);
    }
    
    /* CTA FINAL */
    .cta-final-section {
        padding: var(--spacing-3xl) var(--spacing-sm);
    }
    
    .cta-title {
        font-size: var(--font-size-3xl);
    }
    
    /* GENERAL */
    .section-title {
        font-size: var(--font-size-3xl);
    }

    section {
        padding: var(--spacing-3xl) var(--spacing-sm);
    }
    
    .slider-wrapper {
        height: 28rem;
        margin: var(--spacing-sm) calc(-1 * var(--spacing-sm)) var(--spacing-lg) calc(-1 * var(--spacing-sm));
        padding: var(--spacing-sm) 0;
        touch-action: pan-y;
    }
}

@media (max-width: 600px) {
    .header-lazo {
        padding: var(--spacing-sm) 0 var(--spacing-xs);
    }

    .hero-headline {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.8rem var(--spacing-md);
        font-size: var(--font-size-sm);
    }

    .nav-link {
        font-size: var(--font-size-lg);
    }
    
    .slider-wrapper {
        height: 26rem;
        overflow-x: hidden;
        overflow-y: visible;
        touch-action: pan-y;
    }
    
    .service-card {
        width: 14rem;
        height: 14rem;
        cursor: grab;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .team-section {
        padding: var(--spacing-2xl) var(--spacing-xs);
    }
    
    .team-content {
        gap: 1.2rem;
    }
    
    .team-sticker {
        width: 60px;
        height: 60px;
        margin: 0 0.7rem 0.5rem 0;
    }
    
    .polaroid-container {
        max-width: 180px;
        padding: var(--spacing-xs) var(--spacing-xs) var(--spacing-sm) var(--spacing-xs);
    }
    
    .polaroid-sticker {
        width: 32px;
        height: 32px;
        top: -10px;
        right: -10px;
    }
    
    .sticker-text-wrap p {
        font-size: 1.07rem;
    }
    
    .footer-ticker-content {
        font-size: 0.95rem;
        gap: var(--gap-sm);
    }
    
    .footer-ticker {
        min-height: 28px;
    }
    
    .metodo-lazo-paso {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem var(--spacing-sm);
        gap: 0.7rem;
    }
    
    .paso-num {
        margin-right: 0;
        margin-bottom: var(--spacing-xs);
        line-height: 1;
    }
}

@media (max-width: 576px) {
    .slider-wrapper {
        height: 26rem;
        overflow-x: hidden;
        overflow-y: visible;
        touch-action: pan-y;
    }
    
    .service-card {
        width: 14rem;
        height: 14rem;
        cursor: grab;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .polaroid-container {
        max-width: 280px;
        padding: 0.75rem 0.75rem var(--spacing-lg) 0.75rem;
    }
    
    .team-sticker {
        width: 70px;
        height: 70px;
        display: none;
    }

    .text-wrapper {
        padding: 0.7rem;
    }
    
    .team-description {
        font-size: 1.05rem;
    }

    .card-description p {
        font-size: 0.8rem;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .card-header {
        margin-bottom: 10px;
    }

    .resaltado-lazo {
        font-size: 1.16rem;
    }

    .team-section .section-title {
        font-size: var(--font-size-2xl);
        margin-bottom: 0;
    }
    
    .metodo-lazo-paso {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .paso-num {
        font-size: 2.5rem;
        height: 1.8rem;
        line-height: 1;
    }
    
    .paso-titulo {
        font-size: var(--font-size-2xl);
    }
    
    .paso-cta {
        width: 100%;
        text-align: center;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .cta-title {
        font-size: var(--font-size-2xl);
    }
}

/* ========================================
   TICKER CARDS - BORDERLESS STYLING
   ======================================== */
.ticker-card-borderless .card-inner {
    border: 2px solid rgba(135, 0, 0, 0.1) !important;
    box-shadow: none !important;
    border-radius: var(--border-radius-lg);
    background: var(--color-white) !important;
    overflow: visible;
}

/* Remove any additional borders or shadows that might appear */
.ticker-card-borderless .service-card {
    border: none !important;
    box-shadow: none !important;
}

/* Ensure smooth disappearing at screen edges */
.ticker-card-borderless {
    overflow: visible;
}

/* Remove bottom shadows and borders completely */
.ticker-card-borderless .card-inner::before,
.ticker-card-borderless .card-inner::after {
    display: none !important;
}

/* Ensure no visual artifacts at edges */
.ticker-card-borderless .slider-wrapper {
    overflow: visible;
    padding: 0;
    margin: var(--spacing-lg) 0 var(--spacing-4xl) 0;
}

.ticker-card-borderless .cards-container {
    overflow: visible;
}


