
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html {
    scroll-behavior: smooth;
}
.fade-in {
    animation: fadeIn 0.6s ease-in;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity:1;
transform: translateY(0);
}
}
.btn-primary {
    transition: all .25s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(189, 21, 33, 0.25);
}
.btn-secondary {
    transition: all .25s ease;
}
.btn-secondary:hover {
    background: rgba(189, 21, 33, .06);
    border-color: #BD1521;
}
.card-hover {
    transition: all .25s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}
.nav-link {
    transition: color .2s ease;
}
.nav-link:hover {
    color: #BD1521;
}


#starter-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(4px);
}

#starter-modal.hidden {
    display: none;
}

#starter-modal .modal-box {
    width: 95%;
    max-width: 1200px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    overflow: hidden;
}

#starter-modal .modal-header {
    padding: 25px 35px;
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: 220px 1fr 40px;
    gap: 25px;
    align-items: flex-start;
}

#starter-modal .modal-brand {
    text-align: center;
}

#starter-modal .modal-brand img {
    height: 75px;
    width: auto;
    margin: 0 auto 8px auto;
    display: block;
}

#starter-modal .modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}

#starter-modal .modal-header-text {
    padding-top: 8px;
}

#starter-modal .modal-header-text h3 {
    margin: 0 0 8px 0;
    font-size: 30px;
    font-weight: 700;
}

#starter-modal .modal-header-text p {
    margin: 0 0 8px 0;
}

#starter-modal .modal-body {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    padding: 30px;
}

#starter-modal .close-btn {
    border: none;
    background: none;
    font-size: 38px;
    cursor: pointer;
    line-height: 1;
}

.facturacion-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.facturacion-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.facturacion-form input,
.facturacion-form select,
.facturacion-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 14px;
}

.facturacion-form textarea {
    min-height: 100px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.no-factura-alert {
    background: #fff3cd;
    border: 1px solid #ffe69c;
    color: #664d03;
    padding: 14px 18px;
    border-radius: 10px;
    text-align: center;
}

.no-factura-alert label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    margin: 0;
    cursor: pointer;
}

.no-factura-alert input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#contador-cierre {
    display: none;
    margin-top: 10px;
    font-size: 13px;
    color: #664d03;
}

.btn-enviar {
    background: #BD1521;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
}

.btn-enviar:hover {
    background: #9f111b;
}

.btn-enviar:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.info-box {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 14px;
}

.info-logo {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #d1d5db;
    text-align: center;
}

.info-logo img {
    height: 70px;
    width: auto;
    margin: 0 auto 10px auto;
    display: block;
}

.info-logo-title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.info-logo-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.small {
    font-size: 12px;
    color: #6b7280;
}

@media(max-width:768px) {
    #starter-modal {
        padding: 10px;
    }

    #starter-modal .modal-header {
        grid-template-columns: 1fr;
        text-align: center;
        position: relative;
        padding: 20px;
    }

    #starter-modal .modal-brand img {
        height: 60px;
    }

    #starter-modal .modal-title {
        font-size: 22px;
    }

    #starter-modal .modal-header-text h3 {
        font-size: 24px;
    }

    #starter-modal .close-btn {
        position: absolute;
        top: 18px;
        right: 20px;
    }

    #starter-modal .modal-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

  .chip-link{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    padding:.5rem 1rem;
    border-radius:9999px;
    background:#fff;
    color:#1f2937;
    font-weight:500;
    font-size:.875rem;
    border:1px solid rgba(189,21,33,.20);
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, opacity .2s;
    text-decoration:none;
  }
  .chip-link:hover{
    background:#BD1521;
    color:#fff;
    border-color:#BD1521;
    box-shadow:0 1px 2px rgba(0,0,0,.06);
  }
  /* internos sin URL por ahora */
  .chip-disabled{
    opacity:.55;
    cursor:not-allowed;
    pointer-events:none;
  }


  /* --- ESTILOS DEL BOTÓN --- */
  .adn-button-wrapper { width: 100%; max-width: 500px; margin: 30px auto; }
  
  .adn-btn-starter {
    background: linear-gradient(145deg, #BD1521, #8b0f18);
    color: #ffffff;
    width: 100%;
    padding: 20px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(189, 21, 33, 0.3);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  }

  .adn-btn-starter:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(189, 21, 33, 0.4);
    filter: brightness(1.1);
  }

  .adn-btn-top-label { font-size: 12px; font-weight: 800; letter-spacing: 2px; opacity: 0.9; margin-bottom: 4px; }
  .adn-btn-main-row { display: flex; align-items: center; gap: 12px; }
  .adn-icon { width: 28px; height: 28px; }
  .adn-price { font-size: 26px; font-weight: 900; letter-spacing: -1px; }
  .adn-tax-info { font-size: 10px; font-weight: 600; margin-top: 8px; opacity: 0.8; text-align: center; }

  /* --- ESTILOS DEL MODAL XL --- */
  .adn-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    z-index: 9999999;
    display: none; /* Se activa por JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .adn-modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 1100px; /* ANCHO XL */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    animation: adnPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .adn-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 35px;
    border-bottom: 1px solid #f0f0f0;
    background: #fcfcfc;
  }

  .adn-header-left h3 { margin: 0; color: #1a1a1a; font-size: 24px; font-weight: 800; }
  .adn-header-left p { margin: 5px 0 0 0; color: #888; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }

  .adn-btn-close {
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
  }
  .adn-btn-close:hover { background: #BD1521; color: white; }

  .adn-modal-body { height: 800px; width: 100%; } /* ALTO XL */

  /* Helpers */
  .adn-modal-open { display: flex !important; }

  @keyframes adnPop {
    from { opacity: 0; transform: scale(0.92) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }

  /* Responsive para Laptops y Tablets */
  @media (max-height: 900px) {
    .adn-modal-body { height: 75vh; }
    .adn-modal-container { max-width: 95%; }
  }




  :root{
    --chip-bg: rgba(189,21,33,.10);
    --chip-border: rgba(189,21,33,.25);
    --chip-text: #BD1521;
    --card-border: rgba(2,6,23,.10);
    --muted: rgba(2,6,23,.70);
  }

  .cloud-wrap{
    display: grid;
    gap: 16px;
  }

  .cloud-card{
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 16px;
    background: #fff;
  }

  .cloud-header{
    text-align: center; /* centra título y hook */
  }

  .cloud-header h3{
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.2;
  }

  .cloud-hook{
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
  }

  .cloud{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px;
  }

  /* CENTRADO DE CHIPS */
  .cloud-center{
    justify-content: center;  /* centra por fila */
    align-items: center;
  }

  .chip{
    display: inline-flex;
    align-items: center;
    justify-content: center; /* centra texto dentro del chip */
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    color: var(--chip-text);
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    user-select: none;
  }

  .cloud-proof,
  .cloud-cta{
    text-align: center; /* centra prueba y CTA */
  }

  .cloud-proof{
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 14px;
  }

  .cloud-cta{
    margin: 0;
    font-size: 14px;
    font-weight: 700;
  }

  @media (max-width: 520px){
    .chip{ white-space: normal; line-height: 1.2; }
  }
