/* =========================================
   COOBOOK FOOTER V2 — institucional, limpio
   - sin flare/iluminación lateral
   - sello visible como marca de agua
   ========================================= */



   .container-footer.footer.full-width .grid-child{
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  /* Wrapper */
  .cb-footer-wrap.cb-footer-v2{
    width: 100%;
    position: relative;
    background: #060915;
    border-top: 1px solid rgba(150,195,255,.16);
    overflow: hidden;
  }
  
  
  /* Textura suave para que no quede plano */
  .cb-footer-wrap.cb-footer-v2::after{
    content:"";
    position:absolute;
    inset:0;
    background:
      radial-gradient(900px 520px at 25% 10%, rgba(70,120,255,.10), transparent 65%),
      radial-gradient(900px 520px at 85% 0%, rgba(70,120,255,.06), transparent 70%);
    pointer-events:none;
  }
  
  /* Footer body */
  .cb-footer--v2{
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    padding: 3.2rem 5vw 2.2rem;
    box-sizing: border-box;
    color: rgba(232,241,255,.9);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  
  /* No subrayados nunca */
  .cb-footer--v2 a,
  .cb-footer--v2 a:visited,
  .cb-footer--v2 a:hover,
  .cb-footer--v2 a:active{
    text-decoration:none !important;
    border-bottom:none !important;
    box-shadow:none !important;
  }
  
  /* TOP */
  .cb2-top{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid rgba(230,238,255,.07);
  }
  
  /* Fila superior: Logo izquierda, texto derecha */
  .cb2-top-row{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.4rem;
  }
  
  .cb2-top-left{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 55px;
  }
  
  .cb2-top-right{
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }
  
  /* Fila inferior: LEI izquierda, newsletter derecha */
  .cb2-bottom-row{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.4rem;
  }
  
  .cb2-bottom-left{
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .cb2-bottom-right{
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
  }
  
  /* Reutilizar clases existentes con ajustes */
  .cb2-brand{
    display: none; /* Ocultar estructura original */
  }
  
  .cb2-right{
    display: none; /* Ocultar estructura original */
  }
  
  .cb2-seal{
    width: 180px;
    height: auto;
    opacity: .88;
    filter: grayscale(100%) contrast(120%);
  }
  
  .cb2-brand-text{
    text-align: center;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .cb2-title{
    margin: 0 0 .35rem;
    font-size: 1.25rem;
    letter-spacing: .10em;
    font-weight: 600;
    color: #fff;
  }
  
  .cb2-tagline{
    margin: 0;
    font-size: .92rem;
    line-height: 1.55;
    color: rgba(232,241,255,.78);
  }
  
  .cb2-company{
    margin: .7rem 0 0;
    font-size: .75rem;
    color: rgba(232,241,255,.55);
  }
  
  .cb2-flags{
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
  }
  
  .cb2-flags img{
    width: 28px;
    height: auto;
    border-radius: 3px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .cb2-flags img:hover{
    opacity: 1;
  }
  
  /* LEI - ajustado para fila inferior izquierda */
  .cb2-lei{
    width: min(320px, 100%);
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(150,195,255,.18);
  }
  
  .cb2-lei-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  
  .cb2-lei-label{
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(232,241,255,.6);
  }
  
  .cb2-lei-value{
    font-size: 1rem;
    letter-spacing: .18em;
    font-weight: 600;
    color: #fff;
    text-align: right;
  }
  
  .cb2-lei-sub{
    margin-top: .55rem;
    font-size: .82rem;
    color: rgba(232,241,255,.75);
    text-align: center;
  }
  
  .cb2-lei-sub strong{
    color: #9bbdff;
  }
  
  /* CTA - ahora debajo del LEI */
  .cb2-cta{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .cb2-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .58rem 1.25rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .03em;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, filter .18s ease;
    white-space: nowrap;
    text-decoration: none;
    color: #fff;
  }
  
  .cb2-btn-primary{
    background: linear-gradient(135deg, #4f9bff 0%, #0054ff 100%);
    box-shadow: 0 0 18px rgba(79,155,255,.35);
  }
  
  .cb2-btn-primary:hover{
    transform: translateY(-2px);
    filter: brightness(1.06);
  }
  
  /* SOCIAL */
  .cb2-social{
    margin-top: 1.6rem;
    display:flex;
    flex-direction:column;
    gap:.75rem;
  }
  
  .cb2-social-head{
    font-size:.72rem;
    letter-spacing:.28em;
    text-transform:uppercase;
    color: rgba(232,241,255,.55);
  }
  
  .cb2-social-list{
    display:flex;
    flex-wrap:wrap;
    gap:.6rem;
  }
  
  .cb2-social-list a{
    padding:.42rem .95rem;
    border-radius:999px;
    border: 1px solid rgba(150,195,255,.18);
    background: rgba(255,255,255,.02);
    color: rgba(255,255,255,.90);
    font-size:.72rem;
  }
  
  .cb2-social-list a:hover{
    border-color: rgba(150,195,255,.45);
    background: rgba(255,255,255,.05);
    transform: translateY(-1px);
  }
  
  /* SOCIAL + NFT WRAPPER */
  .cb2-social-nft-wrapper{
    margin-top: 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
  
  .cb2-social{
    margin-top: 0;
    display:flex;
    flex-direction:column;
    gap:.75rem;
  }
  
  .cb2-nft-section{
    display:flex;
    flex-direction:column;
    gap:12px;
    align-items: flex-start;
  }
  
  .cb2-nft-head{
    font-size:.72rem;
    letter-spacing:.28em;
    text-transform:uppercase;
    color: rgba(232,241,255,.55);
  }
  
  .cb2-nft-desc{
    font-size:.85rem;
    color: rgba(255,255,255,.75);
    line-height: 1.5;
  }
  
  .cb2-nft-btn{
    display:inline-block;
    padding:10px 24px;
    background:linear-gradient(135deg, #1b66ff, #3b82f6);
    color:#fff;
    text-decoration:none;
    font-size:.75rem;
    font-weight:600;
    border-radius:8px;
    transition:all 0.3s ease;
  }
  
  .cb2-nft-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(27,102,255,0.4);
  }
  
  /* LINKS */
  .cb2-links{
    margin-top: 2.2rem;
    padding: 2.1rem 0 2rem;
    border-top: 1px solid rgba(230,238,255,.07);
    border-bottom: 1px solid rgba(230,238,255,.07);
    display:grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 3rem;
  }
  
  .cb2-col h4{
    margin:0 0 1rem;
    font-size:.78rem;
    text-transform:uppercase;
    letter-spacing:.26em;
    color:#fff;
  }
  
  .cb2-col a{
    display:block;
    margin-bottom:.62rem;
    font-size:.84rem;
    color: rgba(232,241,255,.72);
    transition: transform .12s ease, color .12s ease;
  }
  
  .cb2-col a:hover{
    color:#fff;
    transform: translateX(4px);
  }
  
  /* BOTTOM */
  .cb2-bottom{
    margin-top: 1.35rem;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap: 1rem;
    flex-wrap:wrap;
    font-size:.72rem;
    color: rgba(232,241,255,.38);
  }
  
  .cb2-bottom-links{
    display:flex;
    flex-wrap:wrap;
    gap: 1.1rem;
  }
  
  .cb2-bottom-links a{
    color: rgba(232,241,255,.55);
  }
  
  .cb2-bottom-links a:hover{
    color:#fff;
  }
  
  /* Responsive */
  @media (max-width: 1024px){
    .cb2-top{
      flex-direction:column;
    }
    .cb2-right{
      align-items:flex-start;
    }
    .cb2-cta{
      justify-content:flex-start;
    }
  }
  
  @media (max-width: 900px){
    .cb2-links{
      grid-template-columns: repeat(2, minmax(200px, 1fr));
      gap: 2.2rem;
    }
  }
  
  @media (max-width: 600px){
    .cb-footer--v2{
      padding: 2.8rem 1.35rem 2.2rem;
    }
    .cb2-seal{
      width:62px;
    }
    .cb2-links{
      grid-template-columns: 1fr;
      gap: 1.6rem;
    }
    .cb2-btn{
      width:100%;
    }
    .cb2-right{
      width:100%;
    }
    .cb2-lei{
      width:100%;
    }
    .cb2-social-nft-wrapper{
      flex-direction: column;
      gap: 30px;
    }
    .cb2-nft-section{
      width: 100%;
    }
  }
  
  
  
  
  

  
  
  
  /* ===== Ajuste: LEI centrado + CTA centrado ===== */
  .cb2-right{
    align-items: center !important;
  }
  
  .cb2-lei{
    margin: 0 auto;
    text-align: center;
  }
  
  .cb2-lei-row{
    justify-content: center;
    flex-direction: column;
    gap: .35rem;
  }
  
  .cb2-lei-value{
    text-align: center;
  }
  
  .cb2-cta{
    justify-content: center;
    width: 100%;
  }

  /* ===== Newsletter Form Integration ===== */
  .cb2-newsletter{
    display: flex;
    justify-content: flex-end;
  }

  .subscribe {
    position: relative;
    height: 140px;
    width: 280px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #fff;
    border: 1px solid rgba(150, 195, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  }
  
  .subscribe:after {
    position: absolute;
    content: "";
    right: -10px;
    bottom: 18px;
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #0d095e;
  }
  
  .subscribe p {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1;
    margin: 0 0 15px 0;
    color: rgba(232, 241, 255, 0.9);
    text-transform: uppercase;
  }
  
  .subscribe input {
    position: absolute;
    bottom: 30px;
    left: 20px;
    border: none;
    border-bottom: 1px solid rgba(150, 195, 255, 0.3);
    padding: 8px 0;
    width: calc(100% - 40px);
    background: transparent;
    transition: all .25s ease;
    color: #fff;
    font-size: 14px;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  .subscribe input::placeholder {
    color: rgba(232, 241, 255, 0.5);
  }
  
  .subscribe input:focus {
    outline: none;
    border-bottom: 1px solid #4f9bff;
  }

  .subscribe .submit-btn {
    position: absolute;
    border-radius: 20px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    background: linear-gradient(135deg, #4f9bff 0%, #0054ff 100%);
    color: #FFF;
    padding: 10px 20px;
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    right: -10px;
    bottom: -20px;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: -3px 4px 15px rgba(79, 155, 255, 0.3);
    text-transform: uppercase;
  }
  
  .subscribe .submit-btn:hover {
    background: linear-gradient(135deg, #0054ff 0%, #0036cc 100%);
    box-shadow: -3px 4px 20px rgba(79, 155, 255, 0.5);
    transform: translateY(-1px);
  }

  .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
  }

  .subscribe-message {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .subscribe-message.show {
    opacity: 1;
  }

  /* Responsive adjustments for new layout */
  @media (max-width: 1024px) {
    .cb2-top-row {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1.5rem;
    }
    
    .cb2-top-left,
    .cb2-top-right {
      justify-content: center;
    }
    
    .cb2-brand-text {
      text-align: center;
      max-width: 100%;
    }
    
    .cb2-bottom-row {
      flex-direction: column;
      align-items: center;
      gap: 1.5rem;
    }
    
    .cb2-bottom-left,
    .cb2-bottom-right {
      align-items: center;
      justify-content: center;
    }
    
    .cb2-lei {
      text-align: center;
    }
    
    .cb2-lei-row {
      justify-content: center;
      flex-direction: column;
      gap: .35rem;
    }
    
    .cb2-lei-value {
      text-align: center;
    }
    
    .cb2-cta {
      justify-content: center;
    }
    
    .cb2-newsletter {
      justify-content: center;
    }
    
    .cb2-cta {
      justify-content: center;
      width: 100%;
    }
    
    .subscribe {
      width: 260px;
      height: 130px;
    }
  }

  @media (max-width: 768px) {
    .cb2-seal {
      width: 140px;
    }
    
    .cb2-brand-text {
      text-align: center;
    }
    
    .cb2-title {
      font-size: 1.1rem;
    }
    
    .cb2-tagline {
      font-size: .85rem;
    }
    
    .cb2-lei {
      width: 100%;
      max-width: 280px;
    }
    
    .subscribe {
      width: 100%;
      max-width: 280px;
      height: 120px;
    }
    
    .subscribe p {
      font-size: 12px;
      letter-spacing: 2px;
    }
    
    .subscribe input {
      font-size: 13px;
      bottom: 25px;
    }
    
    .subscribe .submit-btn {
      padding: 8px 16px;
      font-size: 10px;
      right: -8px;
      bottom: -18px;
    }
  }

  @media (max-width: 600px) {
    .cb2-top-row {
      padding: 1rem 0;
    }
    
    .cb2-bottom-row {
      padding: 1rem 0;
    }
    
    .cb2-seal {
      width: 120px;
    }
    
    .cb2-brand-text {
      padding: 0 1rem;
    }
    
    .cb2-title {
      font-size: 1rem;
    }
    
    .cb2-tagline {
      font-size: .8rem;
    }
    
    .cb2-company {
      font-size: .7rem;
    }
    
    .subscribe {
      width: 100%;
      height: 110px;
      max-width: 300px;
    }
    
    .subscribe-message {
      white-space: normal;
      line-height: 1.3;
      padding: 0 10px;
    }
    
    .cb2-btn {
      width: 100%;
      justify-content: center;
    }
  }