/* =========================================
   COOBOOK HELP PAGES - Publicar Contenido
   ========================================= */

   .cb-publish-faq-head{
    position:relative;
    width:100%;
    padding: clamp(32px, 4vw, 64px) 0;
    background:#ffffff;
    overflow:hidden;
  }
  
  .cb-pfh-wrap{
    width:min(1100px, calc(100% - 40px));
    margin:0 auto;
    position:relative;
    z-index:2;
    border:1px solid rgba(10,20,35,.12);
    border-radius: 22px;
    padding: clamp(22px, 3.2vw, 40px);
    background:
      radial-gradient(1200px 600px at 10% 0%, rgba(66, 99, 235, .10), transparent 55%),
      radial-gradient(900px 520px at 100% 20%, rgba(11, 163, 255, .10), transparent 52%),
      linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.92));
    box-shadow:
      0 22px 60px rgba(10,20,35,.08),
      0 2px 0 rgba(10,20,35,.04);
    backdrop-filter: blur(10px);
  }
  
  .cb-pfh-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size: 12px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color: rgba(10,20,35,.72);
    padding:10px 12px;
    border-radius: 999px;
    border:1px solid rgba(10,20,35,.12);
    background: rgba(255,255,255,.72);
  }
  
  .cb-pfh-title{
    margin: 14px 0 10px;
    font-size: clamp(26px, 3.2vw, 42px);
    line-height: 1.08;
    color:#0a1423;
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  
  .cb-pfh-title-accent{
    display:inline-block;
    margin-left: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(66, 99, 235, .16), rgba(11, 163, 255, .14));
    border: 1px solid rgba(66, 99, 235, .18);
    color:#0a1423;
    font-weight: 750;
    font-size: .78em;
    vertical-align: middle;
  }
  
  .cb-pfh-subtitle{
    margin:0;
    max-width: 72ch;
    color: rgba(10,20,35,.78);
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.6;
  }
  
  .cb-pfh-meta{
    margin-top: 18px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }
  
  .cb-pfh-chip{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding: 10px 12px;
    border-radius: 999px;
    border:1px solid rgba(10,20,35,.12);
    background: rgba(255,255,255,.68);
    color: rgba(10,20,35,.82);
    font-size: 13px;
  }
  
  .cb-pfh-dot{
    width:10px;
    height:10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,0) 45%),
                linear-gradient(135deg, rgba(66, 99, 235, .95), rgba(11, 163, 255, .95));
    box-shadow: 0 0 0 4px rgba(66, 99, 235, .10);
  }
  
  .cb-pfh-ambient{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
  }
  
  .cb-pfh-orb{
    position:absolute;
    width: clamp(180px, 22vw, 320px);
    height: clamp(180px, 22vw, 320px);
    border-radius: 50%;
    filter: blur(22px);
    opacity: .55;
    animation: cbFloat 10s ease-in-out infinite;
  }
  
  .cb-o1{
    top: -70px;
    left: -60px;
    background: radial-gradient(circle at 30% 30%, rgba(66, 99, 235, .55), rgba(66, 99, 235, 0));
  }
  
  .cb-o2{
    top: 30%;
    right: -90px;
    background: radial-gradient(circle at 40% 40%, rgba(11, 163, 255, .45), rgba(11, 163, 255, 0));
    animation-duration: 12s;
  }
  
  .cb-o3{
    bottom: -90px;
    left: 40%;
    background: radial-gradient(circle at 35% 35%, rgba(150, 168, 255, .40), rgba(150, 168, 255, 0));
    animation-duration: 14s;
  }
  
  .cb-pfh-grid{
    position:absolute;
    inset:-40% -30%;
    background:
      linear-gradient(rgba(10,20,35,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(10,20,35,.05) 1px, transparent 1px);
    background-size: 38px 38px;
    transform: rotate(-10deg);
    opacity: .35;
    mask-image: radial-gradient(circle at 50% 35%, rgba(0,0,0,.95), transparent 62%);
  }
  
  @keyframes cbFloat{
    0%, 100%{ transform: translate3d(0,0,0) scale(1); }
    50%{ transform: translate3d(0, -14px, 0) scale(1.03); }
  }
  
  @media (max-width: 520px){
    .cb-pfh-wrap{ width: calc(100% - 28px); }
    .cb-pfh-title-accent{ display:block; margin: 10px 0 0; width: fit-content; }
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  .cb-publish-faq{
    width:100%;
    padding: clamp(22px, 3.5vw, 54px) 0;
    background:#ffffff;
  }
  
  .cb-pfaq-wrap{
    width:min(1100px, calc(100% - 40px));
    margin:0 auto;
  }
  
  .cb-pfaq-intro{
    margin: 0 0 18px;
    padding: 18px 18px 0;
  }
  
  .cb-pfaq-intro-title{
    margin:0 0 6px;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 800;
    letter-spacing: -0.01em;
    color:#0a1423;
  }
  
  .cb-pfaq-intro-sub{
    margin:0;
    max-width: 78ch;
    color: rgba(10,20,35,.72);
    line-height: 1.6;
    font-size: clamp(13px, 1.15vw, 15px);
  }
  
  /* UNA SOLA COLUMNA (vertical) */
  .cb-pfaq-list{
    display:flex;
    flex-direction: column;
    gap: 14px;
  }
  
  .cb-pfaq-item{
    border: 1px solid rgba(10,20,35,.12);
    border-radius: 18px;
    background:
      radial-gradient(900px 420px at 0% 0%, rgba(66, 99, 235, .10), transparent 55%),
      radial-gradient(800px 380px at 100% 10%, rgba(11, 163, 255, .08), transparent 52%),
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.92));
    box-shadow:
      0 16px 46px rgba(10,20,35,.06),
      0 2px 0 rgba(10,20,35,.03);
    overflow:hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  
  .cb-pfaq-item:hover{
    transform: translateY(-2px);
    border-color: rgba(66, 99, 235, .22);
    box-shadow:
      0 22px 60px rgba(10,20,35,.08),
      0 3px 0 rgba(10,20,35,.04);
  }
  
  .cb-pfaq-q{
    list-style:none;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding: 16px 18px;
    user-select:none;
    position:relative;
  }
  
  .cb-pfaq-q::-webkit-details-marker{ display:none; }
  
  .cb-pfaq-qtext{
    color:#0a1423;
    font-weight: 750;
    letter-spacing: -0.01em;
    line-height: 1.25;
    font-size: clamp(14px, 1.25vw, 16px);
  }
  
  .cb-pfaq-icon{
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(10,20,35,.12);
    background: rgba(255,255,255,.70);
    display:grid;
    place-items:center;
    flex: 0 0 auto;
    position:relative;
    box-shadow: 0 6px 18px rgba(10,20,35,.06);
  }
  
  .cb-pfaq-icon::before,
  .cb-pfaq-icon::after{
    content:"";
    position:absolute;
    width: 14px;
    height: 2px;
    background: linear-gradient(90deg, rgba(66,99,235,.95), rgba(11,163,255,.95));
    border-radius: 2px;
    transition: transform .18s ease, opacity .18s ease;
  }
  
  .cb-pfaq-icon::after{
    transform: rotate(90deg);
  }
  
  .cb-pfaq-item[open] .cb-pfaq-icon::after{
    transform: rotate(90deg) scaleX(0);
    opacity: 0;
  }
  
  .cb-pfaq-a{
    padding: 0 18px 18px;
    color: rgba(10,20,35,.78);
    line-height: 1.65;
    font-size: clamp(13px, 1.15vw, 15px);
  }
  
  .cb-pfaq-a p{
    margin: 0 0 10px;
  }
  
  .cb-pfaq-a ul{
    margin: 10px 0 0;
    padding-left: 18px;
  }
  
  .cb-pfaq-a li{
    margin: 6px 0;
  }
  
  .cb-pfaq-a strong{
    color:#0a1423;
    font-weight: 760;
  }
  
  .cb-pfaq-item[open]{
    border-color: rgba(66, 99, 235, .26);
  }
  
  .cb-pfaq-item[open] .cb-pfaq-q{
    padding-bottom: 12px;
  }
  
  .cb-pfaq-item[open] .cb-pfaq-q::after{
    content:"";
    position:absolute;
    left:18px;
    right:18px;
    bottom:0;
    height:1px;
    background: linear-gradient(90deg, transparent, rgba(10,20,35,.10), transparent);
  }
  
  .cb-pfaq-item:focus-within{
    outline: 3px solid rgba(66, 99, 235, .14);
    outline-offset: 2px;
  }
  
  /* (Antes había 2 columnas en desktop; aquí lo anulamos explícitamente) */
  @media (min-width: 860px){
    .cb-pfaq-list{
      display:flex;
      flex-direction: column;
    }
    .cb-pfaq-item{
      border-radius: 20px;
    }
  }
  
  @media (max-width: 520px){
    .cb-pfaq-wrap{
      width: calc(100% - 28px);
    }
    .cb-pfaq-intro{
      padding: 8px 4px 0;
      margin-bottom: 14px;
    }
    .cb-pfaq-q{
      padding: 14px 14px;
    }
    .cb-pfaq-a{
      padding: 0 14px 14px;
    }
    .cb-pfaq-icon{
      width: 32px;
      height: 32px;
      border-radius: 11px;
    }
  }

  /* =========================================
     SECCIÓN DE LISTA DE ESPERA - DISEÑO ÚNICO
     ========================================= */

  .cb-waitlist-section{
    position:relative;
    width:100%;
    padding: clamp(48px, 6vw, 80px) 0;
    background: #fafbfc;
    overflow:hidden;
  }
  
  .cb-waitlist-wrap{
    width:min(1200px, calc(100% - 60px));
    margin:0 auto;
    position:relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 0;
  }
  
  /* Contenido principal */
  .cb-waitlist-content{
    padding: 40px 0;
  }
  
  .cb-waitlist-badge{
    display: inline-block;
    font-size: 11px;
    letter-spacing:.2em;
    text-transform:uppercase;
    color: #667eea;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(102, 126, 234, .08);
    border-left: 3px solid #667eea;
    margin-bottom: 20px;
    font-weight: 600;
    animation: slideInLeft 0.6s ease-out;
  }
  
  .cb-waitlist-title{
    margin: 0 0 24px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    color: #1a202c;
    font-weight: 800;
    letter-spacing: -0.04em;
    position: relative;
    display: inline-block;
  }
  
  .cb-waitlist-title::after{
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.3s both;
  }
  
  .cb-waitlist-title-accent{
    display: block;
    margin-top: 8px;
    font-size: clamp(18px, 2.2vw, 24px);
    color: #667eea;
    font-weight: 700;
    line-height: 1.2;
  }
  
  .cb-waitlist-subtitle{
    margin: 32px 0 0;
    max-width: 500px;
    color: #4a5568;
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid rgba(102, 126, 234, .2);
    animation: fadeInUp 0.8s ease-out 0.4s both;
  }
  
  /* Side panel con chips */
  .cb-waitlist-sidebar{
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: slideInRight 0.8s ease-out 0.2s both;
  }
  
  .cb-waitlist-meta{
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .cb-waitlist-chip{
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, .1);
    background: rgba(255, 255, 255, .8);
    color: #2d3748;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 
      0 4px 6px rgba(0, 0, 0, .05),
      0 1px 3px rgba(0, 0, 0, .1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  
  .cb-waitlist-chip::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transform: scaleY(0);
    transition: transform 0.3s ease;
  }
  
  .cb-waitlist-chip:hover{
    transform: translateX(8px);
    box-shadow: 
      0 8px 16px rgba(102, 126, 234, .15),
      0 2px 4px rgba(0, 0, 0, .1);
    border-color: rgba(102, 126, 234, .3);
  }
  
  .cb-waitlist-chip:hover::before{
    transform: scaleY(1);
  }
  
  /* Botón CTA */
  .cb-waitlist-cta-wrapper{
    margin-top: 32px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
  }
  
  .cb-waitlist-cta{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
      0 10px 25px rgba(102, 126, 234, .4),
      0 4px 10px rgba(0, 0, 0, .1);
    position: relative;
    overflow: hidden;
  }
  
  .cb-waitlist-cta::after{
    content: '→';
    font-size: 20px;
    transition: transform 0.3s ease;
  }
  
  .cb-waitlist-cta:hover{
    transform: translateY(-2px);
    box-shadow: 
      0 15px 35px rgba(102, 126, 234, .5),
      0 8px 16px rgba(0, 0, 0, .15);
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
  }
  
  .cb-waitlist-cta:hover::after{
    transform: translateX(4px);
  }
  
  .cb-waitlist-cta:active{
    transform: translateY(0);
  }
  
  /* Elementos decorativos sutiles */
  .cb-waitlist-ambient{
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
  }
  
  .cb-waitlist-ambient::before{
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, .08), transparent 70%);
    filter: blur(60px);
    animation: pulseFloat 6s ease-in-out infinite;
  }
  
  .cb-waitlist-ambient::after{
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(118, 75, 162, .06), transparent 70%);
    filter: blur(50px);
    animation: pulseFloat 8s ease-in-out infinite reverse;
  }
  
  /* Animaciones sutiles */
  @keyframes slideInLeft{
    0%{ 
      opacity: 0;
      transform: translateX(-30px);
    }
    100%{ 
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInRight{
    0%{ 
      opacity: 0;
      transform: translateX(30px);
    }
    100%{ 
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeInUp{
    0%{ 
      opacity: 0;
      transform: translateY(20px);
    }
    100%{ 
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes expandWidth{
    0%{ width: 0; }
    100%{ width: 80px; }
  }
  
  @keyframes pulseFloat{
    0%, 100%{ 
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 0.6;
    }
    50%{ 
      transform: translate3d(0, -15px, 0) scale(1.1);
      opacity: 0.8;
    }
  }
  
  /* Responsive */
  @media (max-width: 768px){
    .cb-waitlist-wrap{
      grid-template-columns: 1fr;
      gap: 32px;
      text-align: center;
    }
    
    .cb-waitlist-sidebar{
      align-items: center;
    }
    
    .cb-waitlist-meta{
      width: 100%;
    }
    
    .cb-waitlist-subtitle{
      max-width: none;
      border-left: none;
      border-top: 2px solid rgba(102, 126, 234, .2);
      padding-left: 0;
      padding-top: 20px;
      margin-top: 20px;
    }
    
    .cb-waitlist-title::after{
      left: 50%;
      transform: translateX(-50%);
    }
  }
  
  /* =========================================
     MODAL DE FORMULARIO
     ========================================= */

  .cb-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  .cb-modal-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 35, 0.65);
    backdrop-filter: blur(8px);
  }
  
  .cb-modal-content{
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow:
      0 32px 80px rgba(10,20,35,.25),
      0 8px 24px rgba(0,0,0,.15);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
  }
  
  .cb-modal-header{
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .cb-modal-title{
    margin: 0;
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 800;
    color: #0a1423;
    letter-spacing: -0.01em;
  }
  
  .cb-modal-close{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(10,20,35,.12);
    background: rgba(255,255,255,.70);
    font-size: 24px;
    font-weight: 400;
    color: rgba(10,20,35,.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  
  .cb-modal-close:hover{
    background: rgba(10,20,35,.08);
    color: #0a1423;
    transform: scale(1.05);
  }
  
  .cb-modal-form{
    padding: 24px;
  }
  
  .cb-form-group{
    margin-bottom: 20px;
  }
  
  .cb-form-label{
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #0a1423;
    letter-spacing: -0.01em;
  }
  
  .cb-form-input{
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(10,20,35,.12);
    border-radius: 12px;
    font-size: 15px;
    color: #0a1423;
    background: white;
    transition: all 0.2s ease;
    font-family: inherit;
  }
  
  /* Estilos específicos para select */
  .cb-form-input[type="select"],
  select.cb-form-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(10,20,35,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 44px;
    cursor: pointer;
  }
  
  select.cb-form-input:invalid {
    color: rgba(10,20,35,0.4);
  }
  
  select.cb-form-input option {
    color: #0a1423;
    background: white;
  }
  
  select.cb-form-input optgroup {
    font-weight: 600;
    color: rgba(10,20,35,0.7);
    background: rgba(66, 99, 235, 0.05);
  }
  
  .cb-form-input:focus{
    outline: none;
    border-color: rgba(66, 99, 235, .4);
    box-shadow: 0 0 0 3px rgba(66, 99, 235, .1);
  }
  
  .cb-form-input::placeholder{
    color: rgba(10,20,35,.5);
  }
  
  .cb-form-actions{
    margin-top: 24px;
  }
  
  .cb-form-submit{
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg, rgba(76, 175, 80, .95), rgba(66, 99, 235, .95));
    color: white;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .cb-form-submit:hover{
    background: linear-gradient(90deg, rgba(76, 175, 80, 1), rgba(66, 99, 235, 1));
    transform: translateY(-1px);
  }
  
  .cb-form-submit:active{
    transform: translateY(0);
  }
  
  .cb-modal-message{
    padding: 24px;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
  }
  
  .cb-modal-message--success{
    color: #2e7d32;
    background: rgba(76, 175, 80, .08);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
  
  .cb-modal-message--error{
    color: #c62828;
    background: rgba(244, 67, 54, .08);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
  
  .cf-turnstile{
    margin: 20px 0;
  }
  
  /* Responsive para modal */
  @media (max-width: 520px){
    .cb-waitlist-wrap{ width: calc(100% - 28px); }
    .cb-waitlist-title-accent{ display:block; margin: 10px 0 0; width: fit-content; }
    .cb-modal-content{ margin: 10px; border-radius: 16px; }
    .cb-modal-header{ padding: 20px 20px 0; }
    .cb-modal-form{ padding: 20px; }
    .cb-modal-message{ padding: 20px; }
  }