/* ==========================================================================
   SOLFIBRAS DE MÉXICO — CATÁLOGO & SHOWROOM DIGITAL
   Diseño de vanguardia: Showcase interactivo, fichas de ingeniería y micro-interacciones
   ========================================================================== */

:root {
    --cat-bg: #09090b;
    --cat-surface: #121216;
    --cat-surface-card: #181820;
    --cat-surface-hover: #20202b;
    --cat-border: #262633;
    --cat-border-focus: #FF6600;
    --cat-orange: #FF6600;
    --cat-orange-glow: rgba(255, 102, 0, 0.28);
    --cat-orange-dark: #cc5200;
    --cat-text: #f4f4f6;
    --cat-text-muted: #9e9ea8;
    --cat-text-dimmed: #636370;
    --cat-whatsapp: #25d366;
}

/* Base del Catálogo */
.cat-root {
    background-color: var(--cat-bg);
    color: var(--cat-text);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* HERO SHOWROOM BANNER */
.cat-hero {
    position: relative;
    padding: 70px 24px 45px;
    background: radial-gradient(circle at 50% -20%, rgba(255, 102, 0, 0.18) 0%, transparent 65%),
                linear-gradient(180deg, #0f0f13 0%, var(--cat-bg) 100%);
    border-bottom: 1px solid var(--cat-border);
    text-align: center;
    overflow: hidden;
}

.cat-hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 250px;
    background: radial-gradient(ellipse at top, rgba(255, 102, 0, 0.15), transparent 70%);
    pointer-events: none;
}

.cat-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid rgba(255, 102, 0, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--cat-orange);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.cat-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin: 0 auto 16px;
    max-width: 900px;
    color: #ffffff;
}

.cat-hero-title span {
    background: linear-gradient(135deg, #FF6600 0%, #ff9e42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cat-hero-sub {
    font-size: 15.5px;
    color: var(--cat-text-muted);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 32px;
}

/* STATS Y PILARES DE FABRICACIÓN */
.cat-pillars {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.cat-pillar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cat-surface);
    border: 1px solid var(--cat-border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    color: var(--cat-text);
    font-weight: 500;
}

.cat-pillar-item i {
    color: var(--cat-orange);
    font-size: 16px;
}

/* BARRA DE HERRAMIENTAS Y FILTROS */
.cat-controls-container {
    max-width: 1300px;
    margin: -25px auto 40px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.cat-controls-bar {
    background: rgba(20, 20, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--cat-border);
    border-radius: 18px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Buscador interactivo */
.cat-search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.cat-search-box i.cat-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cat-text-dimmed);
    font-size: 18px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.cat-search-input {
    width: 100%;
    height: 46px;
    background: var(--cat-surface-card);
    border: 1px solid var(--cat-border);
    border-radius: 12px;
    padding: 0 40px 0 42px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.cat-search-input:focus {
    outline: none;
    border-color: var(--cat-border-focus);
    box-shadow: 0 0 14px var(--cat-orange-glow);
    background: #1e1e28;
}

.cat-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--cat-text-dimmed);
    cursor: pointer;
    font-size: 16px;
    display: none;
    padding: 4px;
}

.cat-search-clear:hover {
    color: #fff;
}

/* Selectores de visualización y van */
.cat-actions-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cat-select-van {
    height: 46px;
    background: var(--cat-surface-card);
    border: 1px solid var(--cat-border);
    border-radius: 12px;
    padding: 0 14px;
    color: var(--cat-text);
    font-family: inherit;
    font-size: 13.5px;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.cat-select-van:focus {
    outline: none;
    border-color: var(--cat-orange);
}

/* Botones conmutadores de vista */
.cat-view-switch {
    display: inline-flex;
    background: var(--cat-surface-card);
    border: 1px solid var(--cat-border);
    border-radius: 12px;
    padding: 3px;
}

.cat-view-btn {
    background: none;
    border: none;
    color: var(--cat-text-muted);
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.cat-view-btn.active {
    background: var(--cat-orange);
    color: #ffffff;
    box-shadow: 0 2px 8px var(--cat-orange-glow);
}

.cat-view-btn:not(.active):hover {
    color: #ffffff;
}

/* CONTENEDOR PRINCIPAL DEL CATÁLOGO */
.cat-main-content {
    max-width: 1300px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

.cat-results-counter {
    font-size: 13px;
    color: var(--cat-text-dimmed);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-results-counter b {
    color: var(--cat-orange);
}

/* ==========================================================================
   MODO 1: VISTA EXHIBICIÓN (GRID DE TARJETAS 3D / SHOWCASE)
   ========================================================================== */
.cat-grid-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.cat-card {
    background: var(--cat-surface-card);
    border: 1px solid var(--cat-border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.cat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 102, 0, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 102, 0, 0.12);
}

/* Escenario de imagen */
.cat-card-media {
    position: relative;
    width: 100%;
    height: 250px;
    background: #0d0d10;
    overflow: hidden;
    cursor: pointer;
}

.cat-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cat-card:hover .cat-card-img {
    transform: scale(1.06);
}

.cat-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.cat-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(14, 14, 18, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--cat-orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 20px;
}

.cat-card-zoom-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: rgba(14, 14, 18, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.25s ease;
    cursor: pointer;
}

.cat-card:hover .cat-card-zoom-btn {
    opacity: 1;
    transform: scale(1);
}

.cat-card-zoom-btn:hover {
    background: var(--cat-orange);
    border-color: var(--cat-orange);
}

/* Cuerpo de la tarjeta */
.cat-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cat-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.35;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.cat-card:hover .cat-card-title {
    color: var(--cat-orange);
}

.cat-card-desc {
    font-size: 13.5px;
    color: var(--cat-text-muted);
    line-height: 1.6;
    margin: 0 0 18px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* Especificaciones rápidas de pieza */
.cat-card-specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-spec-chip {
    font-size: 11.5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 4px 8px;
    color: var(--cat-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cat-spec-chip i {
    color: var(--cat-orange);
}

/* Precio y botones de acción */
.cat-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.cat-card-price-box {
    display: flex;
    flex-direction: column;
}

.cat-card-price-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--cat-text-dimmed);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.cat-card-price-val {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.cat-card-price-val.custom {
    font-size: 13.5px;
    color: var(--cat-orange);
    font-weight: 700;
}

.cat-card-actions {
    display: flex;
    gap: 8px;
}

/* Botón ficha técnica */
.cat-btn-info {
    width: 38px;
    height: 38px;
    background: var(--cat-surface);
    border: 1px solid var(--cat-border);
    border-radius: 10px;
    color: var(--cat-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cat-btn-info:hover {
    background: #ffffff;
    color: #000;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Botón cotizar WhatsApp */
.cat-btn-wa {
    height: 38px;
    background: var(--cat-orange);
    border: 1px solid var(--cat-orange);
    border-radius: 10px;
    color: #ffffff;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px var(--cat-orange-glow);
}

.cat-btn-wa:hover {
    background: #ff771a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 102, 0, 0.45);
}

/* ==========================================================================
   MODO 2: VISTA FICHA TÉCNICA / EDITORIAL
   ========================================================================== */
.cat-grid-editorial {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cat-editorial-card {
    background: var(--cat-surface-card);
    border: 1px solid var(--cat-border);
    border-radius: 18px;
    display: grid;
    grid-template-columns: 320px 1fr 240px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cat-editorial-card:hover {
    border-color: rgba(255, 102, 0, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.cat-editorial-media {
    position: relative;
    height: 100%;
    min-height: 200px;
    background: #0d0d10;
}

.cat-editorial-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-editorial-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cat-editorial-actions {
    background: rgba(0, 0, 0, 0.2);
    border-left: 1px solid var(--cat-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
}

/* ==========================================================================
   MODAL DE PRESENTACIÓN SPOTLIGHT (FICHA TÉCNICA INMERSIVA)
   ========================================================================== */
.cat-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cat-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.cat-modal-window {
    background: var(--cat-surface-card);
    border: 1px solid var(--cat-border);
    border-radius: 22px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 102, 0, 0.15);
    display: grid;
    grid-template-columns: 1fr 1.15fr;
}

.cat-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.cat-modal-close:hover {
    background: var(--cat-orange);
    border-color: var(--cat-orange);
}

.cat-modal-media-side {
    position: relative;
    background: #0a0a0c;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cat-modal-media-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-modal-content-side {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
}

.cat-modal-badge {
    display: inline-block;
    color: var(--cat-orange);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.cat-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px 0;
    line-height: 1.25;
}

.cat-modal-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--cat-text-muted);
    margin-bottom: 24px;
}

.cat-modal-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.25);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--cat-border);
}

.cat-modal-spec-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cat-modal-spec-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--cat-text-dimmed);
    text-transform: uppercase;
}

.cat-modal-spec-val {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.cat-modal-footer-cta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--cat-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 900px) {
    .cat-modal-window {
        grid-template-columns: 1fr;
        max-height: 85vh;
    }

    .cat-modal-media-side {
        height: 260px;
    }

    .cat-editorial-card {
        grid-template-columns: 1fr;
    }

    .cat-editorial-media {
        height: 220px;
    }

    .cat-editorial-actions {
        border-left: none;
        border-top: 1px solid var(--cat-border);
    }
}

@media screen and (max-width: 650px) {
    .cat-grid-showcase {
        grid-template-columns: 1fr;
    }

    .cat-controls-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .cat-search-box {
        min-width: 100%;
    }

    .cat-actions-bar {
        justify-content: space-between;
    }
}


/* ==========================================================================
   MODAL COTIZADOR DE CLIENTE EN LÍNEA
   Sistema de cotización directa conectada al ERP y alertas CallMeBot
   ========================================================================== */
.cot-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cot-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.cot-modal-window {
    background: #141419;
    border: 1px solid #282834;
    border-radius: 20px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 102, 0, 0.18);
    padding: 30px;
    box-sizing: border-box;
}

.cot-modal-header {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cot-modal-badge-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 102, 0, 0.12);
    border: 1px solid rgba(255, 102, 0, 0.3);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--cat-orange);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cot-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.cot-modal-subtitle {
    font-size: 13.5px;
    color: var(--cat-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Ficha de producto seleccionado */
.cot-modal-prod-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 22px;
}

.cot-modal-prod-thumb {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 10px;
    object-fit: cover;
    background: #09090c;
    border: 1px solid #33333f;
}

.cot-modal-prod-info {
    flex: 1;
}

.cot-modal-prod-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
}

.cot-modal-prod-price {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cat-orange);
}

/* Selector de cantidad */
.cot-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #0d0d12;
    border: 1px solid #2a2a38;
    border-radius: 8px;
    padding: 2px 4px;
}

.cot-qty-btn {
    background: none;
    border: none;
    color: #fff;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.cot-qty-btn:hover {
    background: rgba(255, 102, 0, 0.2);
    color: var(--cat-orange);
}

.cot-qty-val {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    min-width: 20px;
    text-align: center;
}

/* Formulario */
.cot-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.cot-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cot-form-field.full {
    grid-column: 1 / -1;
}

.cot-form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--cat-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cot-form-label span.req {
    color: var(--cat-orange);
}

.cot-form-input,
.cot-form-select,
.cot-form-textarea {
    width: 100%;
    background: #0b0b0f;
    border: 1px solid #2b2b38;
    border-radius: 10px;
    padding: 10px 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 13.5px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cot-form-input:focus,
.cot-form-select:focus,
.cot-form-textarea:focus {
    outline: none;
    border-color: var(--cat-orange);
    box-shadow: 0 0 10px var(--cat-orange-glow);
}

.cot-form-textarea {
    resize: vertical;
    min-height: 60px;
}

/* Mensajes de error */
.cot-error-banner {
    display: none;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 16px;
}

/* Botón enviar cotización */
.cot-btn-submit {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #FF6600 0%, #ff8533 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 6px 20px var(--cat-orange-glow);
    transition: all 0.25s ease;
}

.cot-btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.45);
}

.cot-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Estado de éxito */
.cot-success-view {
    display: none;
    text-align: center;
    padding: 20px 10px;
}

.cot-success-icon {
    width: 68px;
    height: 68px;
    background: rgba(37, 211, 102, 0.12);
    border: 2px solid #25d366;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #25d366;
    font-size: 34px;
    margin-bottom: 18px;
    animation: sf-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes sf-pop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.cot-success-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.cot-success-folio-box {
    display: inline-block;
    background: rgba(255, 102, 0, 0.15);
    border: 1px dashed var(--cat-orange);
    padding: 8px 18px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.cot-success-folio-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--cat-text-dimmed);
    text-transform: uppercase;
}

.cot-success-folio-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--cat-orange);
    letter-spacing: 1px;
}

.cot-success-desc {
    font-size: 14px;
    color: var(--cat-text-muted);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 24px;
}

.cot-success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
