/* =========================================================
   TOP CÚCUTA
   HOJA DE ESTILOS PRINCIPAL
   ========================================================= */


/* =========================================================
   01. VARIABLES
   ========================================================= */

:root {
    /* ==========================================
       IDENTIDAD TOP CÚCUTA
       ========================================== */

    --green: #e30613;
    --green-dark: #b80510;
    --green-soft: #fff1f2;

    --text: #111;
    --muted: #666;

    --border: #e2e2e2;
    --border-light: #e9e9e9;

    --soft: #f7f7f7;
    --white: #fff;

    --shadow: 0 5px 18px rgba(0, 0, 0, .055);
    --shadow-hover: 0 9px 25px rgba(0, 0, 0, .08);
}


/* =========================================================
   02. RESET / BASE
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}


/* =========================================================
   03. ESTRUCTURA GENERAL
   ========================================================= */

.container {
    width: min(1080px, 92%);
    margin: auto;
}


/* =========================================================
   04. HEADER / LOGO
   ========================================================= */

header {
    text-align: center;
    padding: 25px 0 8px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: var(--green);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 27px;
    font-weight: 800;
}

.logo-text {
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
}

.logo-text span {
    color: var(--green);
}

.subtitle {
    margin-top: 8px;
    color: #333;
    font-size: 16px;
}


/* =========================================================
   05. INFORMACIÓN PÚBLICA
   ========================================================= */

.public-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;

    margin: 17px auto 30px;

    color: #444;
    font-size: 14px;
    flex-wrap: wrap;
}

.public-info a {
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
}

.public-info a:hover {
    text-decoration: underline;
}

.live {
    display: flex;
    align-items: center;
    gap: 7px;
}

.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
}


/* =========================================================
   06. HERO PRINCIPAL
   ========================================================= */

.hero {
    text-align: center;
    margin: 8px auto 28px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.03;
    letter-spacing: -2.4px;
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--green);
}

.hero p {
    max-width: 760px;
    margin: auto;

    color: #333;
    font-size: 20px;
    line-height: 1.45;
}

.hero-note {
    margin-top: 11px;
    font-size: 14px;
    color: var(--muted);
}


/* =========================================================
   07. ÁREA DE BÚSQUEDA / ACCIÓN
   ========================================================= */

.search-area {
    display: flex;
    gap: 12px;
    margin: 27px 0 10px;
}

.search-box {
    flex: 1;
    min-width: 0;

    height: 62px;

    border: 1px solid #cfcfcf;
    border-radius: 14px;

    display: flex;
    align-items: center;

    padding: 0 18px;

    background: #fff;
}

.search-icon {
    font-size: 23px;
    margin-right: 12px;
}

.search-box input {
    border: 0;
    outline: 0;

    width: 100%;
    min-width: 0;

    color: #111;
    font-size: 18px;
}

.search-box input::placeholder {
    color: #777;
}

.primary-btn {
    border: 0;
    border-radius: 14px;

    min-height: 62px;
    padding: 0 28px;

    background: var(--green);
    color: #fff;

    font-weight: 800;
    font-size: 16px;

    transition: .2s;
}

.primary-btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.help-line {
    margin: 0 0 25px 2px;

    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}


/* =========================================================
   08. RANKING
   ========================================================= */

.ranking-head {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin: 25px 0 12px;
}

.ranking-head h2 {
    font-size: 24px;
    letter-spacing: -.5px;
}

.ranking-head p {
    color: var(--muted);
    font-size: 14px;
}

.ranking {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* =========================================================
   09. FICHA DE NEGOCIO
   ========================================================= */

.business {
    position: relative;

    min-height: 154px;

    border: 1px solid var(--border);
    border-radius: 17px;

    padding: 15px 18px;

    display: grid;
    grid-template-columns: 58px 68px minmax(0, 1fr) 230px;

    gap: 14px;
    align-items: center;

    background: #fff;
    box-shadow: var(--shadow);

    transition: .2s;
}

.business:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.business.first {
    border: 1.5px solid var(--green);
    background: linear-gradient(100deg, #fff, #fffafb);
}

.position {
    text-align: center;
    font-size: 32px;
    line-height: 1;
}

.business-logo {
    width: 68px;
    height: 68px;

    border-radius: 50%;

    background: #222;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    font-size: 11px;
    line-height: 1.1;
    font-weight: 800;

    overflow: hidden;
}

.business-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-info {
    min-width: 0;
}

.business-name {
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 5px;
}

.verified {
    color: var(--green);
    font-size: 14px;
}

.category {
    color: #555;
    font-size: 14px;
    margin-bottom: 7px;
}

.meta {
    color: #555;
    font-size: 13px;

    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.meta strong {
    color: #222;
}


/* =========================================================
   10. CAMPAÑA / DESTINO
   ========================================================= */

.campaign {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;

    margin-top: 9px;
}

.active-badge {
    display: inline-flex;
    align-items: center;

    border-radius: 20px;
    padding: 5px 9px;

    background: var(--green-soft);
    color: var(--green-dark);

    font-size: 11px;
    font-weight: 800;
}

.expiry {
    color: var(--muted);
    font-size: 12px;
}

.destination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin-top: 9px;

    min-height: 38px;
    width: max-content;
    max-width: 100%;

    padding: 0 15px;

    border-radius: 10px;

    background: var(--green);
    color: #fff;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition: .2s;
}

.destination-btn:hover {
    background: var(--green-dark);
}


/* =========================================================
   11. INVERSIÓN / POSICIÓN
   ========================================================= */

.bid {
    text-align: right;
}

.bid-label {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 3px;
}

.bid-value {
    font-size: 27px;
    font-weight: 800;
    line-height: 1.1;
}

.first .bid-value {
    color: var(--green);
}

.minimum {
    display: inline-block;

    margin-top: 8px;
    padding: 6px 10px;

    border-radius: 20px;

    background: #f0f0f0;
    color: #444;

    font-size: 12px;
}

.first .minimum {
    background: var(--green-soft);
    color: var(--green-dark);
}


/* =========================================================
   12. SECCIÓN ¿CÓMO SUBIR?
   ========================================================= */

.how-to {
    margin: 34px 0 20px;

    border: 1px solid var(--border);
    border-radius: 17px;

    background: var(--soft);

    padding: 24px;
}

.how-to-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    margin-bottom: 19px;
}

.how-to h2 {
    font-size: 23px;
    letter-spacing: -.5px;
}

.how-to-intro {
    color: #555;
    font-size: 14px;
    line-height: 1.45;

    max-width: 680px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.step {
    background: #fff;

    border: 1px solid #e4e4e4;
    border-radius: 13px;

    padding: 17px;
}

.step-number {
    width: 29px;
    height: 29px;

    border-radius: 50%;

    background: var(--green);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
    font-size: 13px;

    margin-bottom: 11px;
}

.step h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.step p {
    color: #555;
    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   13. FOOTER
   ========================================================= */

.footer {
    border-top: 1px solid #e5e5e5;

    margin-top: 34px;
    padding: 22px 0 30px;

    text-align: center;

    color: #777;
    font-size: 13px;
}

.footer a {
    color: #555;
    text-decoration: none;
    margin: 0 7px;
}

.footer a:hover {
    text-decoration: underline;
}


/* =========================================================
   14. MODALES
   ========================================================= */

.modal {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 18px;

    background: rgba(0, 0, 0, .58);

    z-index: 100;
}

.modal.active {
    display: flex;
}

.modal-box {
    width: min(540px, 100%);
    max-height: 92vh;

    overflow: auto;

    background: #fff;

    border-radius: 20px;

    padding: 27px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

.modal-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: flex-start;

    margin-bottom: 7px;
}

.modal-box h2 {
    font-size: 24px;
}

.close-btn {
    border: 0;

    background: #eee;

    width: 35px;
    height: 35px;

    border-radius: 50%;

    font-size: 20px;
    line-height: 1;
}

.modal-description {
    color: #555;

    font-size: 14px;
    line-height: 1.45;

    margin-bottom: 18px;
}


/* =========================================================
   15. CAMPOS DE FORMULARIO
   ========================================================= */

.field-label {
    display: block;

    font-size: 13px;
    font-weight: 800;

    margin: 12px 0 6px;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
    width: 100%;

    border: 1px solid #ccc;
    border-radius: 10px;

    padding: 12px 13px;

    outline: 0;

    background: #fff;

    font-size: 15px;

    transition: border-color .15s, box-shadow .15s;
}

.modal-box input,
.modal-box select {
    height: 48px;
}

.modal-box textarea {
    min-height: 110px;

    resize: vertical;

    line-height: 1.45;
}

.modal-box input:focus,
.modal-box select:focus,
.modal-box textarea:focus {
    border-color: var(--green);

    box-shadow: 0 0 0 3px rgba(227, 6, 19, .08);
}

.destination-note {
    margin-top: 6px;

    color: #777;

    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   16. RESUMEN DE PUJA / REVISIÓN
   ========================================================= */

.bid-summary {
    margin: 17px 0;

    padding: 15px;

    border-radius: 12px;

    background: var(--green-soft);
    color: #185f27;

    font-size: 14px;
    line-height: 1.5;
}

.bid-summary strong {
    font-size: 18px;
}


/* =========================================================
   17. BOTONES SECUNDARIOS
   ========================================================= */

.modal-actions {
    display: flex;
    gap: 9px;

    margin-top: 17px;
}

.secondary-btn {
    flex: 1;

    min-height: 48px;

    border: 0;
    border-radius: 10px;

    background: #eee;
    color: #111;

    font-weight: 700;

    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: .2s;
}

.secondary-btn:hover {
    background: #e1e1e1;
    color: #111;
}

.modal-actions .primary-btn {
    flex: 1;
    min-height: 48px;
}


/* =========================================================
   BOTÓN PRINCIPAL + MENSAJE
   ========================================================= */

.promotion-cta {
    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;

    justify-content: center;

    margin: 20px 0 10px;
}

.promotion-cta .primary-btn {
    margin: 0;
}

.promotion-cta .help-line {
    width: auto;

    margin-top: 9px;

    text-align: center;

    font-size: 12px;

    color: #777;

    line-height: 1.4;
}


/* =========================================================
   BOTÓN COMPARTIR
   ========================================================= */

.top-share-button {
    width: 100%;
    margin-top: 8px;
    padding: 11px 16px;

    border: 1px solid #d9d9d9;
    border-radius: 10px;

    background: #ffffff;
    color: #333333;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.top-share-button:hover {
    background: #f5f5f5;
    border-color: #bdbdbd;

    transform: translateY(-1px);

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.top-share-button:active {
    transform: translateY(0);
    box-shadow: none;
}

.top-share-button:focus {
    outline: none;
}



/* =========================================================
   MODAL COMPARTIR TOP CÚCUTA
   ========================================================= */

.top-share-popup {
    width: min(500px, calc(100% - 30px)) !important;
    border-radius: 18px !important;
    padding: 28px 24px 24px !important;
}

.top-share-modal {
    width: 100%;
}

.top-share-subtitle {
    margin: -5px 0 22px;
    color: #777;
    font-size: 14px;
}

.top-share-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-share-option {
    width: 100%;
    min-height: 68px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 12px 15px;

    border: 1px solid #e5e5e5;
    border-radius: 13px;

    background: #fff;

    cursor: pointer;

    text-align: left;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.top-share-option:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 18px rgba(0,0,0,.10);
}

.top-share-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.top-share-icon svg {
    width: 23px;
    height: 23px;
}

.top-share-whatsapp .top-share-icon {
    background: #25D366;
    color: #fff;
}

.top-share-facebook .top-share-icon {
    background: #1877F2;
    color: #fff;
}

.top-share-copy .top-share-icon {
    background: #f1f1f1;
    color: #555;
}

.top-share-text {
    display: flex;
    flex-direction: column;
    gap: 3px;

    flex: 1;
}

.top-share-text strong {
    color: #222;
    font-size: 15px;
}

.top-share-text small {
    color: #777;
    font-size: 12px;
}

.top-share-arrow {
    color: #aaa;
    font-size: 21px;
    font-weight: 700;
}

.top-share-option:hover .top-share-arrow {
    color: #555;
}


/* =========================================================
   18. ESTADOS VACÍOS
   ========================================================= */

.empty {
    padding: 30px;

    text-align: center;

    border: 1px dashed #ccc;
    border-radius: 15px;

    color: #666;
}


/* =========================================================
   19. BUSINESS WIZARD
   ========================================================= */

.business-wizard {
    width: min(590px, 100%);
}

.wizard-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;

    color: var(--green);

    margin-bottom: 3px;
}

.wizard-progress {
    display: flex;
    align-items: center;
    gap: 7px;

    margin: 19px 0 23px;
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 6px;

    color: #999;

    font-size: 11px;

    white-space: nowrap;
}

.wizard-step span {
    width: 27px;
    height: 27px;

    border-radius: 50%;

    background: #eee;
    color: #777;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
}

.wizard-step.active {
    color: #222;
    font-weight: 800;
}

.wizard-step.active span {
    background: var(--green);
    color: #fff;
}

.wizard-step.done span {
    background: var(--green-soft);
    color: var(--green-dark);
}

.wizard-line {
    height: 1px;
    background: #ddd;
    flex: 1;
}

.wizard-page {
    display: none;
}

.wizard-page.active {
    display: block;
}

.wizard-note {
    margin-top: 14px;

    padding: 11px 12px;

    border-radius: 10px;

    background: #f6f8f6;
    color: #666;

    font-size: 12px;
    line-height: 1.45;
}

.wizard-actions {
    display: flex;
    gap: 9px;

    margin-top: 20px;
}

.wizard-actions .primary-btn {
    flex: 1;
    min-height: 48px;
}

.wizard-actions .secondary-btn {
    flex: 0 0 110px;
}


/* =========================================================
   20. PRESENCIA / REDES
   ========================================================= */

.presence-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.presence-option {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 12px;

    border: 1px solid #e1e1e1;
    border-radius: 11px;

    background: #fff;

    cursor: pointer;
}

.presence-option:hover {
    border-color: #bfcfc2;
}

.presence-option input {
    width: 18px;
    height: 18px;

    accent-color: var(--green);

    flex: 0 0 auto;
}

.presence-icon {
    font-size: 20px;

    width: 25px;

    text-align: center;
}

.presence-option strong {
    display: block;
    font-size: 14px;
}

.presence-option small {
    display: block;

    color: #777;

    font-size: 11px;

    margin-top: 2px;
}

.presence-field {
    display: none;

    padding: 0 12px 7px 51px;
}

.presence-field.active {
    display: block;
}

.presence-field .field-label {
    margin-top: 4px;
}


/* =========================================================
   21. REVISIÓN DEL WIZARD
   ========================================================= */

.review-card {
    border: 1px solid #e2e6e2;
    border-radius: 13px;

    overflow: hidden;

    margin: 12px 0 14px;
}

.review-head {
    padding: 14px;

    background: #f6f8f6;

    font-weight: 800;
}

.review-body {
    padding: 14px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.review-item {
    font-size: 12px;
    color: #666;
}

.review-item strong {
    display: block;

    color: #222;

    font-size: 13px;

    margin-top: 3px;

    word-break: break-word;
}

.review-empty {
    color: #888;
}


/* =========================================================
   22. PÁGINA DE PAGO
   ========================================================= */

.payment-page {
    background: #f7f8f7;
    min-height: 100vh;
}

.payment-header {
    background: #fff;

    border-bottom: 1px solid #e5e5e5;

    padding: 24px 20px 18px;
}

.payment-header .logo {
    justify-content: center;
}

.payment-header .logo-text {
    font-size: 34px;
}

.payment-header .logo-icon {
    width: 45px;
    height: 45px;

    font-size: 24px;
}

.payment-header .subtitle {
    text-align: center;

    font-size: 14px;

    color: #666;
}


/* =========================================================
   23. CONTENEDOR DE PAGO
   ========================================================= */

.payment-container {
    width: min(1000px, 92%);

    margin: 0 auto;

    padding: 42px 0 60px;
}


/* =========================================================
   24. HERO DE PAGO
   ========================================================= */

.payment-hero {
    text-align: center;

    margin-bottom: 30px;
}

.payment-rocket {
    font-size: 34px;

    margin-bottom: 8px;
}

.payment-hero h1 {
    font-size: 40px;

    line-height: 1.1;

    letter-spacing: -1.5px;

    margin-bottom: 10px;
}

.payment-hero p {
    color: #666;

    font-size: 17px;
}


/* =========================================================
   25. GRID DE PAGO
   ========================================================= */

.payment-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    gap: 20px;

    align-items: start;
}


/* =========================================================
   26. TARJETAS DE PAGO
   ========================================================= */

.payment-card {
    background: #fff;

    border: 1px solid #e2e2e2;

    border-radius: 18px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.payment-main-card {
    padding: 28px;
}

.payment-price-card {
    padding: 28px;
}


/* =========================================================
   27. INFORMACIÓN DEL NEGOCIO
   ========================================================= */

.payment-section-label {
    font-size: 12px;

    font-weight: 800;

    letter-spacing: .7px;

    color: var(--green);

    margin-bottom: 8px;
}

.payment-business-name {
    font-size: 27px;

    line-height: 1.15;

    margin: 0;
}

.payment-category {
    margin-top: 5px;

    color: #666;

    font-size: 14px;
}

.payment-divider {
    height: 1px;

    background: #eee;

    margin: 24px 0;
}


/* =========================================================
   28. OFERTA EN PAGO
   ========================================================= */

.payment-offer-title {
    font-size: 24px;

    line-height: 1.25;

    margin: 8px 0 10px;
}

.payment-offer-description {
    color: #555;

    font-size: 15px;

    line-height: 1.55;

    white-space: normal;
}


/* =========================================================
   29. INFORMACIÓN DESTINO / DURACIÓN
   ========================================================= */

.payment-info-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 24px;
}

.payment-info-box {
    background: #f7f8f7;

    border-radius: 12px;

    padding: 14px 15px;
}

.payment-info-label {
    display: block;

    font-size: 11px;

    font-weight: 800;

    color: #777;

    margin-bottom: 5px;

    letter-spacing: .5px;
}

.payment-info-box strong {
    font-size: 14px;
}


/* =========================================================
   30. INVERSIÓN DE PAGO
   ========================================================= */

.payment-price-card {
    position: sticky;

    top: 20px;
}

.payment-price {
    font-size: 36px;

    line-height: 1.1;

    font-weight: 800;

    color: var(--green);

    margin: 8px 0;

    letter-spacing: -1px;
}

.payment-price-note {
    font-size: 13px;

    color: #666;

    line-height: 1.45;
}


/* =========================================================
   31. MINI RESUMEN DE PAGO
   ========================================================= */

.payment-mini-info {
    border-top: 1px solid #eee;

    margin-top: 22px;

    padding-top: 17px;
}

.payment-mini-info div {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 7px 0;

    font-size: 13px;
}

.payment-mini-info span {
    color: #777;
}

.payment-mini-info strong {
    text-align: right;
}


/* =========================================================
   32. QUÉ OCURRE DESPUÉS
   ========================================================= */

.payment-how {
    background: #fff;

    border: 1px solid #e2e2e2;

    border-radius: 18px;

    padding: 25px 28px;

    margin-top: 20px;
}

.payment-how h2 {
    font-size: 20px;

    margin-bottom: 12px;
}

.payment-how p {
    color: #555;

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 8px;
}

.payment-how p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   33. ACCIONES DE PAGO
   ========================================================= */

.payment-actions {
    display: flex;

    gap: 12px;

    margin-top: 22px;
}

.payment-actions .secondary-btn,
.payment-actions .primary-btn {
    min-height: 54px;

    border-radius: 12px;
}

.payment-back-btn {
    flex: 0 0 180px;
}

.payment-continue-btn {
    flex: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--green);
    color: #fff;

    text-decoration: none;

    font-weight: 800;
    font-size: 16px;

    cursor: pointer;

    transition: .2s;
}

.payment-continue-btn:hover {
    background: var(--green-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}


/* =========================================================
   34. NOTA DE SEGURIDAD
   ========================================================= */

.payment-security-note {
    text-align: center;

    color: #777;

    font-size: 12px;

    margin-top: 16px;
}


/* =========================================================
   35. PANTALLA DE ESTADO DE PAGO
   ========================================================= */

.payment-status-card {
    max-width: 600px;

    margin: 50px auto;

    background: #fff;

    border: 1px solid #e2e2e2;

    border-radius: 18px;

    padding: 40px;

    text-align: center;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.payment-brand {
    font-size: 24px;

    font-weight: 800;

    margin-bottom: 25px;
}

.payment-brand span {
    color: var(--green);
}

.payment-status-card h1 {
    font-size: 28px;

    margin-bottom: 12px;
}

.payment-status-card p {
    color: #666;

    line-height: 1.5;

    margin-bottom: 25px;
}


/* =========================================================
   36. RESPONSIVE — TABLETS
   ========================================================= */

@media (max-width: 850px) {

    .hero h1 {
        font-size: 44px;
    }

    .business {
        grid-template-columns:
            48px
            60px
            minmax(0, 1fr);
    }

    .business-logo {
        width: 60px;
        height: 60px;
    }

    .bid {
        grid-column: 3;

        text-align: left;

        padding-top: 4px;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .payment-price-card {
        position: static;
    }
}


/* =========================================================
   37. RESPONSIVE — MÓVIL
   ========================================================= */

@media (max-width: 650px) {

    /* ---------- GENERAL ---------- */

    .container {
        width: min(94%, 520px);
    }

    header {
        padding-top: 20px;
    }

    .logo-text {
        font-size: 31px;
    }

    .logo-icon {
        width: 43px;
        height: 43px;

        font-size: 23px;
    }

    .subtitle {
        font-size: 14px;
    }


    /* ---------- INFO PÚBLICA ---------- */

    .public-info {
        margin-bottom: 22px;

        gap: 9px;
    }


    /* ---------- HERO ---------- */

    .hero {
        margin-bottom: 22px;
    }

    .hero h1 {
        font-size: 34px;

        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 17px;
    }


    /* ---------- ACCIÓN ---------- */

    .search-area {
        flex-direction: column;
    }

    .search-box {
        height: 57px;
    }

    .primary-btn {
        width: 100%;

        min-height: 54px;
    }

    .help-line {
        margin: 8px 0 20px;
    }


    /* ---------- RANKING ---------- */

    .ranking-head {
        align-items: flex-start;

        flex-direction: column;

        gap: 4px;
    }

    .business {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 16px;
    min-height: 0;
    border-radius: 16px;
}

.position {
    position: absolute;
    top: 14px;
    right: 14px;

    width: auto;
    height: auto;

    font-size: 15px;
    line-height: 1;
    text-align: right;
}

.business-logo {
    width: 52px;
    height: 52px;
    font-size: 9px;
    grid-column: 1;
    grid-row: 1;
}

.business-info {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding-right: 35px;
}

.business-name {
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 4px;
    padding-right: 5px;
}

.category {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.meta {
    font-size: 11px;
    gap: 6px;
}

.campaign {
    margin-top: 7px;
}

.active-badge {
    font-size: 10px;
    padding: 4px 7px;
}

.expiry {
    font-size: 11px;
}

.top-card-offer {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
}

.top-card-investment {
    grid-column: 1 / -1;
    grid-row: 3;

    border-top: 1px solid #eee;
    padding-top: 12px;

    min-width: 0;
}

.top-investment-label {
    font-size: 11px;
}

.top-investment-value {
    font-size: 26px;
    line-height: 1.1;
    margin-top: 3px;
}

.top-overtake {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;

    margin-top: 12px;
    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border-radius: 9px;
}

.top-overtake-icon {
    font-size: 17px;
}

.top-overtake span {
    font-size: 13px;
    font-weight: 800;
}

.top-leader-box {
    margin-top: 12px;
}

.top-contact-button {
    width: 100%;
    min-height: 42px;

    margin-top: 10px;

    box-sizing: border-box;
    font-size: 13px;
}


    /* ---------- CÓMO SUBIR ---------- */

    .how-to {
        padding: 18px;
    }

    .how-to-header {
        flex-direction: column;

        align-items: flex-start;
    }

    .steps {
        grid-template-columns: 1fr;
    }


    /* ---------- MODAL ---------- */

    .modal {
        padding: 12px;
    }

    .modal-box {
        padding: 21px;

        border-radius: 17px;

        max-height: 94vh;
    }

    .modal-box h2 {
        font-size: 21px;
    }


    /* ---------- WIZARD ---------- */

    .business-wizard {
        padding: 20px;
    }

    .wizard-step small {
        display: none;
    }

    .wizard-step span {
        width: 29px;
        height: 29px;
    }

    .wizard-actions .secondary-btn {
        flex: 0 0 95px;
    }

    .review-body {
        grid-template-columns: 1fr;
    }


    /* ---------- PAGO ---------- */

    .payment-header {
        padding: 18px 15px 14px;
    }

    .payment-header .logo-text {
        font-size: 28px;
    }

    .payment-header .logo-icon {
        width: 40px;
        height: 40px;

        font-size: 21px;
    }

    .payment-header .subtitle {
        font-size: 13px;
    }

    .payment-container {
        width: 94%;

        padding: 28px 0 40px;
    }

    .payment-hero {
        margin-bottom: 22px;
    }

    .payment-rocket {
        font-size: 28px;
    }

    .payment-hero h1 {
        font-size: 31px;

        letter-spacing: -1px;
    }

    .payment-hero p {
        font-size: 15px;

        line-height: 1.45;
    }

    .payment-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .payment-main-card,
    .payment-price-card {
        padding: 21px;
    }

    .payment-price-card {
        position: static;
    }

    .payment-business-name {
        font-size: 23px;
    }

    .payment-offer-title {
        font-size: 21px;
    }

    .payment-info-row {
        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }

    .payment-info-box {
        padding: 12px;
    }

    .payment-price {
        font-size: 31px;
    }

    .payment-how {
        padding: 21px;

        margin-top: 14px;
    }

    .payment-how h2 {
        font-size: 19px;
    }

    .payment-actions {
        flex-direction: column-reverse;

        gap: 9px;

        margin-top: 16px;
    }

    .payment-actions .secondary-btn,
    .payment-actions .primary-btn {
        width: 100%;

        min-height: 54px;
    }

    .payment-back-btn {
        flex: none;
    }

    .payment-continue-btn {
        flex: none;
    }

    .payment-security-note {
        padding: 0 10px;

        line-height: 1.4;
    }

    .payment-status-card {
        margin: 25px auto;

        padding: 28px 20px;
    }
}


/* =========================================================
   38. RESPONSIVE — TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (max-width: 390px) {

    .logo-text {
        font-size: 27px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .business {
        grid-template-columns:
            38px
            50px
            minmax(0, 1fr);
    }

    .business-logo {
        width: 50px;
        height: 50px;
    }

    .business-name {
        font-size: 16px;
    }

    .payment-hero h1 {
        font-size: 28px;
    }

    .payment-main-card,
    .payment-price-card,
    .payment-how {
        padding: 18px;
    }

    .payment-offer-title {
        font-size: 19px;
    }

    .payment-price {
        font-size: 28px;
    }
}


/* =========================================================
   PAGINACIÓN DEL RANKING
   ========================================================= */

    #rankingPagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin: 28px 0 10px;
        flex-wrap: wrap;
    }
    
    #rankingPagination button {
        min-width: 42px;
        height: 42px;
        padding: 0 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
        color: #222;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    #rankingPagination button:hover {
        border-color: #e00000;
        color: #e00000;
        transform: translateY(-1px);
    }
    
    #rankingPagination button.active {
        background: #e00000;
        border-color: #e00000;
        color: #fff;
    }
    
    #rankingPagination button:disabled {
        opacity: 0.45;
        cursor: not-allowed;
        transform: none;
    }
    
    #rankingPagination button:disabled:hover {
        border-color: #ddd;
        color: #222;
    }
    
    @media (max-width: 600px) {
        #rankingPagination {
            gap: 6px;
            margin-top: 22px;
        }
    
        #rankingPagination button {
            min-width: 38px;
            height: 38px;
            padding: 0 9px;
            font-size: 13px;
        }
    }


/* =========================================================
   RESULTADO DE PAGO
   ========================================================= */

.payment-result-card {
    max-width: 680px;
    margin: 40px auto;
    padding: 45px 35px;
    background: #fff;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.payment-result-icon {
    font-size: 58px;
    margin-bottom: 15px;
}

.payment-result-card h1 {
    margin: 0 0 15px;
    font-size: 30px;
}

.payment-result-message {
    max-width: 540px;
    margin: 0 auto 25px;
    color: #666;
    line-height: 1.6;
}

.payment-result-business {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px;
    margin: 25px 0;
    background: #f7f7f7;
    border-radius: 12px;
}

.payment-result-business strong {
    font-size: 20px;
}

.payment-result-business span {
    color: #666;
}

.payment-result-amount {
    font-size: 28px;
    font-weight: 800;
    margin: 20px 0;
}

.payment-result-actions {
    margin-top: 28px;
}

.payment-result-reference {
    margin-top: 25px;
    font-size: 12px;
    color: #999;
    word-break: break-all;
}

.payment-result-reference strong {
    display: block;
    margin-top: 5px;
    font-weight: 500;
}


/* MÓVIL */

@media (max-width: 600px) {

    .payment-result-card {
        margin: 20px 12px;
        padding: 35px 20px;
        border-radius: 15px;
    }

    .payment-result-icon {
        font-size: 48px;
    }

    .payment-result-card h1 {
        font-size: 25px;
    }

    .payment-result-message {
        font-size: 15px;
    }

    .payment-result-amount {
        font-size: 24px;
    }

}


/* =========================================================
   BOTÓN SUBIR DE NIVEL
   ========================================================= */

.top-overtake {
    width: 100%;
    box-sizing: border-box;

    min-height: 48px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 14px;

    border: 1.5px solid var(--green);
    border-radius: 10px;

    background: var(--green-soft);

    color: var(--green);

    cursor: pointer;

    transition:
        transform .15s ease,
        background .15s ease,
        border-color .15s ease,
        box-shadow .15s ease;
}

.top-overtake:hover {
    background: #ffe5e7;
    border-color: var(--green-dark);

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(0, 0, 0, .10);
}

.top-overtake:active {
    transform: translateY(0);
    box-shadow: none;
}

.top-overtake-icon {
    flex-shrink: 0;

    font-size: 21px;
    font-weight: 900;

    color: var(--green);
}

.top-overtake span {
    display: block;

    font-size: 15px;
    line-height: 1.2;

    font-weight: 800;

    color: var(--green);
}