/* ================================================================
   WORKSTORE — custom-about.css  v1.0
   Parte 6: NOSOTROS (intro, Propósito/Misión/Visión, Valores)
   + helpers globales .ws-btn y .ws-text-gradient
   ================================================================ */

/* ─── HELPERS GLOBALES ───────────────────────────────────────── */
.ws-text-gradient {
    background: linear-gradient(135deg, #241140, #381f5d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ws-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.ws-btn i { transition: transform 0.3s ease; }

.ws-btn--primary {
    color: #fff !important;
    background: linear-gradient(135deg, #241140, #381f5d, #522b82);
    box-shadow: 0 8px 26px rgba(56,31,93,0.32);
}
.ws-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(56,31,93,0.45);
    color: #fff !important;
}
.ws-btn--primary:hover i { transform: translateX(5px); }

.ws-btn--outline {
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1;
    background: #fff;
}
.ws-btn--outline:hover {
    border-color: #381f5d;
    color: #381f5d !important;
    transform: translateY(-2px);
}

/* ================================================================
   NOSOTROS (FONDO CORPORATIVO OSCURO)
   ================================================================ */
.ws-about {
    position: relative;
    padding: 120px 0;
    background-color: #0d061a !important;
    background: radial-gradient(circle at 10% 20%, rgba(56, 31, 93, 0.5) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(36, 17, 64, 0.65) 0%, transparent 55%),
                radial-gradient(circle at 50% 50%, rgba(239, 184, 12, 0.05) 0%, transparent 60%),
                #0d061a !important;
    overflow: hidden;
    isolation: isolate;
}

.ws-about__bg-dots {
    position: absolute;
    top: 60px;
    right: -40px;
    width: 340px;
    height: 340px;
    background-image: radial-gradient(rgba(239, 184, 12, 0.2) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
    mask-image: radial-gradient(circle, #000 30%, transparent 70%);
    z-index: -1;
}

.ws-about__intro { margin-bottom: 100px; }

/* ─── ENCABEZADOS DE SECCIÓN ─────────────────────────────────── */
.ws-about .ws-section-header__label {
    color: #efb80c !important;
    background: rgba(239, 184, 12, 0.12) !important;
    border: 1.5px solid rgba(239, 184, 12, 0.45) !important;
}

.ws-about .ws-section-header__title {
    color: #ffffff !important;
}

.ws-about .ws-text-gradient {
    background: linear-gradient(135deg, #ffffff 20%, #efb80c 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ─── VISUAL ─────────────────────────────────────────────────── */
.ws-about__visual {
    position: relative;
    padding: 0 28px 28px 0;
    max-width: 560px;
}

.ws-about__image-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
    border: 1.5px solid rgba(239, 184, 12, 0.3);
    aspect-ratio: 5 / 5.2;
    background: #1a0b2e;
}

.ws-about__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.ws-about__visual:hover .ws-about__image { transform: scale(1.04); }

.ws-about__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(239, 184, 12, 0.45);
    background: linear-gradient(135deg, #241140, #381f5d);
}

.ws-about__accent {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 62%;
    height: 62%;
    border-radius: 28px;
    background: linear-gradient(135deg, #241140, #381f5d);
    border: 1px solid rgba(239, 184, 12, 0.25);
    z-index: -1;
}

/* Badge flotante de analítica / reportería */
.ws-about__metric-badge {
    position: absolute !important;
    right: -24px !important;
    top: -20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    padding: 13px 20px !important;
    background: rgba(36, 17, 64, 0.94) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
    border-radius: 18px !important;
    border: 1.5px solid rgba(239, 184, 12, 0.35) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5) !important;
    z-index: 3 !important;
    animation: ws-float-alt 6.5s ease-in-out infinite !important;
}

.ws-about__metric-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #efb80c 0%, #d49a05 100%) !important;
    color: #241140 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 14px rgba(239, 184, 12, 0.35) !important;
}

.ws-about__metric-badge strong {
    display: block !important;
    font-size: 15.5px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
}

.ws-about__metric-badge small {
    display: block !important;
    font-size: 12px !important;
    color: #cbd5e1 !important;
    margin-top: 2px !important;
    font-weight: 500 !important;
}

.ws-about__secondary-frame {
    position: absolute;
    right: -24px;
    top: -24px;
    width: 220px;
    border-radius: 20px;
    overflow: hidden;
    background: #241140;
    padding: 6px;
    border: 1px solid rgba(239, 184, 12, 0.3);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
    z-index: 2;
    animation: ws-float-alt 7s ease-in-out infinite;
}
.ws-about__secondary-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}
.ws-about__secondary-badge {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 7px 10px 4px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: #241140 !important;
}
.ws-about__secondary-badge span {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.ws-about__secondary-badge i { color: #efb80c !important; }

.ws-about__exp-badge {
    position: absolute !important;
    right: -10px !important;
    bottom: 40px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 13px 18px !important;
    background: rgba(26, 11, 46, 0.95) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
    border-radius: 18px !important;
    border: 1.5px solid rgba(239, 184, 12, 0.35) !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.5) !important;
    z-index: 3 !important;
    animation: ws-float 5.5s ease-in-out infinite reverse !important;
}
.ws-about__exp-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #efb80c, #d49a05) !important;
    color: #241140 !important;
    font-size: 18px !important;
}
.ws-about__exp-badge strong { display: block !important; font-size: 16px !important; color: #fff !important; font-weight: 800 !important; line-height: 1.1 !important; }
.ws-about__exp-badge small  { display: block !important; font-size: 11.5px !important; color: #cbd5e1 !important; margin-top: 2px !important; }

.ws-about__badge-card {
    position: absolute !important;
    left: -24px !important;
    bottom: 56px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px 22px !important;
    background: rgba(36, 17, 64, 0.94) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
    border-radius: 18px !important;
    border: 1.5px solid rgba(239, 184, 12, 0.35) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5) !important;
    animation: ws-float 6s ease-in-out infinite !important;
    z-index: 2 !important;
}
.ws-about__badge-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #efb80c, #d49a05) !important;
    color: #241140 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}
.ws-about__badge-card strong { display: block !important; font-size: 16px !important; color: #ffffff !important; font-weight: 800 !important; line-height: 1.2 !important; }
.ws-about__badge-card small  { display: block !important; font-size: 12.5px !important; color: #cbd5e1 !important; margin-top: 2px !important; }

@keyframes ws-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes ws-float-alt {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

@media (max-width: 991px) {
    .ws-about__visual { margin: 0 auto; }
    .ws-about__badge-card { left: 12px; bottom: 44px; }
    .ws-about__metric-badge { right: 12px; top: -14px; }
}
@media (max-width: 575px) {
    .ws-about__secondary-frame { display: none; }
    .ws-about__metric-badge { right: 8px; top: -14px; padding: 10px 14px; }
    .ws-about__metric-icon { width: 38px; height: 38px; font-size: 15px; }
    .ws-about__metric-badge strong { font-size: 13.5px; }
    .ws-about__metric-badge small { font-size: 11px; }
    .ws-about__exp-badge { right: 8px; bottom: -18px; }
}

/* ─── METRICAS / STATS STRIP ─────────────────────────────────── */
.ws-about__stats {
    margin: 40px 0 90px !important;
    padding: 28px 36px !important;
    border-radius: 24px !important;
    background: linear-gradient(145deg, rgba(36, 17, 64, 0.95) 0%, rgba(56, 31, 93, 0.85) 100%) !important;
    border: 1.5px solid rgba(239, 184, 12, 0.3) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    backdrop-filter: blur(14px) !important;
}
.ws-about__stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ws-about__stat-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(239, 184, 12, 0.15) !important;
    color: #efb80c !important;
    border: 1px solid rgba(239, 184, 12, 0.3) !important;
    font-size: 22px !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}
.ws-about__stat-item:hover .ws-about__stat-icon {
    transform: scale(1.08) rotate(-4deg) !important;
    background: #efb80c !important;
    color: #241140 !important;
}
.ws-about__stat-num {
    display: block !important;
    font-size: 27px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em !important;
}
.ws-about__stat-label {
    display: block !important;
    font-size: 13px !important;
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    margin-top: 3px !important;
}
@media (max-width: 991px) {
    .ws-about__stats { padding: 24px 20px !important; margin: 30px 0 60px !important; }
    .ws-about__stat-num { font-size: 23px !important; }
}

/* ─── TEXTO ──────────────────────────────────────────────────── */
.ws-about__lead {
    font-size: 17px !important;
    line-height: 1.8 !important;
    color: #e2e8f0 !important;
    margin: 22px 0 14px !important;
}
.ws-about__lead strong { color: #ffffff !important; font-weight: 800 !important; }

.ws-about__text {
    font-size: 15.5px !important;
    line-height: 1.8 !important;
    color: #cbd5e1 !important;
    margin-bottom: 28px !important;
}

.ws-about__pillars {
    list-style: none;
    padding: 0;
    margin: 0 0 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}
.ws-about__pillars li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: #ffffff !important;
}
.ws-about__pillars li span {
    width: 38px; height: 38px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    background: rgba(239, 184, 12, 0.15) !important;
    color: #efb80c !important;
    border: 1px solid rgba(239, 184, 12, 0.3) !important;
    font-size: 15px;
    transition: all 0.3s ease;
}
.ws-about__pillars li:hover span {
    background: #efb80c !important;
    color: #241140 !important;
    transform: rotate(-6deg);
    box-shadow: 0 4px 14px rgba(239, 184, 12, 0.4) !important;
}

@media (max-width: 575px) { .ws-about__pillars { grid-template-columns: 1fr; } }

.ws-about__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ws-about .ws-btn--primary {
    color: #241140 !important;
    background: linear-gradient(135deg, #efb80c, #f59e0b) !important;
    box-shadow: 0 8px 24px rgba(239, 184, 12, 0.35) !important;
    font-weight: 800 !important;
}
.ws-about .ws-btn--primary:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #1a0b2e !important;
    box-shadow: 0 12px 30px rgba(239, 184, 12, 0.5) !important;
}
.ws-about .ws-btn--outline {
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
}
.ws-about .ws-btn--outline:hover {
    border-color: #efb80c !important;
    color: #efb80c !important;
    background: rgba(239, 184, 12, 0.1) !important;
}
@media (max-width: 575px) { .ws-about__ctas .ws-btn { width: 100%; justify-content: center; } }

/* ─── PROPÓSITO / MISIÓN / VISIÓN ────────────────────────────── */
.ws-mvv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 110px;
}
@media (max-width: 991px) { .ws-mvv { grid-template-columns: 1fr; } }

.ws-mvv__card {
    position: relative !important;
    padding: 38px 34px !important;
    border-radius: 24px !important;
    background: linear-gradient(145deg, rgba(36, 17, 64, 0.95) 0%, rgba(56, 31, 93, 0.85) 100%) !important;
    border: 1.5px solid rgba(239, 184, 12, 0.28) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
    overflow: hidden !important;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease, border-color 0.4s ease !important;
    -webkit-backdrop-filter: blur(14px) !important;
    backdrop-filter: blur(14px) !important;
}
.ws-mvv__card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #efb80c, #ffffff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.ws-mvv__card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 24px 50px rgba(239, 184, 12, 0.2) !important;
    border-color: rgba(239, 184, 12, 0.6) !important;
}
.ws-mvv__card:hover::before { transform: scaleX(1); }

.ws-mvv__num {
    position: absolute !important;
    top: 18px !important;
    right: 26px !important;
    font-size: 64px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: rgba(255, 255, 255, 0.08) !important;
    letter-spacing: -0.04em !important;
    transition: color 0.4s ease !important;
}
.ws-mvv__card:hover .ws-mvv__num { color: rgba(239, 184, 12, 0.2) !important; }

.ws-mvv__icon {
    width: 58px !important;
    height: 58px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(239, 184, 12, 0.15) !important;
    color: #efb80c !important;
    border: 1.5px solid rgba(239, 184, 12, 0.4) !important;
    font-size: 22px !important;
    margin-bottom: 22px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3) !important;
}

.ws-mvv__tag {
    display: inline-block !important;
    padding: 4px 12px !important;
    border-radius: 50px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    background: rgba(239, 184, 12, 0.15) !important;
    color: #efb80c !important;
    border: 1px solid rgba(239, 184, 12, 0.35) !important;
    margin-bottom: 12px !important;
}

.ws-mvv__title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
}

.ws-mvv__text {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
}

.ws-mvv__points {
    list-style: none !important;
    padding: 16px 0 0 !important;
    margin: 16px 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.ws-mvv__points li {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.ws-mvv__points i { color: #efb80c !important; font-size: 12px !important; }

/* ─── VALORES ────────────────────────────────────────────────── */
.ws-values__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
@media (max-width: 1199px) { .ws-values__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .ws-values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .ws-values__grid { grid-template-columns: 1fr; } }

.ws-value {
    position: relative !important;
    text-align: center !important;
    padding: 34px 22px 28px !important;
    border-radius: 22px !important;
    background: linear-gradient(145deg, rgba(36, 17, 64, 0.95) 0%, rgba(56, 31, 93, 0.85) 100%) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    border: 1.5px solid rgba(239, 184, 12, 0.28) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1) !important;
}
.ws-value__num {
    position: absolute !important;
    top: 14px !important;
    right: 18px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: rgba(239, 184, 12, 0.6) !important;
    letter-spacing: 0.05em !important;
    transition: color 0.35s ease !important;
}
.ws-value:hover .ws-value__num { color: #efb80c !important; }
.ws-value:hover {
    background: linear-gradient(145deg, #241140 0%, #381f5d 100%) !important;
    border-color: #efb80c !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 22px 44px rgba(239, 184, 12, 0.25) !important;
}

.ws-value__icon {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(239, 184, 12, 0.15) !important;
    color: #efb80c !important;
    border: 1.5px solid rgba(239, 184, 12, 0.35) !important;
    font-size: 22px !important;
    transition: all 0.35s ease !important;
}
.ws-value:hover .ws-value__icon {
    background: #efb80c !important;
    color: #241140 !important;
    transform: scale(1.08) !important;
}

.ws-value__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    transition: color 0.35s ease !important;
}
.ws-value__text {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
    transition: color 0.35s ease !important;
}
.ws-value:hover .ws-value__title { color: #ffffff !important; }
.ws-value:hover .ws-value__text  { color: #e2e8f0 !important; }

@media (max-width: 767px) {
    .ws-about { padding: 80px 0; }
    .ws-about__intro { margin-bottom: 70px; }
    .ws-mvv { margin-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
    .ws-about * { animation: none !important; transition: none !important; }
}
