/* ===========================
     1) ANULAR CONTENEDOR DE DIVI
     (solo dentro de .soma-hero)
     =========================== */
  .soma-hero.et_pb_section,
  .soma-hero .et_pb_row,
  .soma-hero .et_pb_column,
  .soma-hero .et_pb_code,
  .soma-hero .et_pb_code_inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Evita scroll horizontal por vw y paddings del tema */
  html, body {
    overflow-x: hidden;
  }

  /* ===========================
     2) HERO FULL WIDTH REAL
     =========================== */
  .soma-hero-wrap {
    position: relative;
    width: 100%;
    min-height: 100vh;      /* pantalla completa */
    overflow: hidden;
  }

  .soma-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02); /* evita líneas blancas por subpixel */
  }

  .soma-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(0, 161, 154, 0.88) 0%,
      rgba(0, 140, 134, 0.78) 50%,
      rgba(0, 0, 0, 0.58) 100%
    );
  }

  .soma-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(24px, 5vw, 80px);
    max-width: 1200px;
  }

  .soma-hero-logo {
    width: clamp(240px, 30vw, 520px);
    height: auto;
    margin-bottom: clamp(22px, 5vw, 60px);
    filter: brightness(0) invert(1);
  }

  .soma-hero-title {
    font-size: clamp(1.6rem, 3.2vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.28);
  }

  .soma-hero-title .highlight {
    color: #ffd700;
    font-weight: 900;
  }

  .soma-hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    color: #fff;
    opacity: 0.95;
    line-height: 1.55;
    max-width: 740px;
    margin-bottom: 34px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
  }

  .soma-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .soma-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    white-space: nowrap;
  }

  .soma-btn-primary {
    background: #fff;
    color: #00a19a;
  }

  .soma-btn-primary:hover {
    background: #f4f4f4;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.26);
  }

  .soma-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.9);
  }

  .soma-btn-secondary:hover {
    background: #fff;
    color: #00a19a;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.26);
  }

  /* Badge (sin emojis para mantener estilo sobrio) */
  .soma-hero-badge {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 3;
    background: rgba(255, 215, 0, 0.95);
    color: #2b2b2b;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  }

  /* Indicador scroll */
  .soma-scroll {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
  }

  .soma-scroll-arrow {
    width: 26px;
    height: 26px;
    border-left: 3px solid rgba(255,255,255,0.9);
    border-bottom: 3px solid rgba(255,255,255,0.9);
    transform: rotate(-45deg);
  }

  /* Responsive: en móvil stack de botones */
  @media (max-width: 768px) {
    .soma-hero-content {
      max-width: 100%;
    }
    .soma-hero-buttons {
      width: 100%;
      flex-direction: column;
    }
    .soma-btn {
      width: 100%;
      justify-content: center;
      white-space: normal;
      text-align: center;
    }
    .soma-hero-badge {
      position: static;
      margin: 18px 18px 0 18px;
      display: inline-block;
      align-self: flex-start;
    }
  }


        .products-section {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0;
        }

        /* HEADER EN BLANCO */
        .section-header {
            background: linear-gradient(135deg, #00a19a 0%, #008c86 100%);
            color: white;
            text-align: center;
            padding: 60px 40px;
            margin-bottom: 0;
        }
.section-header h1, .section-header h2 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: white;
        }

        .section-header p {
            font-size: 1.2rem;
            opacity: 1;
            color: white;
        }

        /* CONTENEDOR PRINCIPAL */
        .products-container {
            padding: 60px 40px;
            background: white;
        }

        /* IMAGEN PANORÁMICA - ANCHO COMPLETO */
        .image-container {
            width: 100%;
            max-width: 100%;
            margin: 0 0 60px 0;
            background: #f8f9fa;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .product-image {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            max-height: 600px;
        }

        .image-caption {
            background: linear-gradient(135deg, #00a19a 0%, #008c86 100%);
            color: white;
            padding: 25px;
            text-align: center;
        }

        .image-caption h3 {
            font-size: 1.4rem;
            margin-bottom: 8px;
            color: white;
        }

        .image-caption p {
            font-size: 1.05rem;
            opacity: 1;
            color: white;
        }

        /* GRID 3 COLUMNAS PARA CATEGORÍAS */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* CATEGORÍAS */
        .product-category {
            background: white;
            border-radius: 20px;
            padding: 35px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            border: 2px solid #f0f0f0;
            transition: all 0.3s ease;
        }

        .product-category:hover {
            border-color: #00a19a;
            box-shadow: 0 10px 30px rgba(0, 161, 154, 0.15);
            transform: translateY(-5px);
        }

        .category-title {
            color: #00a19a;
            font-size: 1.7rem;
            margin-bottom: 25px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: bold;
            padding-bottom: 18px;
            border-bottom: 3px solid #00a19a;
            text-align: center;
        }

        /* LISTA CENTRADA SIN BULLETS */
        .products-list {
            list-style-type: none !important;
            padding-left: 0 !important;
            margin: 0 !important;
        }

        .products-list li {
            color: #555;
            font-size: 1.1rem;
            padding: 10px 0;
            position: relative;
            transition: all 0.2s ease;
            list-style: none !important;
            line-height: 1.6;
            text-align: center;
        }

        .products-list li::marker {
            content: "" !important;
            display: none !important;
        }

        .products-list li:hover {
            color: #00a19a;
            transform: scale(1.05);
        }

        /* BOTÓN DE CATÁLOGO - ANCHO COMPLETO */
        .catalog-button-container {
            grid-column: 1 / -1;
            text-align: center;
            margin-top: 40px;
            padding-top: 40px;
            border-top: 3px solid #e0e0e0;
        }

        .catalog-btn {
            display: inline-block;
            padding: 20px 60px;
            background: linear-gradient(135deg, #00a19a 0%, #008c86 100%);
            color: white;
            text-decoration: none;
            font-size: 1.3rem;
            font-weight: bold;
            border-radius: 50px;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            border: none;
            cursor: pointer;
            box-shadow: 0 8px 25px rgba(0, 161, 154, 0.3);
        }

        .catalog-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 35px rgba(0, 161, 154, 0.5);
            background: linear-gradient(135deg, #00d4cc 0%, #00a19a 100%);
        }

        /* IMAGEN SECUNDARIA - EN EL GRID AL LADO DE ALAMBRES */
        .secondary-image-container {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            border: 2px solid #f0f0f0;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .secondary-image-container:hover {
            border-color: #00a19a;
            box-shadow: 0 10px 30px rgba(0, 161, 154, 0.15);
            transform: translateY(-5px);
        }

        .secondary-image {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 10px;
        }

        .empty-space {
            display: none;
        }

        /* CATÁLOGO CARD - COMPLETA LA TERCERA COLUMNA */
        .catalog-card {
            background: linear-gradient(135deg, #00a19a 0%, #008c86 100%);
            border-radius: 20px;
            padding: 40px 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(0, 161, 154, 0.3);
            transition: all 0.3s ease;
        }

        .catalog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 161, 154, 0.4);
        }

        .catalog-card-content {
            text-align: center;
            color: white;
        }

        .catalog-icon {
            font-size: 4rem;
            margin-bottom: 20px;
        }

        .catalog-card-content h3 {
            font-size: 1.7rem;
            margin-bottom: 15px;
            color: white;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .catalog-card-content p {
            font-size: 1.05rem;
            margin-bottom: 25px;
            opacity: 0.95;
            color: white;
            line-height: 1.6;
        }

        .catalog-btn-card {
            display: inline-block;
            padding: 15px 35px;
            background: white;
            color: #00a19a;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: bold;
            border-radius: 50px;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }

        .catalog-btn-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
            background: #f0f0f0;
        }

        /* RESPONSIVE - MOBILE EN 1 COLUMNA */
        @media (max-width: 1024px) {
            .products-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .catalog-button-container {
                grid-column: 1;
            }
        }

        @media (max-width: 768px) {
            .section-header {
                padding: 40px 20px;
            }
.section-header h1, .section-header h2 {
                font-size: 1.9rem;
            }

            .section-header p {
                font-size: 1rem;
            }

            .products-container {
                padding: 40px 20px;
            }

            .product-category {
                padding: 25px 20px;
            }

            .category-title {
                font-size: 1.3rem;
            }

            .products-list li {
                font-size: 1rem;
                padding: 8px 0;
            }

            .catalog-btn {
                font-size: 1.1rem;
                padding: 16px 40px;
                width: 100%;
                max-width: 100%;
            }

            .secondary-image-container {
                padding: 15px;
            }

            .catalog-card {
                padding: 30px 20px;
            }

            .catalog-icon {
                font-size: 3rem;
                margin-bottom: 15px;
            }

            .catalog-card-content h3 {
                font-size: 1.4rem;
            }

            .catalog-card-content p {
                font-size: 1rem;
            }

            .catalog-btn-card {
                font-size: 1rem;
                padding: 12px 30px;
            }

            .empty-space {
                display: none;
            }
        }
    

  /* Ajustes rápidos */
  #soma-logos-marquee{
    --logo-height: 90px;    /* ← Altura de todas las imágenes (similar a COFEPRIS) */
    --gap: 48px;            /* ← Separación entre logos */
    --speed: 28s;           /* ← Velocidad del desplazamiento (menos = más rápido) */
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  #soma-logos-marquee .marquee-track{
    display: flex;
    width: max-content;          /* ancho según contenido */
    animation: soma-move-right var(--speed) linear infinite;
    will-change: transform;
  }

  #soma-logos-marquee .marquee-group{
    display: flex;
    align-items: center;
    gap: var(--gap);
    padding-inline: var(--gap);
  }

  #soma-logos-marquee img{
    height: var(--logo-height);
    width: auto;
    object-fit: contain;         /* se ven completas */
    flex: 0 0 auto;
    display: block;
    /* Opcional: suavizado en pantallas retina */
    image-rendering: -webkit-optimize-contrast;
  }

  /* Pausa al pasar el mouse (opcional) */
  #soma-logos-marquee:hover .marquee-track{
    animation-play-state: paused;
  }

  /* Movimiento continuo hacia la DERECHA:
     el track se desplaza de -50% a 0 y, como está duplicado,
     el ciclo es perfecto sin saltos. */
  @keyframes soma-move-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0%); }
  }

  /* Responsivo: reduce altura en móviles si hace falta */
  @media (max-width: 480px){
    #soma-logos-marquee{ --logo-height: 64px; --gap: 24px; }
  }


        .purchase-section {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .section-header {
            background: linear-gradient(135deg, #00a19a 0%, #008c86 100%);
            color: white;
            padding: 50px 40px;
            text-align: center;
        }
.section-header h1, .section-header h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .section-header p {
            font-size: 1.2rem;
            opacity: 0.95;
        }

        .process-container {
            padding: 60px 40px;
        }

        .process-title {
            text-align: center;
            margin-bottom: 50px;
        }

        .process-title h2 {
            color: #00a19a;
            font-size: 2.2rem;
            margin-bottom: 10px;
            text-transform: uppercase;
        }

        .process-title p {
            color: #666;
            font-size: 1.1rem;
        }

        /* 4 PASOS EN LÍNEA HORIZONTAL */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-bottom: 50px;
            padding: 20px;
        }

        .step-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            padding: 35px 20px;
            border-radius: 15px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 3px solid #e0e0e0;
            position: relative;
            cursor: pointer;
            min-height: 320px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        .step-card:hover {
            transform: translateY(-15px) scale(1.05);
            box-shadow: 0 20px 40px rgba(0, 161, 154, 0.25);
            border-color: #00a19a;
            background: linear-gradient(135deg, #ffffff 0%, #e8f5f4 100%);
        }

        .step-card:hover .step-number {
            transform: rotate(360deg) scale(1.1);
            background: linear-gradient(135deg, #00d4cc 0%, #00a19a 100%);
        }

        .step-card:hover .step-icon {
            transform: scale(1.2);
        }

        .step-number {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #00a19a 0%, #008c86 100%);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            font-weight: bold;
            margin: 0 auto 20px;
            transition: all 0.5s ease;
            box-shadow: 0 5px 15px rgba(0, 161, 154, 0.3);
        }

        .step-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            transition: transform 0.3s ease;
        }

        .step-card h3 {
            color: #333;
            font-size: 1.2rem;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .step-card p {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .whatsapp-section {
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
            padding: 50px;
            border-radius: 15px;
            text-align: center;
            margin-top: 40px;
        }

        .whatsapp-section h3 {
            color: white;
            font-size: 2rem;
            margin-bottom: 15px;
            text-transform: uppercase;
        }

        .whatsapp-section p {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.95;
        }

        .whatsapp-btn {
            display: inline-flex;
            align-items: center;
            gap: 15px;
            background: white;
            color: #128C7E;
            padding: 18px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 1.3rem;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }

        .whatsapp-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
            background: #f0f0f0;
        }

        .whatsapp-icon {
            font-size: 2rem;
        }

        .availability-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 1rem;
            margin-bottom: 20px;
            border: 2px solid white;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 50px;
            padding: 0 20px;
        }

        .benefit-item {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 10px;
            text-align: center;
        }

        .benefit-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }

        .benefit-item h4 {
            color: #00a19a;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .benefit-item p {
            color: #666;
            font-size: 0.95rem;
        }

        /* RESPONSIVE - MOBILE VERTICAL COMO ESTABA ANTES */
        @media (max-width: 1024px) {
            .steps-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .step-card {
                max-width: 500px;
                margin: 0 auto;
                width: 100%;
            }

            .benefits-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .benefit-item {
                max-width: 500px;
                margin: 0 auto;
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            .section-header {
                padding: 30px 20px;
            }
.section-header h1, .section-header h2 {
                font-size: 1.8rem;
            }

            .process-container {
                padding: 40px 20px;
            }

            .process-title h2 {
                font-size: 1.6rem;
            }

            .whatsapp-section {
                padding: 30px 20px;
            }

            .whatsapp-section h3 {
                font-size: 1.5rem;
            }

            .whatsapp-btn {
                font-size: 1.1rem;
                padding: 15px 30px;
            }
        }


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

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            color: #00a19a;
            font-size: 2.8rem;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .section-title p {
            color: #666;
            font-size: 1.3rem;
        }

        /* 3 TESTIMONIOS EN LÍNEA HORIZONTAL */
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-bottom: 50px;
        }

        .testimonial-card {
            background: white;
            border-radius: 20px;
            padding: 40px 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: -20px;
            left: 20px;
            font-size: 120px;
            color: #00a19a;
            opacity: 0.1;
            font-family: Georgia, serif;
        }

        .testimonial-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 161, 154, 0.2);
        }

        .doctor-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
            position: relative;
            z-index: 1;
        }

        .doctor-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, #00a19a 0%, #008c86 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: white;
            flex-shrink: 0;
            box-shadow: 0 5px 15px rgba(0, 161, 154, 0.3);
            transition: transform 0.3s ease;
        }

        .testimonial-card:hover .doctor-avatar {
            transform: scale(1.1) rotate(5deg);
        }

        .doctor-info h3 {
            color: #333;
            font-size: 1.4rem;
            margin-bottom: 5px;
        }

        .doctor-specialty {
            color: #00a19a;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 3px;
        }

        .doctor-location {
            color: #999;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .testimonial-text {
            color: #555;
            font-size: 1.05rem;
            line-height: 1.8;
            font-style: italic;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .rating {
            display: flex;
            gap: 5px;
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        .star {
            color: #FFD700;
            text-shadow: 0 2px 5px rgba(255, 215, 0, 0.3);
        }

        .verified-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #00a19a 0%, #008c86 100%);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .stats-section {
            background: white;
            border-radius: 20px;
            padding: 50px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin-top: 60px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            margin-top: 30px;
        }

        .stat-item {
            padding: 20px;
        }

        .stat-number {
            font-size: 3.5rem;
            font-weight: bold;
            color: #00a19a;
            margin-bottom: 10px;
        }

        .stat-label {
            color: #666;
            font-size: 1.1rem;
            font-weight: 600;
        }

        @media (max-width: 1024px) {
            .testimonials-grid {
                gap: 30px;
            }

            .stats-grid {
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .section-title h2 {
                font-size: 2rem;
            }


            /* MANTENER 3 TESTIMONIOS EN HORIZONTAL EN MOBILE */
            .testimonials-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 15px;
                overflow-x: auto;
                padding: 10px 5px;
            }

            .testimonial-card {
                min-width: 280px;
                padding: 30px 20px;
            }

            .doctor-header {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .doctor-avatar {
                width: 70px;
                height: 70px;
                font-size: 2rem;
            }

            .doctor-info h3 {
                font-size: 1.2rem;
            }

            .doctor-specialty {
                font-size: 0.9rem;
            }

            .doctor-location {
                font-size: 0.85rem;
                justify-content: center;
            }

            .testimonial-text {
                font-size: 0.95rem;
                line-height: 1.6;
            }

            .rating {
                font-size: 1.3rem;
                justify-content: center;
            }

            .verified-badge {
                font-size: 0.8rem;
                padding: 6px 12px;
            }

            /* MANTENER 4 ESTADÍSTICAS EN HORIZONTAL EN MOBILE */
            .stats-section {
                padding: 30px 15px;
            }

            .stats-section h2 {
                font-size: 1.5rem;
            }

            .stats-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 15px;
                overflow-x: auto;
            }

            .stat-item {
                padding: 15px 10px;
                min-width: 120px;
            }

            .stat-number {
                font-size: 2rem;
            }

            .stat-label {
                font-size: 0.9rem;
            }
        }

        /* SCROLL HORIZONTAL ESTILIZADO */
        @media (max-width: 768px) {
            .testimonials-grid::-webkit-scrollbar,
            .stats-grid::-webkit-scrollbar {
                height: 8px;
            }

            .testimonials-grid::-webkit-scrollbar-track,
            .stats-grid::-webkit-scrollbar-track {
                background: #f1f1f1;
                border-radius: 10px;
            }

            .testimonials-grid::-webkit-scrollbar-thumb,
            .stats-grid::-webkit-scrollbar-thumb {
                background: #00a19a;
                border-radius: 10px;
            }

            .testimonials-grid::-webkit-scrollbar-thumb:hover,
            .stats-grid::-webkit-scrollbar-thumb:hover {
                background: #008c86;
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        .floating {
            animation: float 3s ease-in-out infinite;
        }
    

.medical-form-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    background: #f8f9fa;
}

.medical-form-title {
    text-align: center;
    margin-bottom: 50px;
}
.medical-form-title h1, .medical-form-title h2 {
    font-size: 3rem;
    color: #00a19a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.medical-form-title p {
    font-size: 1.3rem;
    color: #666;
}

.medical-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.medical-form-container {
    padding: 50px;
}

.medical-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.medical-form-group {
    margin-bottom: 0;
}

.medical-form-group.full-width {
    grid-column: 1 / -1;
}

.medical-form-group label {
    display: block;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.medical-required {
    color: #ff4444;
}

.medical-form-group input,
.medical-form-group select,
.medical-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.medical-form-group input:focus,
.medical-form-group select:focus,
.medical-form-group textarea:focus {
    outline: none;
    border-color: #00a19a;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 161, 154, 0.1);
}

.medical-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.medical-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.medical-checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: auto;
}

.medical-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00a19a 0%, #008c86 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.medical-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 161, 154, 0.3);
}

.medical-form-image {
    background: linear-gradient(135deg, #00a19a 0%, #008c86 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.medical-form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.medical-success {
    display: none;
    text-align: center;
    padding: 60px 40px;
}

.medical-success.active {
    display: block;
}

.medical-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #00a19a 0%, #008c86 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.medical-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 161, 154, 0.3);
}

@media (max-width: 1024px) {
    .medical-form-wrapper {
        grid-template-columns: 1fr;
    }
    .medical-form-image {
        order: -1;
        min-height: 400px;
    }
    .medical-form-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .medical-form-section {
        padding: 40px 20px;
    }
.medical-form-title h1, .medical-form-title h2 {
        font-size: 2rem;
    }
    .medical-form-title p {
        font-size: 1.1rem;
    }
    .medical-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .medical-form-container {
        padding: 30px 25px;
    }
    .medical-form-image {
        min-height: 300px;
        padding: 20px;
    }
}
/* ---- Claim de certificaciones (era un módulo Text de Divi) ---- */
.soma-claim{background:#fff;padding:60px 20px 30px}
.soma-claim-inner{max-width:900px;margin:0 auto}
.soma-claim h2{font-family:'Poppins',Arial,sans-serif;text-align:center;font-size:27px;line-height:1.4;font-weight:600;color:#1a1a1a;margin:0}
@media (max-width:600px){.soma-claim{padding:40px 16px 20px}.soma-claim h2{font-size:21px}}

/* ---- Marquee: respetar "reducir movimiento" ---- */
@media (prefers-reduced-motion: reduce){
  #soma-logos-marquee .marquee-track{animation:none;transform:translateX(0)}
  #soma-logos-marquee{overflow-x:auto}
}
