/* ================================================================
   OPINIONES – GX System Integrated
   Solo estilos propios del bloque
   ================================================================ */

   :root {
    --gx-op-glass: rgba(255, 255, 255, 0.9);
    --gx-op-border-soft: rgba(6, 48, 91, 0.08);
    --gx-op-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  /* ================================================================
     BLOQUE BASE
     (gx-section ya maneja padding 50px)
     ================================================================ */
  
  .opiniones-gx {
    overflow: hidden;
  }
  
  
  /* ================================================================
     HEADER WITH IMAGES
     ================================================================ */
  
  .gx-header-with-images .gx-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
  }
  
  /* ================================================================
     HEADER IMAGE SIZE CORRECTA (ALTURA FIJA)
     ================================================================ */
  
  .gx-header-with-images .gx-title-image {
    height: 64px;     /* controla tamaño real */
    width: auto;      /* respeta proporción natural */
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
  }
  
  /* Micro ajuste visual elegante */
  @media (min-width: 992px) {
  
    .gx-header-with-images.gx-align-center .gx-title-image.left {
      transform: translateX(-6px);
    }
  
    .gx-header-with-images.gx-align-center .gx-title-image.right {
      transform: translateX(6px);
    }
  
  }
  
  /* ================================================================
     LOGO GOOGLE ANTIGUO (si aún existe)
     ================================================================ */
  
  .opiniones-gx img[alt="Google Reviews"] {
    height: 28px;
    width: auto;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.05));
    margin-bottom: 30px;
  }
  
  /* ================================================================
     CARRUSEL
     ================================================================ */
  
  .opiniones-carrusel {
    padding: 30px 0;
    position: relative;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      black 15%,
      black 85%,
      transparent
    );
    mask-image: linear-gradient(
      to right,
      transparent,
      black 15%,
      black 85%,
      transparent
    );
  }
  
  .opiniones-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 45s linear infinite;
  }
  
  .opiniones-track:hover {
    animation-play-state: paused;
  }
  
  @keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }


  .gx-header-type1__title{
    margin: 0;
  }
  
  /* ================================================================
     TARJETAS
     ================================================================ */
  
  .opinion-card {
    width: 380px;
    background: var(--gx-op-glass);
    backdrop-filter: blur(15px);
    border-radius: 22px;
    padding: 24px;
    margin-right: 24px;
    border: 1px solid var(--gx-op-border-soft);
    display: flex;
    flex-direction: column;
    transition: var(--gx-op-transition);
    box-shadow: var(--gasex-shadow-soft);
  }
  
  .opinion-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: var(--gasex-shadow-hover);
    border-color: var(--gasex-accent);
  }
  
  /* ---------------- HEADER CARD ---------------- */
  
  .opinion-card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .stars-rating {
    color: #ffc107;
    font-size: 1.05rem;
    letter-spacing: 2px;
  }
  
  .google-badge-verify {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
  }
  
  /* ---------------- TEXTO ---------------- */
  
  .opinion-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 16px;
  }
  
  /* ---------------- FOOTER ---------------- */
  
  .card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 12px;
    margin-top: auto;
  }
  
  .user-avatar-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gasex-dark);
    flex-shrink: 0;
  }
  
  .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
  }
  
  .user-name {
    font-size: 14px;
    font-weight: 900;
    color: var(--gasex-dark);
    margin: 0 0 2px 0;
  }
  
  .user-date {
    font-size: 11px;
    color: #999;
  }
  
  /* ================================================================
     CTA (usa sistema global gx-btn)
     ================================================================ */
  
  .opiniones-gx .gx-btn {
    margin-top: 40px;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* ================================================================
     RESPONSIVE
     ================================================================ */
  
  @media (max-width: 768px) {
  
    /* Header con imágenes apilado */
    .gx-header-with-images .gx-title-row {
      flex-direction: column;
      gap: 16px;
    }
  
    .gx-header-with-images .gx-title-image {
      height: 42px;
    }
  
    /* Cards */
    .opinion-card {
      width: 310px;
    }
  
    /* Quitamos máscara lateral */
    .opiniones-carrusel {
      -webkit-mask-image: none;
      mask-image: none;
    }
  
  }
  